[计算机类试卷]国家三级(网络技术)机试模拟试卷113及答案与解析.doc

上传人:sumcourage256 文档编号:495615 上传时间:2018-11-28 格式:DOC 页数:4 大小:164.50KB
下载 相关 举报
[计算机类试卷]国家三级(网络技术)机试模拟试卷113及答案与解析.doc_第1页
第1页 / 共4页
[计算机类试卷]国家三级(网络技术)机试模拟试卷113及答案与解析.doc_第2页
第2页 / 共4页
[计算机类试卷]国家三级(网络技术)机试模拟试卷113及答案与解析.doc_第3页
第3页 / 共4页
[计算机类试卷]国家三级(网络技术)机试模拟试卷113及答案与解析.doc_第4页
第4页 / 共4页
亲,该文档总共4页,全部预览完了,如果喜欢就下载吧!
资源描述

国家三级(网络技术)机试模拟试卷 113及答案与解析 一、程序设计题 1 国家三级(网络技术)机试模拟试卷 113答案与解析 一、程序设计题 1 【正确答案】 【试题解析】 定义循环变量 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中元素从小到大的排序。

展开阅读全文
相关资源
猜你喜欢
  • AECMA PREN 2997-016-2009 Aerospace series Connectors electrical circular coupled be threaded ring fire-resistant or non fire-resistant operating temperatures - 65 degree C to 175 de.pdf AECMA PREN 2997-016-2009 Aerospace series Connectors electrical circular coupled be threaded ring fire-resistant or non fire-resistant operating temperatures - 65 degree C to 175 de.pdf
  • AECMA PREN 2998-1986 Aerospace Series Washers Countersunk Heat Resisting Steel Issue P 1《航空航天系列埋头孔耐热钢垫圈P1板》.pdf AECMA PREN 2998-1986 Aerospace Series Washers Countersunk Heat Resisting Steel Issue P 1《航空航天系列埋头孔耐热钢垫圈P1板》.pdf
  • AECMA PREN 3001-1993 Aerospace Series Tempered Float Glass Plies for Aircraft Applications Technical Specification Edition P 1《航空航天系列飞机用卒火玻璃.P1版》.pdf AECMA PREN 3001-1993 Aerospace Series Tempered Float Glass Plies for Aircraft Applications Technical Specification Edition P 1《航空航天系列飞机用卒火玻璃.P1版》.pdf
  • AECMA PREN 3002-1990 Aerospace Series Chromic Acid Anodizing Testing of Adhesives Issue P 1《航空航天系列铬酸阳极电镀黏合剂测试.P1版》.pdf AECMA PREN 3002-1990 Aerospace Series Chromic Acid Anodizing Testing of Adhesives Issue P 1《航空航天系列铬酸阳极电镀黏合剂测试.P1版》.pdf
  • AECMA PREN 3003-2002 Aerospace series Non-Metallic materials Structural adhesives Determination of mass per unit area of film adhesives Test method Edition P 1《航空航天系列非金属物质粘合剂每单位胶膜黏.pdf AECMA PREN 3003-2002 Aerospace series Non-Metallic materials Structural adhesives Determination of mass per unit area of film adhesives Test method Edition P 1《航空航天系列非金属物质粘合剂每单位胶膜黏.pdf
  • AECMA PREN 3004-1989 Aerospace Series Nuts Self Locking in Heat Resisting Steel FE-PA92HT (A286) Classification 1100 MPa 650 Degrees Celsius Technical Specification Issue P 1《航空航天系.pdf AECMA PREN 3004-1989 Aerospace Series Nuts Self Locking in Heat Resisting Steel FE-PA92HT (A286) Classification 1100 MPa 650 Degrees Celsius Technical Specification Issue P 1《航空航天系.pdf
  • AECMA PREN 3005-1989 Aerospace Series Nuts Self-Locking in Heat Resisting Nickel Base Alloy NI-P101HT (Waspaloy) Classification 1210 MPa 730 Degrees Celsius Technical Specification.pdf AECMA PREN 3005-1989 Aerospace Series Nuts Self-Locking in Heat Resisting Nickel Base Alloy NI-P101HT (Waspaloy) Classification 1210 MPa 730 Degrees Celsius Technical Specification.pdf
  • AECMA PREN 3006-1987 Aerospace Series Bolts Hexagon Head Relieved Shank Long Thread in Heat Resisting Steel FE-PA92HT (A286) Classification 900 MPa 650 Degrees Celsius Unplated Iss.pdf AECMA PREN 3006-1987 Aerospace Series Bolts Hexagon Head Relieved Shank Long Thread in Heat Resisting Steel FE-PA92HT (A286) Classification 900 MPa 650 Degrees Celsius Unplated Iss.pdf
  • AECMA PREN 3007-1987 Aerospace Series Bolts Hexagon Head Relieved Shank Long Thread in Heat Resisting Steel FE-PA92HT (A286) Classification 900 MPa 650 Degrees Celsius Silver Plate.pdf AECMA PREN 3007-1987 Aerospace Series Bolts Hexagon Head Relieved Shank Long Thread in Heat Resisting Steel FE-PA92HT (A286) Classification 900 MPa 650 Degrees Celsius Silver Plate.pdf
  • 相关搜索

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

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