【计算机类职业资格】国家三级(网络技术)机试-试卷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 中元素从小到大的排序。

展开阅读全文
相关资源
猜你喜欢
  • KS B ISO 10218-2-2012 Robots and robotic devices-Safety requirements for industrial robots-Part 2:Robot systems and integration《机器人和机器人设备 工业机器人的安全要求 第2部分 机械系统和集成》.pdf KS B ISO 10218-2-2012 Robots and robotic devices-Safety requirements for industrial robots-Part 2:Robot systems and integration《机器人和机器人设备 工业机器人的安全要求 第2部分 机械系统和集成》.pdf
  • KS B ISO 10243-2012 Tools for pressing-Compression springs with rectangular section-Housing dimensions and colour coding《冲压工具 矩形截面压缩弹簧 机架尺寸和颜色编码》.pdf KS B ISO 10243-2012 Tools for pressing-Compression springs with rectangular section-Housing dimensions and colour coding《冲压工具 矩形截面压缩弹簧 机架尺寸和颜色编码》.pdf
  • KS B ISO 10245-1-2011 Cranes-Limiting and indicating devices-Part 1 General《起重机 限制器和指示器 第1部分 总则》.pdf KS B ISO 10245-1-2011 Cranes-Limiting and indicating devices-Part 1 General《起重机 限制器和指示器 第1部分 总则》.pdf
  • KS B ISO 10263-1-2012 Earth-moving machinery-Operator enclosure environment- Part 1:Terms and definitions《土方机械操作者的工作环境 第1部分 总则和定义》.pdf KS B ISO 10263-1-2012 Earth-moving machinery-Operator enclosure environment- Part 1:Terms and definitions《土方机械操作者的工作环境 第1部分 总则和定义》.pdf
  • KS B ISO 10263-2-2012 Earth-moving mahcinery-Operator enclosure environment- Part 2:Air filter element test method《土方机械操作者的工作环境 第2部分 空气过滤器的检验》.pdf KS B ISO 10263-2-2012 Earth-moving mahcinery-Operator enclosure environment- Part 2:Air filter element test method《土方机械操作者的工作环境 第2部分 空气过滤器的检验》.pdf
  • KS B ISO 10263-5-2012 Earth-moving machinery-Operator enclosure environment- Part 5:Windscreen defrosting system test method《土方机械操作者的工作环境 第5部分 前挡风玻璃除霜器测试方法》.pdf KS B ISO 10263-5-2012 Earth-moving machinery-Operator enclosure environment- Part 5:Windscreen defrosting system test method《土方机械操作者的工作环境 第5部分 前挡风玻璃除霜器测试方法》.pdf
  • KS B ISO 10263-6-2012 Earth-moving machinery-Operator enclosure environment- Part 6:Determination of effect of solar heating《土方机械操作者的工作环境 第6部分 操作者密封驾驶室受太阳光照射效力的测定》.pdf KS B ISO 10263-6-2012 Earth-moving machinery-Operator enclosure environment- Part 6:Determination of effect of solar heating《土方机械操作者的工作环境 第6部分 操作者密封驾驶室受太阳光照射效力的测定》.pdf
  • KS B ISO 10266-2012 Earth-moving machinery-Determination of slope limits for machine fluid systems operation-Static test method《土方机械 机器液体系统作业的坡道极限值测定 静态试验方法》.pdf KS B ISO 10266-2012 Earth-moving machinery-Determination of slope limits for machine fluid systems operation-Static test method《土方机械 机器液体系统作业的坡道极限值测定 静态试验方法》.pdf
  • KS B ISO 10275-2009 Metallic materials-Sheet and strip-Determination of tensile strain hardening exponent《金属材料 板材和带材 拉伸应力硬化指数测定》.pdf KS B ISO 10275-2009 Metallic materials-Sheet and strip-Determination of tensile strain hardening exponent《金属材料 板材和带材 拉伸应力硬化指数测定》.pdf
  • 相关搜索

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

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