【计算机类职业资格】三级信息管理技术机试-227及答案解析.doc

上传人:outsidejudge265 文档编号:1320696 上传时间:2019-10-17 格式:DOC 页数:2 大小:30KB
下载 相关 举报
【计算机类职业资格】三级信息管理技术机试-227及答案解析.doc_第1页
第1页 / 共2页
【计算机类职业资格】三级信息管理技术机试-227及答案解析.doc_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

三级信息管理技术机试-227 及答案解析(总分:100.00,做题时间:90 分钟)一、上机题(总题数:1,分数:100.00)1.试题要求如图 10.8 所示。(分数:100.00)_三级信息管理技术机试-227 答案解析(总分:100.00,做题时间:90 分钟)一、上机题(总题数:1,分数:100.00)1.试题要求如图 10.8 所示。(分数:100.00)_正确答案:(void jsVal()int i, gw, sw, be, qw, temp, j;int a, b;for(i=0; i200; i+)gw=ai%10;sw=ai%100/10;bw=ai%1000/100;qw=ai/1000;a=10 *gw+qw;b=10 *bw+sw;if(a%2=1b%2=0)(a%9=0|b%9=0)(gw!=0bw!=0)bcnt=ai;cnt+;for(i=0;icnt-1; i+)for(j=i+1; jcnt; j+)if(bibj)temp=bi;bi=bj;bj=temp;)解析:解析 此题先要求出每个四位数的个位、十位、百位、千位并按题目进行选择,满足要求的四位数将其放入 b 数组中,并对 b 数组进行排序,在此是用冒泡排序的思想进行排序的。注意在判断至少有一个能被 9 整除时的括号是不能少的,因为|的优先级比低。

展开阅读全文
相关资源
猜你喜欢
  • IEC 61171-1992 Radiation protection instrumentation monitoring equipment atmospheric radioactive iodines in the environment《辐射防护仪表 监测装置 环境中的大气放射性碘》.pdf IEC 61171-1992 Radiation protection instrumentation monitoring equipment atmospheric radioactive iodines in the environment《辐射防护仪表 监测装置 环境中的大气放射性碘》.pdf
  • IEC 61172-1992 Radiation protection instrumentation monitoring equipment radioactive aerosols in the environment《辐射防护仪表 监测装置 环境中的放射性溶胶》.pdf IEC 61172-1992 Radiation protection instrumentation monitoring equipment radioactive aerosols in the environment《辐射防护仪表 监测装置 环境中的放射性溶胶》.pdf
  • IEC 61174-2015 Maritime navigation and radiocommunication equipment and systems - Electronic chart display and information system (ECDIS) - Operational and performance requirements.pdf IEC 61174-2015 Maritime navigation and radiocommunication equipment and systems - Electronic chart display and information system (ECDIS) - Operational and performance requirements.pdf
  • IEC 61175-1-2015 Industrial systems installations and equipment and industrial products designation of signals - Part 1 Basic rules《工业系统、装置和设备以及工业产品.信号的标识.第1部分 基本规则》.pdf IEC 61175-1-2015 Industrial systems installations and equipment and industrial products designation of signals - Part 1 Basic rules《工业系统、装置和设备以及工业产品.信号的标识.第1部分 基本规则》.pdf
  • IEC 61176-1993 Hand-held electric mains voltage operated circular saws methods for measuring the performance《手持式市电供电的电动圆锯 性能测试方法》.pdf IEC 61176-1993 Hand-held electric mains voltage operated circular saws methods for measuring the performance《手持式市电供电的电动圆锯 性能测试方法》.pdf
  • IEC 61179-1993 Helical-scan digital composite video cassette recording system using 19 mm magnetic tape format D2 (NTSC PAL PAL-M)《使用D2(NTSC、PAL、PAL-M)格式19mm磁带的螺旋扫描复合盒式数字录像系统》.pdf IEC 61179-1993 Helical-scan digital composite video cassette recording system using 19 mm magnetic tape format D2 (NTSC PAL PAL-M)《使用D2(NTSC、PAL、PAL-M)格式19mm磁带的螺旋扫描复合盒式数字录像系统》.pdf
  • IEC 61180-2016 High-voltage test techniques for low-voltage equipment - Definitions test and procedure requirements test equipment《低压设备的高压试验技术.定义、试验和程序要求 试验设备 》.pdf IEC 61180-2016 High-voltage test techniques for low-voltage equipment - Definitions test and procedure requirements test equipment《低压设备的高压试验技术.定义、试验和程序要求 试验设备 》.pdf
  • IEC 61181 Edition 2.1-2012 Mineral oil-filled electrical equipment - Application of dissolved gas analysis (DGA) to factory tests on electrical equipment《充矿物油电气设备.电气设备出厂试验的溶解气体分析(DGA)应用》.pdf IEC 61181 Edition 2.1-2012 Mineral oil-filled electrical equipment - Application of dissolved gas analysis (DGA) to factory tests on electrical equipment《充矿物油电气设备.电气设备出厂试验的溶解气体分析(DGA)应用》.pdf
  • IEC 61181-2007 Mineral oil-filled electrical equipment - Application of dissolved gas analysis (DGA) to factory tests on electrical equipment《填充矿物油的电气设备.溶解气体分析(DGA)用于电气设备工厂试验》.pdf IEC 61181-2007 Mineral oil-filled electrical equipment - Application of dissolved gas analysis (DGA) to factory tests on electrical equipment《填充矿物油的电气设备.溶解气体分析(DGA)用于电气设备工厂试验》.pdf
  • 相关搜索

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

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