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

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

国家三级(网络技术)机试-试卷 8 及答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_国家三级(网络技术)机试-试卷 8 答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_正确答案:(正确答案: )解析:解析:定义整型循环变量 i 和长整型变量:num。 在 for 循环语句中,循环变量 i 从 0 开始,依次递增直到其值等于或大于 N 时,结束循环。在循环体中,把数组元素 xxi的数据类型通过强制数据类型转换成长整型数据所得的整数赋给变量 num,再把 num 的值累加到变量 sumint,用数组元素 xxi的值减去 num 的值就得到 xxi的小数部分,把这个值累加到变量 sumdec。把数组元素 xxi累加到变量aver。 退出循环后,用变量 aver 的值除 N 就得到了这 N 个实数的平均值,赋给变量 aver。

展开阅读全文
相关资源
猜你喜欢
  • IEC 60966-2-1-2008 Radio frequency and coaxial cable assemblies - Part 2-1 Sectional specification for flexible coaxial cable assemblies《射频和同轴电缆组件.第2-1部分 柔软同轴电缆组件分规范》.pdf IEC 60966-2-1-2008 Radio frequency and coaxial cable assemblies - Part 2-1 Sectional specification for flexible coaxial cable assemblies《射频和同轴电缆组件.第2-1部分 柔软同轴电缆组件分规范》.pdf
  • IEC 60966-2-2-2003 Radio frequency and coaxial cable assemblies - Part 2-2 Blank detail specification for flexible coaxial cable assemblies《射频同轴电缆组件.第2-2部分 柔软同轴电缆组件空白详细规范》.pdf IEC 60966-2-2-2003 Radio frequency and coaxial cable assemblies - Part 2-2 Blank detail specification for flexible coaxial cable assemblies《射频同轴电缆组件.第2-2部分 柔软同轴电缆组件空白详细规范》.pdf
  • IEC 60966-3-1-2009 Radio frequency and coaxial cable assemblies - Part 3-1 Blank detail specification for semi-flexible coaxial cable assemblies《射频和同轴电缆组件.第3-1部分 半柔软同轴电缆组件用空白详细规范》.pdf IEC 60966-3-1-2009 Radio frequency and coaxial cable assemblies - Part 3-1 Blank detail specification for semi-flexible coaxial cable assemblies《射频和同轴电缆组件.第3-1部分 半柔软同轴电缆组件用空白详细规范》.pdf
  • IEC 60966-3-2008 Radio frequency and coaxial cable assemblies - Part 3 Sectional specification for semi-flexible coaxial cable assemblies《射频和同轴电缆组件.第3部分 半柔软同轴电缆组件分规范》.pdf IEC 60966-3-2008 Radio frequency and coaxial cable assemblies - Part 3 Sectional specification for semi-flexible coaxial cable assemblies《射频和同轴电缆组件.第3部分 半柔软同轴电缆组件分规范》.pdf
  • IEC 60966-4-1-2003 Radio frequency and coaxial cable assemblies - Part 4-1 Blank detail specification for semi-rigid coaxial cable assemblies《射频同轴电缆组件.第4-1部分 半硬同轴电缆组件空白详细规范》.pdf IEC 60966-4-1-2003 Radio frequency and coaxial cable assemblies - Part 4-1 Blank detail specification for semi-rigid coaxial cable assemblies《射频同轴电缆组件.第4-1部分 半硬同轴电缆组件空白详细规范》.pdf
  • IEC 60968 CORR 1-2015 Self-ballasted fluorescent lamps for general lighting services - Safety requirements Corrigendum 1《普通照明用自镇流荧光灯.安全性要求 勘误1》.pdf IEC 60968 CORR 1-2015 Self-ballasted fluorescent lamps for general lighting services - Safety requirements Corrigendum 1《普通照明用自镇流荧光灯.安全性要求 勘误1》.pdf
  • IEC 60968-2015 Self-ballasted fluorescent lamps for general lighting services - Safety requirements《普通照明用自镇流荧光灯.安全性要求》.pdf IEC 60968-2015 Self-ballasted fluorescent lamps for general lighting services - Safety requirements《普通照明用自镇流荧光灯.安全性要求》.pdf
  • IEC 60969 CORR 1-2017 Self-ballasted compact fluorescent lamps for general lighting services - Performance requirements Corrigendum 1《一般照明用自镇流荧光灯 性能要求 勘误表1》.pdf IEC 60969 CORR 1-2017 Self-ballasted compact fluorescent lamps for general lighting services - Performance requirements Corrigendum 1《一般照明用自镇流荧光灯 性能要求 勘误表1》.pdf
  • IEC 60969-2016 Self-ballasted compact fluorescent lamps for general lighting services - Performance requirements《一般照明用自镇流荧光灯.性能要求》.pdf IEC 60969-2016 Self-ballasted compact fluorescent lamps for general lighting services - Performance requirements《一般照明用自镇流荧光灯.性能要求》.pdf
  • 相关搜索

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

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