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

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

计算机三级(数据库技术)上机考试 3 及答案解析(总分:-1.00,做题时间:90 分钟)1.已知数据文件 IN14.DAT 中存有 200 个 4 位数,并已调用读函数 readDat() 把这些数存入数组 a 中,请编制一个函数 jsVal(),其功能是:把千位数字和十位数字重新组成一个新的十位数 ab(新十位数的十位数字是原 4 位数的千位数字,新十位数的个位数字是原 4 位数的十位数字),以及把个位数字和百位数字组成另一个新的十位数 cd(新十位数的十位数字是原 4 位数的个位数字,新十位数的个位数字是原 4 位数的百位数字),如果新组成两个十位数 ab-cd=0 且 ab-cd=0 且 ab-cd=0 且 ab-cd=0 & (ab-cd)=10 & ab%2=1 & cd%2=1 & ab!=0 & cd!=0)”),如果满足条件,则把原来的 4 位数放到数组 b中,同时用一个计数器变量 cnt 求出满足条件的 4 位数的个数。 (4)对数组 b 中的 4 位数用选择法进行从大到小排序。

展开阅读全文
相关资源
猜你喜欢
  • ASTM D7774-2017 red 6250 Standard Test Method for Flexural Fatigue Properties of Plastics《塑料弯曲疲劳特性的标准试验方法》.pdf ASTM D7774-2017 red 6250 Standard Test Method for Flexural Fatigue Properties of Plastics《塑料弯曲疲劳特性的标准试验方法》.pdf
  • ASTM D7775-2011 0625 Standard Guide for Measurements on Small Graphite Specimens《小石墨标本测量的标准指南》.pdf ASTM D7775-2011 0625 Standard Guide for Measurements on Small Graphite Specimens《小石墨标本测量的标准指南》.pdf
  • ASTM D7775-2011(2015) 4403 Standard Guide for Measurements on Small Graphite Specimens《小石墨标本测量的标准指南》.pdf ASTM D7775-2011(2015) 4403 Standard Guide for Measurements on Small Graphite Specimens《小石墨标本测量的标准指南》.pdf
  • ASTM D7775-2011e1 7500 Standard Guide for Measurements on Small Graphite Specimens《小石墨标本测量的标准指南》.pdf ASTM D7775-2011e1 7500 Standard Guide for Measurements on Small Graphite Specimens《小石墨标本测量的标准指南》.pdf
  • ASTM D7775-2016 4006 Standard Guide for Measurements on Small Graphite Specimens《小型石墨样本测量指南》.pdf ASTM D7775-2016 4006 Standard Guide for Measurements on Small Graphite Specimens《小型石墨样本测量指南》.pdf
  • ASTM D7777-2012 6250 Standard Test Method for Density Relative Density or API Gravity of Liquid Petroleum by Portable Digital Density Meter《便携式数字密度计测定液体石油的密度 相对密度和API度的标准试验方法》.pdf ASTM D7777-2012 6250 Standard Test Method for Density Relative Density or API Gravity of Liquid Petroleum by Portable Digital Density Meter《便携式数字密度计测定液体石油的密度 相对密度和API度的标准试验方法》.pdf
  • ASTM D7777-2013 red 3750 Standard Test Method for Density Relative Density or API Gravity of Liquid Petroleum by Portable Digital Density Meter《使用便携式密度计 比重计测量液态石油密度 相对密度或者API燃油比重的标.pdf ASTM D7777-2013 red 3750 Standard Test Method for Density Relative Density or API Gravity of Liquid Petroleum by Portable Digital Density Meter《使用便携式密度计 比重计测量液态石油密度 相对密度或者API燃油比重的标.pdf
  • ASTM D7778-2012 0625 Standard Guide for Conducting an Interlaboratory Study to Determine the Precision of a Test Method《开展实验室间研究以确定试验方法精度的标准指南》.pdf ASTM D7778-2012 0625 Standard Guide for Conducting an Interlaboratory Study to Determine the Precision of a Test Method《开展实验室间研究以确定试验方法精度的标准指南》.pdf
  • ASTM D7778-2015 red 6347 Standard Guide for Conducting an Interlaboratory Study to Determine the Precision of a Test Method《开展实验室间研究以确定试验方法精度的标准指南》.pdf ASTM D7778-2015 red 6347 Standard Guide for Conducting an Interlaboratory Study to Determine the Precision of a Test Method《开展实验室间研究以确定试验方法精度的标准指南》.pdf
  • 相关搜索
    资源标签

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

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