【计算机类职业资格】计算机三级数据库技术(上机操作)机试-试卷1及答案解析.doc

上传人:roleaisle130 文档编号:1337574 上传时间:2019-10-17 格式:DOC 页数:2 大小:24.50KB
下载 相关 举报
【计算机类职业资格】计算机三级数据库技术(上机操作)机试-试卷1及答案解析.doc_第1页
第1页 / 共2页
【计算机类职业资格】计算机三级数据库技术(上机操作)机试-试卷1及答案解析.doc_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

1、计算机三级数据库技术(上机操作)机试-试卷 1及答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1.文件 proglC 中程序的功能是:将大于整数 m且紧靠 m的 k个素数存人数组 xx中。请编写函数mum(int m,int k,int xx)实现程序的要求,最后调用函数 readwriteDAT()把结果输出到 outdat文件中。例如,若输入 17,5(中间用半角逗号隔开),则应输出; 19 23 29 31 37。wfof=fopen(out dat “.”“w”; fori=0;i_计算机三级数据库技术(上机操作)机试-试卷 1答案解析(总

2、分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1.文件 proglC 中程序的功能是:将大于整数 m且紧靠 m的 k个素数存人数组 xx中。请编写函数mum(int m,int k,int xx)实现程序的要求,最后调用函数 readwriteDAT()把结果输出到 outdat文件中。例如,若输入 17,5(中间用半角逗号隔开),则应输出; 19 23 29 31 37。wfof=fopen(out dat “.”“w”; fori=0;i_正确答案:(正确答案:void num(int m,int k,int xx) int cnt=0; *定义变量* while(cntk) *统计素数* m+; if(isP(m)xxcnt+=m; )解析:

展开阅读全文
相关资源
猜你喜欢
  • ASTM B249 B249M-2016 Standard Specification for General Requirements for Wrought Copper and Copper-Alloy Rod Bar Shapes and Forgings《锻造铜和铜合金杆材 棒材 型材和锻件通用要求的标准规格》.pdf ASTM B249 B249M-2016 Standard Specification for General Requirements for Wrought Copper and Copper-Alloy Rod Bar Shapes and Forgings《锻造铜和铜合金杆材 棒材 型材和锻件通用要求的标准规格》.pdf
  • ASTM B249 B249M-2017 Standard Specification for General Requirements for Wrought Copper and Copper-Alloy Rod Bar Shapes and Forgings《锻造铜和铜合金杆材 棒材 型材和锻件通用要求的标准规格》.pdf ASTM B249 B249M-2017 Standard Specification for General Requirements for Wrought Copper and Copper-Alloy Rod Bar Shapes and Forgings《锻造铜和铜合金杆材 棒材 型材和锻件通用要求的标准规格》.pdf
  • ASTM B249 B249M-2018 Standard Specification for General Requirements for Wrought Copper and Copper-Alloy Rod Bar Shapes and Forgings《锻铜及铜合金棒、棒、形和锻件一般要求的标准规范》.pdf ASTM B249 B249M-2018 Standard Specification for General Requirements for Wrought Copper and Copper-Alloy Rod Bar Shapes and Forgings《锻铜及铜合金棒、棒、形和锻件一般要求的标准规范》.pdf
  • ASTM B250 B250M-2007 Standard Specification for General Requirements for Wrought Copper Alloy Wire《锻造铜合金丝一般要求的标准规范》.pdf ASTM B250 B250M-2007 Standard Specification for General Requirements for Wrought Copper Alloy Wire《锻造铜合金丝一般要求的标准规范》.pdf
  • ASTM B250 B250M-2012 Standard Specification for General Requirements for Wrought Copper Alloy Wire《锻造铜合金丝一般要求的标准规格》.pdf ASTM B250 B250M-2012 Standard Specification for General Requirements for Wrought Copper Alloy Wire《锻造铜合金丝一般要求的标准规格》.pdf
  • ASTM B250 B250M-2013 Standard Specification for General Requirements for Wrought Copper Alloy Wire《锻造铜合金丝通用要求的标准规格》.pdf ASTM B250 B250M-2013 Standard Specification for General Requirements for Wrought Copper Alloy Wire《锻造铜合金丝通用要求的标准规格》.pdf
  • ASTM B250 B250M-2016 Standard Specification for General Requirements for Wrought Copper Alloy Wire《锻造铜合金线通用要求的标准规格》.pdf ASTM B250 B250M-2016 Standard Specification for General Requirements for Wrought Copper Alloy Wire《锻造铜合金线通用要求的标准规格》.pdf
  • ASTM B251 B251M-2017 Standard Specification for General Requirements for Wrought Seamless Copper and Copper-Alloy Tube《锻造无缝铜及铜合金管通用要求的标准规格》.pdf ASTM B251 B251M-2017 Standard Specification for General Requirements for Wrought Seamless Copper and Copper-Alloy Tube《锻造无缝铜及铜合金管通用要求的标准规格》.pdf
  • ASTM B251-2002e1 Standard Specification for General Requirements for Wrought Seamless Copper and Copper-Alloy Tube《锻制无缝铜及铜合金管一般要求的标准规范》.pdf ASTM B251-2002e1 Standard Specification for General Requirements for Wrought Seamless Copper and Copper-Alloy Tube《锻制无缝铜及铜合金管一般要求的标准规范》.pdf
  • 相关搜索

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

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