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

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

1、计算机二级 JAVA-156 (1)及答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序是一个 Applet,页面中包括两个列表和两个文本域,第一个列表列出了要计算的表达式,第二个列表列出计算表达式中的项数,点击第一个列表中的项选中要计算的表达式并显示在第一个文本域中,双击第二个列表要计算的项数,就能在第二个文本域中输出计算结果,如图所示。 (分数:30.00)_2.本程序是一个 Applet,页面中有一个列表和一个面板,列表中列出了系统中所有的字体,选中列表中的字体后,右侧文本的字体会随之改变(初始状态右侧面板中没有文本,选中一种字

2、体后,将以该字体显示文本“欢迎学习 Java!”),如图所示。 (分数:30.00)_3.本程序是一个 Applet,页面中有一个按钮“横向移动”和一个标签“我可以被种植”,初始单击按钮时,按钮做横向向右移动,碰到标签后标签消失,并且按钮的名称变为“纵向移动”,如果继续单击按钮,则按钮做纵向向下移动,如图所示。 (分数:40.00)_计算机二级 JAVA-156 (1)答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序是一个 Applet,页面中包括两个列表和两个文本域,第一个列表列出了要计算的表达式,第二个列表列出计算表达式中的项数

3、,点击第一个列表中的项选中要计算的表达式并显示在第一个文本域中,双击第二个列表要计算的项数,就能在第二个文本域中输出计算结果,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:list2.addActionListener(this) 第 2 处:index2.本程序是一个 Applet,页面中有一个列表和一个面板,列表中列出了系统中所有的字体,选中列表中的字体后,右侧文本的字体会随之改变(初始状态右侧面板中没有文本,选中一种字体后,将以该字体显示文本“欢迎学习 Java!”),如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:i 第 2 处:text.setFont(f)3.本程序是一个 Applet,页面中有一个按钮“横向移动”和一个标签“我可以被种植”,初始单击按钮时,按钮做横向向右移动,碰到标签后标签消失,并且按钮的名称变为“纵向移动”,如果继续单击按钮,则按钮做纵向向下移动,如图所示。 (分数:40.00)_正确答案:()解析:第 1 处:Rectangle 第 2 处:label.getBounds()

展开阅读全文
相关资源
猜你喜欢
  • NC 02-07-22-1984 Unified System for Design Documentation Conventional Graphic Symbols in Electric Diagrams Magnetostrictive and Plezoelectric Elements Delay Lines Electromechanic F.pdf NC 02-07-22-1984 Unified System for Design Documentation Conventional Graphic Symbols in Electric Diagrams Magnetostrictive and Plezoelectric Elements Delay Lines Electromechanic F.pdf
  • NC 02-07-54-1984 Unified System for Design Documentation Conventional Graphic Symbols in Diagrams Vacuum Systems Elements《设计文档规范格式 常用图解符号 真空系统中的元件》.pdf NC 02-07-54-1984 Unified System for Design Documentation Conventional Graphic Symbols in Diagrams Vacuum Systems Elements《设计文档规范格式 常用图解符号 真空系统中的元件》.pdf
  • NC 02-07-55-1985 Unified System for Design Documentation Conventíonal Graphic Symbols in Schemes Elements and Devices for Railway Signalling Centralization and Blocking《设计文档规范格式 常用.pdf NC 02-07-55-1985 Unified System for Design Documentation Conventíonal Graphic Symbols in Schemes Elements and Devices for Railway Signalling Centralization and Blocking《设计文档规范格式 常用.pdf
  • NC 02-07-57-1985 Unified System for Design Documentation Conventional Graphic Symbols for Piping Identification Depending on the Flowing Liquids Rules for Its Representation in Dra.pdf NC 02-07-57-1985 Unified System for Design Documentation Conventional Graphic Symbols for Piping Identification Depending on the Flowing Liquids Rules for Its Representation in Dra.pdf
  • NC 02-07-58-1985 Unified System for Design Dooumentation Conventional Graphic Symbols in Electrio Schemes Frequenoies and Frequenoy Ranges《设计文件的规范格式 电气方案中常用的图解符号 频率范围》.pdf NC 02-07-58-1985 Unified System for Design Dooumentation Conventional Graphic Symbols in Electrio Schemes Frequenoies and Frequenoy Ranges《设计文件的规范格式 电气方案中常用的图解符号 频率范围》.pdf
  • NC 02-07-59-1988 Unified System for Design Dooumentation Conventional Graphic Symbols in Electrio Schemes Frequenoies and Frequenoy Ranges《设计文件用的统一格式 电气方案中常用的图解符号 频率和频率范围》.pdf NC 02-07-59-1988 Unified System for Design Dooumentation Conventional Graphic Symbols in Electrio Schemes Frequenoies and Frequenoy Ranges《设计文件用的统一格式 电气方案中常用的图解符号 频率和频率范围》.pdf
  • NC 02-08-1968 Letters and numbers for technical drawings 《技术图纸用的字母和数字》.pdf NC 02-08-1968 Letters and numbers for technical drawings 《技术图纸用的字母和数字》.pdf
  • NC 02-09-02-1-1985 Unified System for Design Documentation Documents Printed in Computers Requirements for Text Documents《设计文件的规范格式 文本打印的计算机要求条件》.pdf NC 02-09-02-1-1985 Unified System for Design Documentation Documents Printed in Computers Requirements for Text Documents《设计文件的规范格式 文本打印的计算机要求条件》.pdf
  • NC 02-09-02-2-1985 Unified System for Design Docuraentation Documents Printed in Computers Basic Requirements for Printed Documents《设计文件的规范格式 打印文档的基本要求》.pdf NC 02-09-02-2-1985 Unified System for Design Docuraentation Documents Printed in Computers Basic Requirements for Printed Documents《设计文件的规范格式 打印文档的基本要求》.pdf
  • 相关搜索

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

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