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

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

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

展开阅读全文
相关资源
猜你喜欢
  • API RP 10F-2002 Recommended Practice for Performance Testing of Cementing Float Equipment (Third Edition ERTA September 2003)《固井浮式设备的性能检测.第3版.ANSI API 10F ISO 18165-2001 ISO 18165 .pdf API RP 10F-2002 Recommended Practice for Performance Testing of Cementing Float Equipment (Third Edition ERTA September 2003)《固井浮式设备的性能检测.第3版.ANSI API 10F ISO 18165-2001 ISO 18165 .pdf
  • API RP 1102-2007 Steel Pipelines Crossing Railroads and Highways (SEVENTH EDITION ERTA 1 NOVEMBER 2008 ERTA 2 MAY 2010 ERTA 3 SEPTEMBER 2012 ERTA 4 FEBRUARY 2014 ERTA 5 MARCH 2014).pdf API RP 1102-2007 Steel Pipelines Crossing Railroads and Highways (SEVENTH EDITION ERTA 1 NOVEMBER 2008 ERTA 2 MAY 2010 ERTA 3 SEPTEMBER 2012 ERTA 4 FEBRUARY 2014 ERTA 5 MARCH 2014).pdf
  • API RP 1109-2010 Marking Liquid Petroleum Pipeline Facilities (Fourth Edition Erta November 2010)《标注液化石油管道设备.第4版》.pdf API RP 1109-2010 Marking Liquid Petroleum Pipeline Facilities (Fourth Edition Erta November 2010)《标注液化石油管道设备.第4版》.pdf
  • API RP 1109-2017 Line Markers and Signage for Hazardous Liquid Pipelines and Facilities (Fifth Edition) .pdf API RP 1109-2017 Line Markers and Signage for Hazardous Liquid Pipelines and Facilities (Fifth Edition) .pdf
  • API RP 1110-2013 Recommended Practice for the Pressure Testing of Steel Pipelines for the Transportation of Gas Petroleum Gas Hazardous Liquids Highly Volatile Liquids or Carbon Di.pdf API RP 1110-2013 Recommended Practice for the Pressure Testing of Steel Pipelines for the Transportation of Gas Petroleum Gas Hazardous Liquids Highly Volatile Liquids or Carbon Di.pdf
  • API RP 1111-2015 Design Construction Operation and Maintenance of Offshore Hydrocarbon Pipelines (Limit State Design) (FIFTH EDITION) .pdf API RP 1111-2015 Design Construction Operation and Maintenance of Offshore Hydrocarbon Pipelines (Limit State Design) (FIFTH EDITION) .pdf
  • API RP 1112-1997 Developing a Highway Emergency Response Plan for Incidents Involving Hazardous Materials (Third Edition)《建立快速紧急应对有毒物质的方案.第3版》.pdf API RP 1112-1997 Developing a Highway Emergency Response Plan for Incidents Involving Hazardous Materials (Third Edition)《建立快速紧急应对有毒物质的方案.第3版》.pdf
  • API RP 1113-2007 Developing a Pipeline Supervisory Control Center (First Edition)《开发管道监控中心.第1版[被代替 API PUBL 1113、API PUBL 1113]》.pdf API RP 1113-2007 Developing a Pipeline Supervisory Control Center (First Edition)《开发管道监控中心.第1版[被代替 API PUBL 1113、API PUBL 1113]》.pdf
  • API RP 1114-2013 Recommended Practice for the Design of Solution-Mined Underground Storage Facilities (Second Edition)《地下可溶性矿存储设备公司的推荐实施规程》.pdf API RP 1114-2013 Recommended Practice for the Design of Solution-Mined Underground Storage Facilities (Second Edition)《地下可溶性矿存储设备公司的推荐实施规程》.pdf
  • 相关搜索

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

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