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

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

国家三级(网络技术)机试模拟试卷 134及答案与解析 一、程序设计题 1 国家三级(网络技术)机试模拟试卷 134答案与解析 一、程序设计题 1 【正确答案】 【试题解析】 首先,本题要定义多个变量,包括两个循环变量循环 i、 j,一个用于数据交换的整型变量 ab,以及分别用来存放四位数分解之后各位数的变量qw(千位 )、 bw(百位 )、 sw(十位 )和 gw(个位 )。 通过 flor循环依次对数组中的每个四位数进行分解,每分解一个四位数,根据题目要求,判断其 “千位 =百位 =十位 =个位 ”的条件是否满足,并通过ai 2=0表达式判断该四位数是否为偶数,各判断表达式之间用 &运算符进行连接,当满足条件时,则将 ai的值赋给数组变量 bcnt,同时数组下标变量 cnt的值加 1。循环结束后,所有满足条件的四位数都将保存到数组 bcnq中。 将所有的四位数判断完毕后,最后通过两个 for循环,对 bcnt数组中的元素按从小到大的顺序排序。

展开阅读全文
相关资源
猜你喜欢
  • AECMA PREN 4616-2004 Aerospace series Magnesium alloy MG-C18002 T4 Chill casting Edition P 1《航空航天系列.镁合金MG-C18002 T4冷硬铸件.P1版》.pdf AECMA PREN 4616-2004 Aerospace series Magnesium alloy MG-C18002 T4 Chill casting Edition P 1《航空航天系列.镁合金MG-C18002 T4冷硬铸件.P1版》.pdf
  • AECMA PREN 4617-2004 Aerospace series Recommended practices for standardising company standards Edition P 1《航空航天系列.标准版操作规程建议.P1版》.pdf AECMA PREN 4617-2004 Aerospace series Recommended practices for standardising company standards Edition P 1《航空航天系列.标准版操作规程建议.P1版》.pdf
  • AECMA PREN 4618-2004 Aerospace series Aircraft internal air quality standards criteria and determination methods Edition P 1《航空航天系列.航行器内部空气质量标准和决定方法.P1版》.pdf AECMA PREN 4618-2004 Aerospace series Aircraft internal air quality standards criteria and determination methods Edition P 1《航空航天系列.航行器内部空气质量标准和决定方法.P1版》.pdf
  • AECMA PREN 4619-2008 Aerospace series Inserts MJ threads self-locking with self-broaching keys Installation and removal procedure Edition P 1《带MJ螺纹及自动拉削键的自锁式航空航天系列插件的安装及拆卸规程 P1版》.pdf AECMA PREN 4619-2008 Aerospace series Inserts MJ threads self-locking with self-broaching keys Installation and removal procedure Edition P 1《带MJ螺纹及自动拉削键的自锁式航空航天系列插件的安装及拆卸规程 P1版》.pdf
  • AECMA PREN 4620-2008 Aerospace series Inserts MJ threads self-locking with self-broaching keys Design standard Edition P 1《航空航天系列插件 自锁 自削钥匙设计标准MJ螺纹 第P1版》.pdf AECMA PREN 4620-2008 Aerospace series Inserts MJ threads self-locking with self-broaching keys Design standard Edition P 1《航空航天系列插件 自锁 自削钥匙设计标准MJ螺纹 第P1版》.pdf
  • AECMA PREN 4621-2008 Aerospace series Inserts MJ threads self-locking with self-broaching keys Technical specification Edition P 1《带MJ螺纹及自动拉削键的自锁式航空航天系列插件机的安装及拆卸规程 P1版》.pdf AECMA PREN 4621-2008 Aerospace series Inserts MJ threads self-locking with self-broaching keys Technical specification Edition P 1《带MJ螺纹及自动拉削键的自锁式航空航天系列插件机的安装及拆卸规程 P1版》.pdf
  • AECMA PREN 4622-2008 Aerospace series Inserts MJ threads self-locking with self-broaching keys in heat resisting steel FE-PA2601 (A286) MoS2 coated Edition P 1《航空航天系列插件 耐热钢FE-PA260.pdf AECMA PREN 4622-2008 Aerospace series Inserts MJ threads self-locking with self-broaching keys in heat resisting steel FE-PA2601 (A286) MoS2 coated Edition P 1《航空航天系列插件 耐热钢FE-PA260.pdf
  • AECMA PREN 4623-2008 Aerospace series Inserts MJ threads self-locking with self-broaching keys in heat resisting nickel base alloy NI-PH2601 (Inconel 718) silver plated Edition P 1.pdf AECMA PREN 4623-2008 Aerospace series Inserts MJ threads self-locking with self-broaching keys in heat resisting nickel base alloy NI-PH2601 (Inconel 718) silver plated Edition P 1.pdf
  • AECMA PREN 4624-2008 Aerospace series Inserts MJ threads self-locking with self-broaching keys in heat resisting nickel base alloy NI-PH1302 (Waspaloy) silver plated Edition P 1《航空.pdf AECMA PREN 4624-2008 Aerospace series Inserts MJ threads self-locking with self-broaching keys in heat resisting nickel base alloy NI-PH1302 (Waspaloy) silver plated Edition P 1《航空.pdf
  • 相关搜索

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

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