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

展开阅读全文
相关资源
猜你喜欢
  • EN 3050-1998 en Aerospace Series - O-Rings in Fluorocarbon Rubber (FKM) Low Compression Set - Technical Specification《航空航天系列 低压力变形氟碳橡胶(FKM)制O型环 交货技术条件》.pdf EN 3050-1998 en Aerospace Series - O-Rings in Fluorocarbon Rubber (FKM) Low Compression Set - Technical Specification《航空航天系列 低压力变形氟碳橡胶(FKM)制O型环 交货技术条件》.pdf
  • EN 3052-2009 en Aerospace series - Bolts normal hexagonal head close tolerance normal shank short thread in heat and corrosion resisting steel passivated - Classification 1 100 MPa.pdf EN 3052-2009 en Aerospace series - Bolts normal hexagonal head close tolerance normal shank short thread in heat and corrosion resisting steel passivated - Classification 1 100 MPa.pdf
  • EN 3053-1994 en Bearings Airframe Rolling - Single Row Self-Aligning Roller Bearings in Steel - Dimensions and Loads《航空航天系列轴承 飞机机架滚动轴承 钢制单列自定心滚柱轴承 尺寸和负载》.pdf EN 3053-1994 en Bearings Airframe Rolling - Single Row Self-Aligning Roller Bearings in Steel - Dimensions and Loads《航空航天系列轴承 飞机机架滚动轴承 钢制单列自定心滚柱轴承 尺寸和负载》.pdf
  • EN 3054-1994 en Bearings Airframe Rolling - Single Row Self-Aligning Roller Bearings in Steel Cadmium Plated - Dimensions and Loads《航空航天系列 飞机用轴承 镀铬钢单列球面轴承 尺寸和负载》.pdf EN 3054-1994 en Bearings Airframe Rolling - Single Row Self-Aligning Roller Bearings in Steel Cadmium Plated - Dimensions and Loads《航空航天系列 飞机用轴承 镀铬钢单列球面轴承 尺寸和负载》.pdf
  • EN 3055-1994 en Bearings Airframe Rolling - Single Row Self-Aligning Roller Bearings in Corrosion Resisting Steel - Dimensions and Loads《航空航天系列 飞机机架滚动轴承 不锈钢单列球面轴承 尺寸和负载》.pdf EN 3055-1994 en Bearings Airframe Rolling - Single Row Self-Aligning Roller Bearings in Corrosion Resisting Steel - Dimensions and Loads《航空航天系列 飞机机架滚动轴承 不锈钢单列球面轴承 尺寸和负载》.pdf
  • EN 3057-1994 en Bearings Airframe Rolling - Rigid Double Row Ball Bearings in Steel Cadmium Plated - Dimensions and Loads《航空航天系列轴承 飞机机架滚动轴承 镀镉钢刚性双列滚珠轴承 尺寸和负载》.pdf EN 3057-1994 en Bearings Airframe Rolling - Rigid Double Row Ball Bearings in Steel Cadmium Plated - Dimensions and Loads《航空航天系列轴承 飞机机架滚动轴承 镀镉钢刚性双列滚珠轴承 尺寸和负载》.pdf
  • EN 3058-1994 en Bearings Airframe Rolling - Rigid Double Row Ball Bearings in Corrosion Resisting Steel - Dimensions and Loads《飞机机架滚动轴承 不锈钢双列向心球轴承 尺寸和负载》.pdf EN 3058-1994 en Bearings Airframe Rolling - Rigid Double Row Ball Bearings in Corrosion Resisting Steel - Dimensions and Loads《飞机机架滚动轴承 不锈钢双列向心球轴承 尺寸和负载》.pdf
  • EN 3059-2007 en Aerospace series - Bearings airframe rolling - Rigid single row ball bearings in steel with flanged alignment housing cadmium plated - Dimensions and loads《航空航天系列 飞.pdf EN 3059-2007 en Aerospace series - Bearings airframe rolling - Rigid single row ball bearings in steel with flanged alignment housing cadmium plated - Dimensions and loads《航空航天系列 飞.pdf
  • EN 306-1997 en Heat Exchangers - Methods of Measuring the Parameters Necessary for Establishing the Performance《热交换器 性能确定用参数的测量方法 代替 ENV 306-1990》.pdf EN 306-1997 en Heat Exchangers - Methods of Measuring the Parameters Necessary for Establishing the Performance《热交换器 性能确定用参数的测量方法 代替 ENV 306-1990》.pdf
  • 相关搜索
    资源标签

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

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