【计算机类职业资格】国家三级(网络技术)机试-试卷52及答案解析.doc

上传人:fuellot230 文档编号:1331090 上传时间:2019-10-17 格式:DOC 页数:2 大小:29.50KB
下载 相关 举报
【计算机类职业资格】国家三级(网络技术)机试-试卷52及答案解析.doc_第1页
第1页 / 共2页
【计算机类职业资格】国家三级(网络技术)机试-试卷52及答案解析.doc_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

国家三级(网络技术)机试-试卷 52 及答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_国家三级(网络技术)机试-试卷 52 答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_正确答案:(正确答案: )解析:解析:首先定义循环变量 i,并对全局变量 cnt1、cnt2 和 pj 赋初值 0。 在 for 循环语句中,将数组 xx 中的每个数组元素 xxi对 2 求余数,如果余数非零,则说明 xxi是奇数,奇数的个数变量cnt1 加 1,否则,偶数的计数变量 cnt2 加 1;接着将数组 xx 下标 i 对 2 求余,如果余数等于 0,则把xxi的值累加到变量 pj。 退出循环时,变量 pj 的值除以 100.0 就得到数组 xx 下标 i 为偶数的元素值的算术平均值 pj(因为数组中共有 200 个数组,下标为奇偶数的元素各占一半,因此直接将累加变量 pj的值直接除 100 即可得到这些数的平均值)。

展开阅读全文
相关资源
猜你喜欢
  • NF T75-417-1988 Essential oils Oil of cinnamom (cinnamonum zeylanicum blume) Determination of eugenol content Gas chromatographic method on packed and capillary column 《香精油 斯里兰卡桂皮香.pdf NF T75-417-1988 Essential oils Oil of cinnamom (cinnamonum zeylanicum blume) Determination of eugenol content Gas chromatographic method on packed and capillary column 《香精油 斯里兰卡桂皮香.pdf
  • NF T75-423-1998 Oil of cassia Chinese type Determination of trans-cinnamaldehyde content Gas chromatographic method on capillary columns 《中国型肉桂油 trans-肉桂醛含量的测定 毛细管柱气相色谱法》.pdf NF T75-423-1998 Oil of cassia Chinese type Determination of trans-cinnamaldehyde content Gas chromatographic method on capillary columns 《中国型肉桂油 trans-肉桂醛含量的测定 毛细管柱气相色谱法》.pdf
  • NF T75-450-1983 Essential oils General procedure for analysis by high pressure liquid chromatography (hplc) 《香精油 用高压液体色谱法分析用一般程序》.pdf NF T75-450-1983 Essential oils General procedure for analysis by high pressure liquid chromatography (hplc) 《香精油 用高压液体色谱法分析用一般程序》.pdf
  • NF T75-500-1-1999 Essential oils General guidance on chromatographic profiles Part 1  preparation of chromatographic profiles for presentation in standards 《香精油 色谱图通用指南 第1部分 标准中表示用.pdf NF T75-500-1-1999 Essential oils General guidance on chromatographic profiles Part 1 preparation of chromatographic profiles for presentation in standards 《香精油 色谱图通用指南 第1部分 标准中表示用.pdf
  • NF T75-500-2-1999 Essential oils General guidance on chromatographic profiles Part 2  utilization of chromatographic profiles of samples of essential oils 《香精油 色谱图通用指南 第2部分 香精油样品色谱.pdf NF T75-500-2-1999 Essential oils General guidance on chromatographic profiles Part 2 utilization of chromatographic profiles of samples of essential oils 《香精油 色谱图通用指南 第2部分 香精油样品色谱.pdf
  • NF T75-506-1999 Essential oils Evaluation of non volatile residu content General gas chromatographic method on packed and capillary column 《香精油 非挥发性残余物含量的评价 填充柱和毛细管柱通用气相色谱法》.pdf NF T75-506-1999 Essential oils Evaluation of non volatile residu content General gas chromatographic method on packed and capillary column 《香精油 非挥发性残余物含量的评价 填充柱和毛细管柱通用气相色谱法》.pdf
  • NF T75-511-1998 Essential oils and aromatic extracts Determination of residual benzene content 《香精油和芳烃萃取物 残留苯含量的测定》.pdf NF T75-511-1998 Essential oils and aromatic extracts Determination of residual benzene content 《香精油和芳烃萃取物 残留苯含量的测定》.pdf
  • NF T76-003-1998 Adhesives Determination of acid value 《粘接剂 酸值测定》.pdf NF T76-003-1998 Adhesives Determination of acid value 《粘接剂 酸值测定》.pdf
  • NF T76-005-1998 Adhesive - Determination of the colour and or colour changes of adhesive coats under the influence of light 《粘接剂 在光线影响下测定粘接剂涂层的颜色变化和 或颜色》.pdf NF T76-005-1998 Adhesive - Determination of the colour and or colour changes of adhesive coats under the influence of light 《粘接剂 在光线影响下测定粘接剂涂层的颜色变化和 或颜色》.pdf
  • 相关搜索

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

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