【计算机类职业资格】计算机二级JAVA-124 (1)及答案解析.doc

上传人:medalangle361 文档编号:1338193 上传时间:2019-10-17 格式:DOC 页数:3 大小:32.50KB
下载 相关 举报
【计算机类职业资格】计算机二级JAVA-124 (1)及答案解析.doc_第1页
第1页 / 共3页
【计算机类职业资格】计算机二级JAVA-124 (1)及答案解析.doc_第2页
第2页 / 共3页
【计算机类职业资格】计算机二级JAVA-124 (1)及答案解析.doc_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

1、计算机二级 JAVA-124 (1)及答案解析(总分:100.00,做题时间:90 分钟)一、基本操作题(总题数:3,分数:100.00)1.本程序统计各个成绩段的人数,分别为60、60 以及80、80。 public class exam_55 public static void main(String args) int Score=67,90,45,84,76,73,92,37; _; int i=0; while(_) if(Scorei60) sum1+; _ sum2+; else sum3+; i+; System.out.println(“60:“+sum1+“=60 (分数

2、30.00)_2.本程序打印 19 的乘法表。运行结果如图所示。 (分数:30.00)_3.本程序统计 score=37,89,63,60,59,78,91中成绩不及格的人数。 public class exam_57 public static void main(String args) int score=37,89,63,60,59,78,91); int sum=0; int i=0; while(iscore.length) if(scorei=60) _; _; _; i+; System.out.println(“below 60 sum:“+sum); (分数:40.00)

3、计算机二级 JAVA-124 (1)答案解析(总分:100.00,做题时间:90 分钟)一、基本操作题(总题数:3,分数:100.00)1.本程序统计各个成绩段的人数,分别为60、60 以及80、80。 public class exam_55 public static void main(String args) int Score=67,90,45,84,76,73,92,37; _; int i=0; while(_) if(Scorei60) sum1+; _ sum2+; else sum3+; i+; System.out.println(“60:“+sum1+“=60 (分数

4、30.00)_正确答案:()解析:int sum1=0, sum2=0, sum3=0 iscore.length else if (score i80)2.本程序打印 19 的乘法表。运行结果如图所示。 (分数:30.00)_正确答案:()解析:int i, j i10 j=i3.本程序统计 score=37,89,63,60,59,78,91中成绩不及格的人数。 public class exam_57 public static void main(String args) int score=37,89,63,60,59,78,91); int sum=0; int i=0; while(iscore.length) if(scorei=60) _; _; _; i+; System.out.println(“below 60 sum:“+sum); (分数:40.00)_正确答案:()解析:i+(或 i=i+1 或 i+=1) continue sum+(或 sum=sum+1 或 sum+=1)

展开阅读全文
相关资源
猜你喜欢
  • NF X43-003-1966 Atmospheric pollution Method of weight determination of solid particles entrained by combustion gases 《大气污染 燃烧气带有的固体颗粒物的重量测定方法》.pdf NF X43-003-1966 Atmospheric pollution Method of weight determination of solid particles entrained by combustion gases 《大气污染 燃烧气带有的固体颗粒物的重量测定方法》.pdf
  • NF X43-005-1995 Ambient air Determination of black smoke number 《环境空气 黑烟点数的测定》.pdf NF X43-005-1995 Ambient air Determination of black smoke number 《环境空气 黑烟点数的测定》.pdf
  • NF X43-009-1973 Nitrogen dioxyde content of the atmosphere (griess saltzman reaction) 《大气中二氧化氮含量的测定(GRIESS-SALTZMAN反应)》.pdf NF X43-009-1973 Nitrogen dioxyde content of the atmosphere (griess saltzman reaction) 《大气中二氧化氮含量的测定(GRIESS-SALTZMAN反应)》.pdf
  • NF X43-010-1975 Air pollution Determination of a gazeous acid pollution index 《空气污染 燃气的酸污染指数的测定》.pdf NF X43-010-1975 Air pollution Determination of a gazeous acid pollution index 《空气污染 燃气的酸污染指数的测定》.pdf
  • NF X43-011-1975 Air pollution Determination of gaseous sulphur compounds in ambient air sampling equipment and method 《空气污染 周围空气中燃气的硫含量的测定 取样设备和方法》.pdf NF X43-011-1975 Air pollution Determination of gaseous sulphur compounds in ambient air sampling equipment and method 《空气污染 周围空气中燃气的硫含量的测定 取样设备和方法》.pdf
  • NF X43-013-1977 Atmospheric pollution determination of the concentration by mass ofsulphur dioxide in the ambient air analysis by the thorin spectrophotometric method 《大气污染 环境空气中二氧.pdf NF X43-013-1977 Atmospheric pollution determination of the concentration by mass ofsulphur dioxide in the ambient air analysis by the thorin spectrophotometric method 《大气污染 环境空气中二氧.pdf
  • NF X43-015-1976 Air pollution Nitrogen dioxide content of atmospheric air Method of determination by collection on a triethanolamine-impregnated filter 《空气污染 大气中二氧化氮含量的测定 用三乙醇胺浸渍的过.pdf NF X43-015-1976 Air pollution Nitrogen dioxide content of atmospheric air Method of determination by collection on a triethanolamine-impregnated filter 《空气污染 大气中二氧化氮含量的测定 用三乙醇胺浸渍的过.pdf
  • NF X43-016-1977 Method for the determination of an acid gas pollution index(expressed as SO2 equivalent)using a continuous sampling automatic sequential analyser 《用连续取样自动顺序分析仪测定酸性气.pdf NF X43-016-1977 Method for the determination of an acid gas pollution index(expressed as SO2 equivalent)using a continuous sampling automatic sequential analyser 《用连续取样自动顺序分析仪测定酸性气.pdf
  • NF X43-017-1984 Air quality Measurement of the concentration of solid particles in ambient air Beta ray absorption method 《空气质量 周围空气中固体微粒浓度的测定 B射线吸收法》.pdf NF X43-017-1984 Air quality Measurement of the concentration of solid particles in ambient air Beta ray absorption method 《空气质量 周围空气中固体微粒浓度的测定 B射线吸收法》.pdf
  • 相关搜索

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

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