【计算机类职业资格】三级信息管理技术机试-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 整除时的括号是不能少的,因为|的优先级比低。

展开阅读全文
相关资源
猜你喜欢
  • ISO TR 19905-2-2012 Petroleum and natural gas industries - Site-specific assessment of mobile offshore units - Part 2 Jack-ups commentary and detailed sample ca.pdf ISO TR 19905-2-2012 Petroleum and natural gas industries - Site-specific assessment of mobile offshore units - Part 2 Jack-ups commentary and detailed sample ca.pdf
  • ISO TR 19961-2010 Cranes - Safety code on mobile cranes《起重机 移动式起重机的安全规程》.pdf ISO TR 19961-2010 Cranes - Safety code on mobile cranes《起重机 移动式起重机的安全规程》.pdf
  • ISO TR 19972-1-2009 Hydraulic fluid power - Methods to assess the reliability of hydraulic components - Part 1 General procedures and calculation method《液压传动 液压.pdf ISO TR 19972-1-2009 Hydraulic fluid power - Methods to assess the reliability of hydraulic components - Part 1 General procedures and calculation method《液压传动 液压.pdf
  • ISO TR 20152-3-2013 Timber structures - Bond performance of adhesives - Part 3 Use of alternative species for bond tests《木结构 阻粘剂粘结性能 第3部分 粘合试验用替代种类的使用》.pdf ISO TR 20152-3-2013 Timber structures - Bond performance of adhesives - Part 3 Use of alternative species for bond tests《木结构 阻粘剂粘结性能 第3部分 粘合试验用替代种类的使用》.pdf
  • ISO TR 20183-2015 Sports and other recreational facilities and equipment - Injury and safety definitions and thresholds - Guidelines for their inclusion in stan.pdf ISO TR 20183-2015 Sports and other recreational facilities and equipment - Injury and safety definitions and thresholds - Guidelines for their inclusion in stan.pdf
  • ISO TR 20432 CORR 1-2008 Guidelines for the determination of the long-term strength of geosynthetics for soil reinforcement Technical Corrigendum 1《土壤加固用土工布的长期加.pdf ISO TR 20432 CORR 1-2008 Guidelines for the determination of the long-term strength of geosynthetics for soil reinforcement Technical Corrigendum 1《土壤加固用土工布的长期加.pdf
  • ISO TR 20432-2007 Guidelines for the determination of the long-term strength of geosynthetics for soil reinforcement《土壤加固用土工布的长期加固强度的测定指南》.pdf ISO TR 20432-2007 Guidelines for the determination of the long-term strength of geosynthetics for soil reinforcement《土壤加固用土工布的长期加固强度的测定指南》.pdf
  • ISO TR 20461 CORR 1-2008 Determination of uncertainty for volume measurements made using the gravimetric method Technical Corrigendum 1《采用重力测量法测定已测容积的不准确度 技术勘误1.pdf ISO TR 20461 CORR 1-2008 Determination of uncertainty for volume measurements made using the gravimetric method Technical Corrigendum 1《采用重力测量法测定已测容积的不准确度 技术勘误1.pdf
  • ISO TR 20461-2000 Determination of uncertainty for volume measurements made using the gravimetric method《用重量法对测量的不准确度的测定》.pdf ISO TR 20461-2000 Determination of uncertainty for volume measurements made using the gravimetric method《用重量法对测量的不准确度的测定》.pdf
  • 相关搜索

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

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