[计算机类试卷]计算机三级数据库技术(上机操作)机试模拟试卷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;

展开阅读全文
相关资源
猜你喜欢
  • ASTM C1814 C1814M-2016 Standard Test Method for Measurement of Hydraulic Characteristics of Stormwater Filtration Elements《用于测量雨水过滤元件水力特性的标准试验方法》.pdf ASTM C1814 C1814M-2016 Standard Test Method for Measurement of Hydraulic Characteristics of Stormwater Filtration Elements《用于测量雨水过滤元件水力特性的标准试验方法》.pdf
  • ASTM C1815-2017 Standard Practice for Periodically Measuring and Monitoring Sealant Dimensions to Stability Following a Period of Compression or Tension《在压缩或张力期间定期测量和监测密封剂尺寸对稳定性的标准.pdf ASTM C1815-2017 Standard Practice for Periodically Measuring and Monitoring Sealant Dimensions to Stability Following a Period of Compression or Tension《在压缩或张力期间定期测量和监测密封剂尺寸对稳定性的标准.pdf
  • ASTM C1816-2015 Standard Practice for The Ion Exchange Separation of Small Volume Samples Containing Uranium Americium and Plutonium Prior to Isotopic Abundance and Content Analysi.pdf ASTM C1816-2015 Standard Practice for The Ion Exchange Separation of Small Volume Samples Containing Uranium Americium and Plutonium Prior to Isotopic Abundance and Content Analysi.pdf
  • ASTM C1816-2016 Standard Practice for The Ion Exchange Separation of Small Volume Samples Containing Uranium Americium and Plutonium Prior to Isotopic Abundance and Content Analysi.pdf ASTM C1816-2016 Standard Practice for The Ion Exchange Separation of Small Volume Samples Containing Uranium Americium and Plutonium Prior to Isotopic Abundance and Content Analysi.pdf
  • ASTM C1817-2015 Standard Test Method for The Determination of the Oxygen to Metal (O M) Ratio in Sintered Mixed Oxide ((U Pu)O2) Pellets by Gravimetry《采用重量测定法测定烧结混合氧化 ((U Pu)O2) 球团.pdf ASTM C1817-2015 Standard Test Method for The Determination of the Oxygen to Metal (O M) Ratio in Sintered Mixed Oxide ((U Pu)O2) Pellets by Gravimetry《采用重量测定法测定烧结混合氧化 ((U Pu)O2) 球团.pdf
  • ASTM C1817-2016 Standard Test Method for The Determination of the Oxygen to Metal (O M) Ratio in Sintered Mixed Oxide ((U Pu)O2) Pellets by Gravimetry《采用重量测定法测定烧结混合氧化 ((U Pu)O2) 球团.pdf ASTM C1817-2016 Standard Test Method for The Determination of the Oxygen to Metal (O M) Ratio in Sintered Mixed Oxide ((U Pu)O2) Pellets by Gravimetry《采用重量测定法测定烧结混合氧化 ((U Pu)O2) 球团.pdf
  • ASTM C1818-2015 Standard Specification for Synthetic Fiber Reinforced Concrete Culvert Storm Drain and Sewer Pipe《合成纤维钢筋混凝土涵管 暴雨下水道和下水道管的标准规格》.pdf ASTM C1818-2015 Standard Specification for Synthetic Fiber Reinforced Concrete Culvert Storm Drain and Sewer Pipe《合成纤维钢筋混凝土涵管 暴雨下水道和下水道管的标准规格》.pdf
  • ASTM C1818-2018 Standard Specification for Synthetic Fiber Reinforced Concrete Culvert Storm Drain and Sewer Pipe.pdf ASTM C1818-2018 Standard Specification for Synthetic Fiber Reinforced Concrete Culvert Storm Drain and Sewer Pipe.pdf
  • ASTM C1819-2015 Standard Test Method for Hoop Tensile Strength of Continuous Fiber-Reinforced Advanced Ceramic Composite Tubular Test Specimens at Ambient Temperature Using Elastom.pdf ASTM C1819-2015 Standard Test Method for Hoop Tensile Strength of Continuous Fiber-Reinforced Advanced Ceramic Composite Tubular Test Specimens at Ambient Temperature Using Elastom.pdf
  • 相关搜索

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

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