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

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

国家三级(网络技术)机试-试卷 85 及答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_国家三级(网络技术)机试-试卷 85 答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_正确答案:(正确答案: )解析:解析:定义循环变量 i、j 和无符号整型变量 v。 在 for 循环语句中,循环变量 i 从 0 开始,依次递增直到其值等于 MAX。在循环体中,用 if 语句判断如果 ai是奇数且 bi是偶数或者 a 嘲是偶数且 bi是奇数,则把 ai 左移八位后与 b 嘲的和赋给 ccnt,同时 cnt 加 1。 在第一层 for 循环语句中,循环变量 i 从 0 开始,依次递增直到其值等于或大于 cnt。在第二层 for 循环语句中,循环变量 j从 i+1 开始,依次递增直到其值等于或大于 cnt。在循环体中,用 if 语句判断如果 ci大于 cj,则两者互换,实现数组 c 中元素从小到大的排序。

展开阅读全文
相关资源
猜你喜欢
  • GOST R 8 878-2014 State system for ensuring the uniformity of measurements Nuclear material control and accounting System of measurements Estimation of uncertainty in the sampling《.pdf GOST R 8 878-2014 State system for ensuring the uniformity of measurements Nuclear material control and accounting System of measurements Estimation of uncertainty in the sampling《.pdf
  • GOST R 8 879-2014 State system for ensuring the uniformity of measurements Calibration techniques of measuring instruments General requirements to the contents and statement《确保测量一致.pdf GOST R 8 879-2014 State system for ensuring the uniformity of measurements Calibration techniques of measuring instruments General requirements to the contents and statement《确保测量一致.pdf
  • GOST R 8 880-2015 State system for ensuring the uniformity of measurements Crude oil Pipeline sampling《确保测量一致性的国家系统 原油 管线取样》.pdf GOST R 8 880-2015 State system for ensuring the uniformity of measurements Crude oil Pipeline sampling《确保测量一致性的国家系统 原油 管线取样》.pdf
  • GOST R 8 881-2015 State system for ensuring the uniformity of measurements Moisture meters of wood and sawn timber Verification procedure《确保测量一致性的国家系统 木材的湿度测量计 核查程序》.pdf GOST R 8 881-2015 State system for ensuring the uniformity of measurements Moisture meters of wood and sawn timber Verification procedure《确保测量一致性的国家系统 木材的湿度测量计 核查程序》.pdf
  • GOST R 8 882-2015 State system for ensuring the uniformity of measurements The volume of natural gas Method of error calculations in measurements of natural gas volume at reference.pdf GOST R 8 882-2015 State system for ensuring the uniformity of measurements The volume of natural gas Method of error calculations in measurements of natural gas volume at reference.pdf
  • GOST R 9 316-2006 Unified system of corrosion and ageing protection Thermodiffusion zinc coatings General requirements and control methods《腐蚀和老化联合防护系统 热扩散锌涂层 一般要求与控制方法》.pdf GOST R 9 316-2006 Unified system of corrosion and ageing protection Thermodiffusion zinc coatings General requirements and control methods《腐蚀和老化联合防护系统 热扩散锌涂层 一般要求与控制方法》.pdf
  • GOST R 9 317-2010 Unified system of corrosion and ageing protection Metallic coatings Methods of measuriment of ductility《腐蚀和老化联合防护系统 金属涂层 延展性测量方法》.pdf GOST R 9 317-2010 Unified system of corrosion and ageing protection Metallic coatings Methods of measuriment of ductility《腐蚀和老化联合防护系统 金属涂层 延展性测量方法》.pdf
  • GOST R 9 318-2013 Unified system of corrosion and ageing protection Nanostructure non-metallic inorganic coatings formed by microarc oxidation on aluminum and its alloys General re.pdf GOST R 9 318-2013 Unified system of corrosion and ageing protection Nanostructure non-metallic inorganic coatings formed by microarc oxidation on aluminum and its alloys General re.pdf
  • GOST R 9 413-2007 Unified system of corrosion and ageing protection Paint coatings Penetrability determination of water-thinned paints at electrodeposition《腐蚀和老化防护的统一系统 油漆涂层 水稀释油漆在.pdf GOST R 9 413-2007 Unified system of corrosion and ageing protection Paint coatings Penetrability determination of water-thinned paints at electrodeposition《腐蚀和老化防护的统一系统 油漆涂层 水稀释油漆在.pdf
  • 相关搜索

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

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