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

展开阅读全文
相关资源
猜你喜欢
  • ASTM F437-2009 Standard Specification for Threaded Chlorinated Poly(Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 80《有螺纹的氯化聚氯乙烯(CPVC)塑料管配件的标准规范 表80》.pdf ASTM F437-2009 Standard Specification for Threaded Chlorinated Poly(Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 80《有螺纹的氯化聚氯乙烯(CPVC)塑料管配件的标准规范 表80》.pdf
  • ASTM F437-2015 Standard Specification for Threaded Chlorinated Poly(Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 80《螺纹型氯化聚氯乙烯 (CPVC) 塑料管配件 (表单80) 的标准规格》.pdf ASTM F437-2015 Standard Specification for Threaded Chlorinated Poly(Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 80《螺纹型氯化聚氯乙烯 (CPVC) 塑料管配件 (表单80) 的标准规格》.pdf
  • ASTM F438-2004 Standard Specification for Socket-Type Chlorinated Poly(Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 40《套管型氯化聚氯乙烯(CPVC)塑料管及管配件标准规范 表40》.pdf ASTM F438-2004 Standard Specification for Socket-Type Chlorinated Poly(Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 40《套管型氯化聚氯乙烯(CPVC)塑料管及管配件标准规范 表40》.pdf
  • ASTM F438-2009 Standard Specification for Socket-Type Chlorinated Poly(Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 40《套节型氯化聚氯乙烯(CPVC)塑料管配件规范(40号表)》.pdf ASTM F438-2009 Standard Specification for Socket-Type Chlorinated Poly(Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 40《套节型氯化聚氯乙烯(CPVC)塑料管配件规范(40号表)》.pdf
  • ASTM F438-2015 Standard Specification for Socket-Type Chlorinated Poly(Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 40《套节型氯化聚氯乙烯 (CPVC) 塑料管配件 (表单40) 的标准规格》.pdf ASTM F438-2015 Standard Specification for Socket-Type Chlorinated Poly(Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 40《套节型氯化聚氯乙烯 (CPVC) 塑料管配件 (表单40) 的标准规格》.pdf
  • ASTM F438-2017 Standard Specification for Socket-Type Chlorinated Poly(Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 40《套节型氯化聚氯乙烯(CPVC)塑料管配件(表单40)的标准规格》.pdf ASTM F438-2017 Standard Specification for Socket-Type Chlorinated Poly(Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 40《套节型氯化聚氯乙烯(CPVC)塑料管配件(表单40)的标准规格》.pdf
  • ASTM F439-2006 Standard Specification for Chlorinated Poly (Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 80《氯化聚氯乙烯(PVC)塑料管配件的标准规范 表80》.pdf ASTM F439-2006 Standard Specification for Chlorinated Poly (Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 80《氯化聚氯乙烯(PVC)塑料管配件的标准规范 表80》.pdf
  • ASTM F439-2009 Standard Specification for Chlorinated Poly (Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 80《氯化聚氯乙烯塑料管配件(80号表)的标准规格》.pdf ASTM F439-2009 Standard Specification for Chlorinated Poly (Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 80《氯化聚氯乙烯塑料管配件(80号表)的标准规格》.pdf
  • ASTM F439-2011 Standard Specification for Chlorinated Poly (Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 80《Schedule 80型氯化聚氯乙烯(氯乙烯)(CPVC)塑料管配件的标准规格》.pdf ASTM F439-2011 Standard Specification for Chlorinated Poly (Vinyl Chloride) (CPVC) Plastic Pipe Fittings Schedule 80《Schedule 80型氯化聚氯乙烯(氯乙烯)(CPVC)塑料管配件的标准规格》.pdf
  • 相关搜索

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

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