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

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

计算机三级数据库技术(上机操作)机试模拟试卷 48及答案与解析 一、程序设计题 1 已知数据文件 in dat中存有 200个四位数。并已调用读函数 readDat()把这些数存入数组 a中,请编写函数 jsVal()。其功能是。把一个四位数的千位数位置上的值加上十位数位置上的值恰好等于百位数位置上的值加上个位数位置上的值,并且原四位数是偶数,则统计出满足此条件的元素个数 cnt,并把这些四位数按从小到大的顺序存人数组 b中,最后调用写函数 writeDat()把结果 cnt以及数组 b中符合条件的四位数输出到 out dat文件中。 【试题程序】 #include #define MAX 200 int aMAX, bMAX, cnt=0; void writeDat(); void jsVal() void readDat() Int 1; FILE*fp; fp=fopen(“in dat”, “r”); for(i=0Iibi) temp=bi; bi=bj; bj=tempi

展开阅读全文
相关资源
猜你喜欢
  • ASTM A967 A967M-2013 Standard Specification for Chemical Passivation Treatments for Stainless Steel Parts《不锈钢零件化学钝化处理的标准规范》.pdf ASTM A967 A967M-2013 Standard Specification for Chemical Passivation Treatments for Stainless Steel Parts《不锈钢零件化学钝化处理的标准规范》.pdf
  • ASTM A967 A967M-2017 Standard Specification for Chemical Passivation Treatments for Stainless Steel Parts《不锈钢零件化学钝化处理的标准规格》.pdf ASTM A967 A967M-2017 Standard Specification for Chemical Passivation Treatments for Stainless Steel Parts《不锈钢零件化学钝化处理的标准规格》.pdf
  • ASTM A967-2005e1 Standard Specification for Chemical Passivation Treatments for Stainless Steel Parts《不锈钢零件化学钝化处理的标准规范》.pdf ASTM A967-2005e1 Standard Specification for Chemical Passivation Treatments for Stainless Steel Parts《不锈钢零件化学钝化处理的标准规范》.pdf
  • ASTM A967-2005e2 Standard Specification for Chemical Passivation Treatments for Stainless Steel Parts《不锈钢零件的化学钝化处理的标准规范》.pdf ASTM A967-2005e2 Standard Specification for Chemical Passivation Treatments for Stainless Steel Parts《不锈钢零件的化学钝化处理的标准规范》.pdf
  • ASTM A968 A968M-1996(2001) Standard Specification for Chromium Chromium-Nickel and Silicon Alloy Steel Bars and Shapes for Corrosion and Heat-Resisting Service.pdf ASTM A968 A968M-1996(2001) Standard Specification for Chromium Chromium-Nickel and Silicon Alloy Steel Bars and Shapes for Corrosion and Heat-Resisting Service.pdf
  • ASTM A968 A968M-1996(2009) Standard Specification for Chromium Chromium-Nickel and Silicon Alloy Steel Bars and Shapes for Corrosion and Heat-Resisting Service《和耐热耐蚀设备用铬 铬镍及硅合金钢棒材及.pdf ASTM A968 A968M-1996(2009) Standard Specification for Chromium Chromium-Nickel and Silicon Alloy Steel Bars and Shapes for Corrosion and Heat-Resisting Service《和耐热耐蚀设备用铬 铬镍及硅合金钢棒材及.pdf
  • ASTM A968 A968M-1996(2014) Standard Specification for Chromium Chromium-Nickel and Silicon Alloy Steel Bars and Shapes for Corrosion and Heat-Resisting Service《耐热耐蚀设备用铬、铬镍及硅合金钢棒材及型.pdf ASTM A968 A968M-1996(2014) Standard Specification for Chromium Chromium-Nickel and Silicon Alloy Steel Bars and Shapes for Corrosion and Heat-Resisting Service《耐热耐蚀设备用铬、铬镍及硅合金钢棒材及型.pdf
  • ASTM A970 A970M-2007 Standard Specification for Headed Steel Bars for Concrete Reinforcement.pdf ASTM A970 A970M-2007 Standard Specification for Headed Steel Bars for Concrete Reinforcement.pdf
  • ASTM A970 A970M-2009 Standard Specification for Headed Steel Bars for Concrete Reinforcement《混凝土钢筋用有头钢棒的标准规范》.pdf ASTM A970 A970M-2009 Standard Specification for Headed Steel Bars for Concrete Reinforcement《混凝土钢筋用有头钢棒的标准规范》.pdf
  • 相关搜索

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

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