【计算机类职业资格】计算机三级(数据库技术)上机考试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 位数用选择法进行从大到小排序。

展开阅读全文
相关资源
猜你喜欢
  • DIN ISO 5247-1-2005 Textile machinery and accessories - Weaving machines - Part 1 Classification and vocabulary (ISO 5247-1 2004)《纺织机械和附件 织机 第1部分 分类和词汇》.pdf DIN ISO 5247-1-2005 Textile machinery and accessories - Weaving machines - Part 1 Classification and vocabulary (ISO 5247-1 2004)《纺织机械和附件 织机 第1部分 分类和词汇》.pdf
  • DIN ISO 5247-2-1991 Textile machinery and accessories weaving machines accessories vocabulary identical with ISO 5247-2 1989《纺织机械和附件 织机 第2部分 附件 词汇》.pdf DIN ISO 5247-2-1991 Textile machinery and accessories weaving machines accessories vocabulary identical with ISO 5247-2 1989《纺织机械和附件 织机 第2部分 附件 词汇》.pdf
  • DIN ISO 5247-3-1997 Textile machinery and accessories - Weaving machines - Part 3 Parts of the machine vocabulary (ISO 5247-3 1993)《纺织机械和配件 织机 第3部分 部件 术语》.pdf DIN ISO 5247-3-1997 Textile machinery and accessories - Weaving machines - Part 3 Parts of the machine vocabulary (ISO 5247-3 1993)《纺织机械和配件 织机 第3部分 部件 术语》.pdf
  • DIN ISO 5248-2004 Textile machinery and accessories - Dyeing and finishing machinery - Vocabulary of ancillary devices (ISO 5248 2003)《纺织机械和附件 染整机械 辅助装置词汇》.pdf DIN ISO 5248-2004 Textile machinery and accessories - Dyeing and finishing machinery - Vocabulary of ancillary devices (ISO 5248 2003)《纺织机械和附件 染整机械 辅助装置词汇》.pdf
  • DIN ISO 5249-1991 Textile machinery and accessories guide rollers for dyeing and finishing machines main dimensions identical with ISO 5249 1988《纺织机械和附件 染色和精整机的导辊 主要尺寸》.pdf DIN ISO 5249-1991 Textile machinery and accessories guide rollers for dyeing and finishing machines main dimensions identical with ISO 5249 1988《纺织机械和附件 染色和精整机的导辊 主要尺寸》.pdf
  • DIN ISO 525-2015 Bonded abrasive products - General requirements (ISO 525 2013)《粘合磨料产品 一般要求(ISO 525-2013)》.pdf DIN ISO 525-2015 Bonded abrasive products - General requirements (ISO 525 2013)《粘合磨料产品 一般要求(ISO 525-2013)》.pdf
  • DIN ISO 5250-2004 Textile machinery and accessories - Dyeing and finishing machinery - Terms for tentering and heat-treatment machinery (ISO 5250 2003)《纺织机械与附件 染整机械 拉幅机和热处理机械术语》.pdf DIN ISO 5250-2004 Textile machinery and accessories - Dyeing and finishing machinery - Terms for tentering and heat-treatment machinery (ISO 5250 2003)《纺织机械与附件 染整机械 拉幅机和热处理机械术语》.pdf
  • DIN ISO 5261-1997 Technical drawings - Simplified representation of bars and profile sections (ISO 5261 1995)《技术图样 棒材及剖面的简化表示》.pdf DIN ISO 5261-1997 Technical drawings - Simplified representation of bars and profile sections (ISO 5261 1995)《技术图样 棒材及剖面的简化表示》.pdf
  • DIN ISO 5275-2005 Petroleum products and hydrocarbon solvents - Detection of thiols and other sulfur species - Doctor test (ISO 5275 2003)《石油产品和烃类溶剂 硫醇类和其他硫类的测定 检硫液法》.pdf DIN ISO 5275-2005 Petroleum products and hydrocarbon solvents - Detection of thiols and other sulfur species - Doctor test (ISO 5275 2003)《石油产品和烃类溶剂 硫醇类和其他硫类的测定 检硫液法》.pdf
  • 相关搜索
    资源标签

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

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