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

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

国家三级(网络技术)机试模拟试卷 124及答案与解析 一、程序设计题 1 国家三级(网络技术)机试模拟试卷 124答案与解析 一、程序设计题 1 【正确答案】 【试题解析】 首先定义两个循环变量循环 i、 j和一个用于数据交换的整型变量m。 然后通过两个 for循环对数组 aa中的两个相邻元素按照其后三位值的大小进行从小到大的排序,本题中已给出所有的整数都是四位数,因此,可以通过aai 1000或 aaj 1 000计算得到当前数组元素的后三位值,然后再进行比较,如果两个数需要转换位置,可通过中间变量 m进行转换。 上一步骤是两个元素后三位不相同的情况,根据题意,需要再增加一个 else if语句判断两个相邻元素的后三位数一样的情况,如果相同,则需要继续判断两个四位数的大小,并按从大小的顺序排序。 最后,通过一个 for循环依次读取 aai数组中前 10个元素并保存到数组 bbi中。

展开阅读全文
相关资源
猜你喜欢
  • BS PD IEC TR 63039-2016 Probabilistic risk analysis of technological systems Estimation of final event rate at a given initial state《技术系统的概率风险分析 评估给定初始状态下的最终事件率》.pdf BS PD IEC TR 63039-2016 Probabilistic risk analysis of technological systems Estimation of final event rate at a given initial state《技术系统的概率风险分析 评估给定初始状态下的最终事件率》.pdf
  • BS PD IEC TR 63040-2016 Guidance on clearances and creepage distances in particular for distances equal to or less than 2 mm Test results of research on influencing parame.pdf BS PD IEC TR 63040-2016 Guidance on clearances and creepage distances in particular for distances equal to or less than 2 mm Test results of research on influencing parame.pdf
  • BS PD IEC TR 63051-2017 Documentation on design automation subjects Mathematical algorithm hardware description languages for system level modeling and verification (HDLMa.pdf BS PD IEC TR 63051-2017 Documentation on design automation subjects Mathematical algorithm hardware description languages for system level modeling and verification (HDLMa.pdf
  • BS PD IEC TR 63065-2017 Guidelines for operation and maintenance of line commutated converter (LCC) HVDC converter station《线路换向换流器(LCC)HVDC换流站运行和维护指南》.pdf BS PD IEC TR 63065-2017 Guidelines for operation and maintenance of line commutated converter (LCC) HVDC converter station《线路换向换流器(LCC)HVDC换流站运行和维护指南》.pdf
  • BS PD IEC TR 63079-2017 Code of practice for hearing-loop systems (HLS)《听力回路系统操作规程》.pdf BS PD IEC TR 63079-2017 Code of practice for hearing-loop systems (HLS)《听力回路系统操作规程》.pdf
  • BS PD IEC TR 63099-1-2017 Transmitting equipment for radiocommunication Radio-over-fibre technologies for electromagnetic-field measurement Radio-over-fibre technologies f.pdf BS PD IEC TR 63099-1-2017 Transmitting equipment for radiocommunication Radio-over-fibre technologies for electromagnetic-field measurement Radio-over-fibre technologies f.pdf
  • BS PD IEC TR 80001-2-8-2016 Application of risk management for IT-networks incorporating medical devices Application guidance Guidance on standards for establishing the se.pdf BS PD IEC TR 80001-2-8-2016 Application of risk management for IT-networks incorporating medical devices Application guidance Guidance on standards for establishing the se.pdf
  • BS PD IEC TR 80001-2-9-2017 Application of risk management for it-networks incorporating medical devices Application guidance Guidance for use of security assurance cases .pdf BS PD IEC TR 80001-2-9-2017 Application of risk management for it-networks incorporating medical devices Application guidance Guidance for use of security assurance cases .pdf
  • BS PD IEC TR 80002-3-2014 Medical device software Process reference model of medical device software life cycle processes (IEC 62304)《医疗器械软件 医疗器械软件生命周期过程的流程参考模式 (IEC 62304.pdf BS PD IEC TR 80002-3-2014 Medical device software Process reference model of medical device software life cycle processes (IEC 62304)《医疗器械软件 医疗器械软件生命周期过程的流程参考模式 (IEC 62304.pdf
  • 相关搜索

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

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