【计算机类职业资格】国家三级(网络技术)机试-试卷77及答案解析.doc

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

国家三级(网络技术)机试-试卷 77 及答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_国家三级(网络技术)机试-试卷 77 答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_正确答案:(正确答案: )解析:解析:定义整型循环变量 i、j 和局部变量 tmp。 在 for 循环语句中,循环变量 i 从 0 开始,依次递增直到其值等于或大于 MAX,用 if 条件语句判断如果 ai和 bi同时为奇数,由 ai的十位数字为新数的千位数字,个位数字为新数的个位数字,bi的十位数字为新数的百位数字,个位数字为新数的十位数字,把这个新组成的数存入数组元素 ccn,同时数组下标变量 cn 加 1。 在第一层 for 循环语句中,循环变量 i 从 0 开始,依次递增直到其值等于或大于 cnt,在第二层循环中,循环变量 j 从 i+1 开始,依次递增直到其值等于 cnt,用 if 条件语句判断如果数组元素 ci大于 cj,则两者进行互换,实现数组 c 中的数按从小到大的顺序进行排序。

展开阅读全文
相关资源
猜你喜欢
  • AECMA PREN 6060-1995 Aerospace Series Fibre Reinforced Plastics Test Method Determination of the Tensile Single Lap Shear Strength Edition P1《航空航天系列.纤维加固塑料试验方法拉伸单切变长度.P1版》.pdf AECMA PREN 6060-1995 Aerospace Series Fibre Reinforced Plastics Test Method Determination of the Tensile Single Lap Shear Strength Edition P1《航空航天系列.纤维加固塑料试验方法拉伸单切变长度.P1版》.pdf
  • AECMA PREN 6061-1995 Aerospace Series Fibre Reinforced Plastics Test Method Determination of Sandwich Flexural Strength 4 Point Bending Edition P1《航空航天系列.纤维加固塑料试验方法扰曲强度4点弯曲.P1版》.pdf AECMA PREN 6061-1995 Aerospace Series Fibre Reinforced Plastics Test Method Determination of Sandwich Flexural Strength 4 Point Bending Edition P1《航空航天系列.纤维加固塑料试验方法扰曲强度4点弯曲.P1版》.pdf
  • AECMA PREN 6062-1995 Aerospace Series Fibre Reinforced Plastics Test Method Flatwise Tensile Test of Composite Sandwich Panel Edition P1《航空航天系列.纤维加固塑料试验方法平面拉伸测试混合物面板.P1版》.pdf AECMA PREN 6062-1995 Aerospace Series Fibre Reinforced Plastics Test Method Flatwise Tensile Test of Composite Sandwich Panel Edition P1《航空航天系列.纤维加固塑料试验方法平面拉伸测试混合物面板.P1版》.pdf
  • AECMA PREN 6063-1995 Aerospace Series Fibre Reinforced Plastics Test Method Determination of Material Degradation Due to Chemical Products Edition P1《航空航天系列.纤维加固塑料试验方法由于化学物质退化.P1版》.pdf AECMA PREN 6063-1995 Aerospace Series Fibre Reinforced Plastics Test Method Determination of Material Degradation Due to Chemical Products Edition P1《航空航天系列.纤维加固塑料试验方法由于化学物质退化.P1版》.pdf
  • AECMA PREN 6064-1995 Aerospace Series Non-Metallic Materials Analysis of Non-Metallic Materials (Cured) for the Determination of the Extent of Cure by Differential Scanning Calorim.pdf AECMA PREN 6064-1995 Aerospace Series Non-Metallic Materials Analysis of Non-Metallic Materials (Cured) for the Determination of the Extent of Cure by Differential Scanning Calorim.pdf
  • AECMA PREN 6066-1995 Aerospace Series Fibre Reinforced Plastics Test Method Determination of Tensile Strength of a Tapered and Stepped Joints Edition P1《航空航天系列.纤维加固塑料测试放大拉伸强度锥形接口.P.pdf AECMA PREN 6066-1995 Aerospace Series Fibre Reinforced Plastics Test Method Determination of Tensile Strength of a Tapered and Stepped Joints Edition P1《航空航天系列.纤维加固塑料测试放大拉伸强度锥形接口.P.pdf
  • AECMA PREN 6067-2000 Aerospace Series Pin Quick Release Self-Retaining Positive Locking Double Acting Button Handle Edition P 2《航空航天系列.栓快速释放自我保护阳极锁双钮扣手柄.P2版》.pdf AECMA PREN 6067-2000 Aerospace Series Pin Quick Release Self-Retaining Positive Locking Double Acting Button Handle Edition P 2《航空航天系列.栓快速释放自我保护阳极锁双钮扣手柄.P2版》.pdf
  • AECMA PREN 6068-2000 Aerospace Series Pin Quick Release Self-Retaining Positive Locking Single Acting Button Handle Edition P 2《航空航天系列.栓快速释放自我保护阳极锁单钮扣手柄.P2版》.pdf AECMA PREN 6068-2000 Aerospace Series Pin Quick Release Self-Retaining Positive Locking Single Acting Button Handle Edition P 2《航空航天系列.栓快速释放自我保护阳极锁单钮扣手柄.P2版》.pdf
  • AECMA PREN 6069-2008 Aerospace series Rivet 100 Degrees reduced flush head close tolerance Inch series Edition P 3《航空航天系列.紧公差100°缩减埋头铆钉.英制系列.版本P3》.pdf AECMA PREN 6069-2008 Aerospace series Rivet 100 Degrees reduced flush head close tolerance Inch series Edition P 3《航空航天系列.紧公差100°缩减埋头铆钉.英制系列.版本P3》.pdf
  • 相关搜索

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

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