[计算机类试卷]计算机三级数据库技术(上机操作)机试模拟试卷78及答案与解析.doc

上传人:赵齐羽 文档编号:505613 上传时间:2018-11-29 格式:DOC 页数:3 大小:25KB
下载 相关 举报
[计算机类试卷]计算机三级数据库技术(上机操作)机试模拟试卷78及答案与解析.doc_第1页
第1页 / 共3页
[计算机类试卷]计算机三级数据库技术(上机操作)机试模拟试卷78及答案与解析.doc_第2页
第2页 / 共3页
[计算机类试卷]计算机三级数据库技术(上机操作)机试模拟试卷78及答案与解析.doc_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

计算机三级数据库技术(上机操作)机试模拟试卷 78及答案与解析 一、程序设计题 1 函数 readDat()实现从文件 in dat中读取 20行数据并存放到字符串数组 xx中 (每行字符串长度均小于 80)。请编写函数 jsSort()。其函数的功能是:以行为单位对字符申变量的下标为奇数的位置上的字符按其 ASCII码值从小到大的顺序进行排序,下标为偶数的位置上的字符仍按原来位置存放,排序后的结果仍按行重新存人字符串数组 xx中,最后调用函数 writeDat()把结果 XX输出到 out dat文件中。 例如:位置 0 1 2 3 4 5 6 7 原字符串 h g f e d C b a 处理后字符串 h a f e d e b g 【试题程序】 #include #include char xx2080; void readDat(); void writeDat(); void jsSort() void main() readDat(); jsSort(); writeDat(); void readDat() FILE*in; int i=0; char*P; in=fopen(“in dat”, “r”); while(ixxik) temp=xxEiJEj; xxij=xxik; xxik=temp;

展开阅读全文
相关资源
猜你喜欢
  • AIIM MS38-1995 Standard Recommended Practice for the Microrecording of Engineering Graphics - Computer-Output Microfilm《工程制图的缩微记录的推荐实施规程.计算机输出缩微胶片》.pdf AIIM MS38-1995 Standard Recommended Practice for the Microrecording of Engineering Graphics - Computer-Output Microfilm《工程制图的缩微记录的推荐实施规程.计算机输出缩微胶片》.pdf
  • AIIM MS39-1987 Recommended Practice for Operational Procedures Quality Control and Inspection of Graphic Computer-Output Microforms《质量控制和检验计算机输出缩微的推荐实施规程》.pdf AIIM MS39-1987 Recommended Practice for Operational Procedures Quality Control and Inspection of Graphic Computer-Output Microforms《质量控制和检验计算机输出缩微的推荐实施规程》.pdf
  • AIIM MS4-1987 Flowchart Symbols and Their Use in Micrographics《在缩微制图中流程图符号及其使用》.pdf AIIM MS4-1987 Flowchart Symbols and Their Use in Micrographics《在缩微制图中流程图符号及其使用》.pdf
  • AIIM MS40-1987 Microfilm Computer Assisted Retrieval (CAR) Interface Commands《缩微胶片计算机辅助检索(CAR)接口命令》.pdf AIIM MS40-1987 Microfilm Computer Assisted Retrieval (CAR) Interface Commands《缩微胶片计算机辅助检索(CAR)接口命令》.pdf
  • AIIM MS41-1996 Dimensions of Unitized Microfilm Carriers and Apertures (Aperture Camera Copy and Image Cards)《整个缩微胶片载体和光圈(光圈 相机 影印及图像卡)尺寸》.pdf AIIM MS41-1996 Dimensions of Unitized Microfilm Carriers and Apertures (Aperture Camera Copy and Image Cards)《整个缩微胶片载体和光圈(光圈 相机 影印及图像卡)尺寸》.pdf
  • AIIM MS42-1989 Recommended Practice for the Expungement Deletion Correction or Amendment of Records on Microforms《缩微版本上记录的抹去 删除 改正或增加》.pdf AIIM MS42-1989 Recommended Practice for the Expungement Deletion Correction or Amendment of Records on Microforms《缩微版本上记录的抹去 删除 改正或增加》.pdf
  • AIIM MS43-1998 Recommended Practice - Operational Procedures - Inspection and Quality Control of Duplicate Microforms of Documents and from COM《由文件或由COM复制的质量控制和检验的推荐实施规程》.pdf AIIM MS43-1998 Recommended Practice - Operational Procedures - Inspection and Quality Control of Duplicate Microforms of Documents and from COM《由文件或由COM复制的质量控制和检验的推荐实施规程》.pdf
  • AIIM MS44-1988 Recommended Practice for Quality Control of Image Scanners《图像扫描器的质量控制的推荐实施规程》.pdf AIIM MS44-1988 Recommended Practice for Quality Control of Image Scanners《图像扫描器的质量控制的推荐实施规程》.pdf
  • AIIM MS45-1990 Recommended Practice for Inspection of Stored Silver-Gelatin Microforms for Evidence of Deterioration《缩微版本的识别推荐规程》.pdf AIIM MS45-1990 Recommended Practice for Inspection of Stored Silver-Gelatin Microforms for Evidence of Deterioration《缩微版本的识别推荐规程》.pdf
  • 相关搜索

    当前位置:首页 > 考试资料 > 职业资格

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1