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

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

国家三级(网络技术)机试-试卷 83 及答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_国家三级(网络技术)机试-试卷 83 答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_正确答案:(正确答案: )解析:解析:定义整型循环变量 i、j、k 和局部整型变量 value,hum。 在第一层 for 循环中,循环变量 i 从 0 开始,依次递增直到其值等于 10,结束循环,实现对数组 a109中每一行数据按照题目的要求进行处理。在循环体中,把第 i 行的第一个数 ai0赋给 value。在第二层 for 循环中,循环变量i 从 0 开始,依次递增直到其值等于或大于 9,用 if 语句判断,如果数组元素 aij的值小于 value,则把 aij的值赋给 num,在第三层 for 循环中,循环变量 k 从 j 开始,依次递减直到其值等于或小于0,把 aik-1的值赋给 aik,实现把 aij前面的值向后移动一位,退出第三层 for 循环后,把num 的值赋给 ai0。第二层循环依次执行,便实现了对 i 行的数据的处理,再依次执行第一层 for 循环,就可以完成对数组 a109的每行数据的处理。

展开阅读全文
相关资源
猜你喜欢
  • BS EN 61207-6-1994 Expression of performance of gas analyzers - Photometric analyzers《气体分析仪性能 第6部分 光度分析仪》.pdf BS EN 61207-6-1994 Expression of performance of gas analyzers - Photometric analyzers《气体分析仪性能 第6部分 光度分析仪》.pdf
  • BS EN 61207-6-2015 Expression of performance of gas analyzers Photometric analyzers《气体分析仪性能 第6部分 光度分析仪》.pdf BS EN 61207-6-2015 Expression of performance of gas analyzers Photometric analyzers《气体分析仪性能 第6部分 光度分析仪》.pdf
  • BS EN 61207-7-2013 Expression of performance of gas analyzers Tuneable semiconductor laser gas analyzers《气体分析器性能表示 可调谐半导体激光气体分析器》.pdf BS EN 61207-7-2013 Expression of performance of gas analyzers Tuneable semiconductor laser gas analyzers《气体分析器性能表示 可调谐半导体激光气体分析器》.pdf
  • BS EN 61207-7-2014 Expression of performance of gas analyzers Tuneable semiconductor laser gas analyzers《气体分析仪性能表示 可调半导体激光器气体分析仪》.pdf BS EN 61207-7-2014 Expression of performance of gas analyzers Tuneable semiconductor laser gas analyzers《气体分析仪性能表示 可调半导体激光器气体分析仪》.pdf
  • BS EN 61209-1999 Maritime navigation and radiocommunication equipment and systems Integrated bridge systems (IBS) Operational and performance requirements methods of testing and re.pdf BS EN 61209-1999 Maritime navigation and radiocommunication equipment and systems Integrated bridge systems (IBS) Operational and performance requirements methods of testing and re.pdf
  • BS EN 61210-2010 Connecting devices Flat quick-connect terminations for electrical copper conductors Safety requirements《连接装置 电气铜导体用片式快速插接件 安全性要求》.pdf BS EN 61210-2010 Connecting devices Flat quick-connect terminations for electrical copper conductors Safety requirements《连接装置 电气铜导体用片式快速插接件 安全性要求》.pdf
  • BS EN 61211-2005 Insulators of ceramic material or glass for overhead lines with a nominal voltage greater than 1000 V Impulse puncture testing in air《标称电压1000V以上的架空线用陶瓷或玻璃绝缘子 空气中脉.pdf BS EN 61211-2005 Insulators of ceramic material or glass for overhead lines with a nominal voltage greater than 1000 V Impulse puncture testing in air《标称电压1000V以上的架空线用陶瓷或玻璃绝缘子 空气中脉.pdf
  • BS EN 61212-1-2006 Insulating materials - Industrial rigid round laminated tubes and rods based on thermosetting resins for electrical purposes - Definitions designations and gener.pdf BS EN 61212-1-2006 Insulating materials - Industrial rigid round laminated tubes and rods based on thermosetting resins for electrical purposes - Definitions designations and gener.pdf
  • BS EN 61212-2-2006 Insulating materials — Industrial rigid round laminated tubes and nrods based on thermosetting resins for electrical purposes — nPart 2 Methods of test《绝缘材料 电气用基.pdf BS EN 61212-2-2006 Insulating materials — Industrial rigid round laminated tubes and nrods based on thermosetting resins for electrical purposes — nPart 2 Methods of test《绝缘材料 电气用基.pdf
  • 相关搜索

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

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