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

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

国家三级(网络技术)机试-试卷 74 及答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_国家三级(网络技术)机试-试卷 74 答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_正确答案:(正确答案: )解析:解析:首先定义循环变量 i,然后将 i 的值赋初值为 3,每循环一次则将 i 的值加 1,直到i90。 在 for 循环中,每执行一次循环则调用函数 isPrime()(该函数具体的算法已经在源程序中给出,直接调用即可),对 i、i+4、i+10 是否同时是素数进行判断,如果这三个数同时为素数,则计数变量cnt 值加 1,同将时将变量 i 的值累加到 sum 上。

展开阅读全文
相关资源
猜你喜欢
  • IEC 62026-1-2007 Low-voltage switchgear and controlgear - Controller-device interfaces (CDIs) - Part 1 General rules《低压开关装置和控制装置.控制器装置接口(CDIs).第1部分 一般规则》.pdf IEC 62026-1-2007 Low-voltage switchgear and controlgear - Controller-device interfaces (CDIs) - Part 1 General rules《低压开关装置和控制装置.控制器装置接口(CDIs).第1部分 一般规则》.pdf
  • IEC 62026-2-2008 Low-voltage switchgear and controlgear - Controller-device interfaces (CDIs) - Part 2 Actuator sensor interface (AS-i)《低压开关装置和控制装置.控制器-器件的接口(CDIs) 第2部分 操动件敏感元件接口(AS-i)》.pdf IEC 62026-2-2008 Low-voltage switchgear and controlgear - Controller-device interfaces (CDIs) - Part 2 Actuator sensor interface (AS-i)《低压开关装置和控制装置.控制器-器件的接口(CDIs) 第2部分 操动件敏感元件接口(AS-i)》.pdf
  • IEC 62026-3-2014 Low-voltage switchgear and controlgear - Controller-device interfaces (CDIs) - Part 3 DeviceNet《低压开关设备和控制设备.控制器-器件的接口(CDIs).第3部分 器件网络》.pdf IEC 62026-3-2014 Low-voltage switchgear and controlgear - Controller-device interfaces (CDIs) - Part 3 DeviceNet《低压开关设备和控制设备.控制器-器件的接口(CDIs).第3部分 器件网络》.pdf
  • IEC 62026-7-2010 Low-voltage switchgear and controlgear - Controller-device interfaces (CDIs) - Part 7 CompoNet《低压开关装置和控制器.控制器装置接口(CDIs).第7部分 混合网络》.pdf IEC 62026-7-2010 Low-voltage switchgear and controlgear - Controller-device interfaces (CDIs) - Part 7 CompoNet《低压开关装置和控制器.控制器装置接口(CDIs).第7部分 混合网络》.pdf
  • IEC 62028-2002 General methods of measurement for digital television receivers《数字电视接收机测量的通用方法》.pdf IEC 62028-2002 General methods of measurement for digital television receivers《数字电视接收机测量的通用方法》.pdf
  • IEC 62032-2012 Guide for the Application Specification and Testing of Phase-Shifting Transformers《移相变压器的应用、规范和测试指南》.pdf IEC 62032-2012 Guide for the Application Specification and Testing of Phase-Shifting Transformers《移相变压器的应用、规范和测试指南》.pdf
  • IEC 62035-2014 Discharge lamps (excluding fluorescent lamps) - Safety specifications《放电灯(荧光灯除外) 安全规范》.pdf IEC 62035-2014 Discharge lamps (excluding fluorescent lamps) - Safety specifications《放电灯(荧光灯除外) 安全规范》.pdf
  • IEC 62037-1-2012 Passive RF and microwave devices Intermodulation level measurement - Part 1 General requirements and measuring methods《无源无线电频率(r.f.)和微波器件 互调电平测量.第1部分 通用要求和测量方法》.pdf IEC 62037-1-2012 Passive RF and microwave devices Intermodulation level measurement - Part 1 General requirements and measuring methods《无源无线电频率(r.f.)和微波器件 互调电平测量.第1部分 通用要求和测量方法》.pdf
  • IEC 62037-2-2012 Passive r.f and microwave devices Intermodulation level measurement - Part 2 Measurement of passive intermodulation in coaxial assemblies《无源无线电频率(RF)和微波器件 内调水平测量.第2部分 同轴组件装配中的无源互调.pdf IEC 62037-2-2012 Passive r.f and microwave devices Intermodulation level measurement - Part 2 Measurement of passive intermodulation in coaxial assemblies《无源无线电频率(RF)和微波器件 内调水平测量.第2部分 同轴组件装配中的无源互调.pdf
  • 相关搜索

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

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