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

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

1、计算机二级 JAVA-107 (1)及答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序是一个 Applet,页面中有一个面板和两个按钮:“全部清除”和“部分清除”,面板上有上下两个字符串,单击“部分清除”按钮时,画板上方的字符串消失,单击“全部清除”按钮时,则画板上的所有字符串都消失,如图所示。 (分数:30.00)_2.本程序中,主窗口有一个按钮、一个文本域和一个复选框,初始时窗口的大小是不能调整的,选中复选框后,窗口大小就可以进行调整,如果撤销复选框的选择,则窗口的大小不能调整,单击按钮可以关闭程序,如图所示。 (分数:30.0

2、0)_3.本程序中,主窗口有一个按钮、一个文本域和一个复选框,初始时窗口的大小为 100200,选中复选框后,窗口的大小和屏幕的大小相同,取消选中后,屏幕又恢复原来的大小,单击按钮可以退出程序,如图所示。 (分数:40.00)_计算机二级 JAVA-107 (1)答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序是一个 Applet,页面中有一个面板和两个按钮:“全部清除”和“部分清除”,面板上有上下两个字符串,单击“部分清除”按钮时,画板上方的字符串消失,单击“全部清除”按钮时,则画板上的所有字符串都消失,如图所示。 (分数:30.

3、00)_正确答案:()解析:第 1 处:g.clearRect(0,0,width,height) 第 2 处:canvas.setN(0);canvas.repaint()2.本程序中,主窗口有一个按钮、一个文本域和一个复选框,初始时窗口的大小是不能调整的,选中复选框后,窗口大小就可以进行调整,如果撤销复选框的选择,则窗口的大小不能调整,单击按钮可以关闭程序,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:implements ItemListener,ActionListener 第 2 处:setResizable(false)3.本程序中,主窗口有一个按钮、一个文本域和一个复选框,初始时窗口的大小为 100200,选中复选框后,窗口的大小和屏幕的大小相同,取消选中后,屏幕又恢复原来的大小,单击按钮可以退出程序,如图所示。 (分数:40.00)_正确答案:()解析:第 1 处:box.getState()=true 第 2 处:tool.getScreenSize()

展开阅读全文
相关资源
猜你喜欢
  • GOST 17 1 2 04-1977 Nature protection Hydrosphere Indices of state and requlation for valuation survey of tisnery waters《自然保护 水圈 Tisnery水值调查的国家指标和规章制度》.pdf GOST 17 1 2 04-1977 Nature protection Hydrosphere Indices of state and requlation for valuation survey of tisnery waters《自然保护 水圈 Tisnery水值调查的国家指标和规章制度》.pdf
  • GOST 17 1 3 01-1976 Nature protection Hydrosphere Requlations of water objects- protection in timber-rafting《自然保护 水域 浮动木材对水域的保护规则》.pdf GOST 17 1 3 01-1976 Nature protection Hydrosphere Requlations of water objects- protection in timber-rafting《自然保护 水域 浮动木材对水域的保护规则》.pdf
  • GOST 17 1 3 02-1977 Nature protection Hydrosphere Regulations for protection of waters from contamination due to drilling and operation of oil or gas sea wells《自然保护 水域 石油和天然气的海上钻探与.pdf GOST 17 1 3 02-1977 Nature protection Hydrosphere Regulations for protection of waters from contamination due to drilling and operation of oil or gas sea wells《自然保护 水域 石油和天然气的海上钻探与.pdf
  • GOST 17 1 3 04-1982 Nature protection Hydrosphere General requirements for surface and underground water control against pollution by pesticides《自然保护 水域 保护地表水和地下水防杀虫剂污染的一般要求》.pdf GOST 17 1 3 04-1982 Nature protection Hydrosphere General requirements for surface and underground water control against pollution by pesticides《自然保护 水域 保护地表水和地下水防杀虫剂污染的一般要求》.pdf
  • GOST 17 1 3 05-1982 Nature protection Hydrosphere General requirements for surface and underground water protection against pollution by oil and oil products《自然保护 水圈 防止地表水和地下水被油及油制.pdf GOST 17 1 3 05-1982 Nature protection Hydrosphere General requirements for surface and underground water protection against pollution by oil and oil products《自然保护 水圈 防止地表水和地下水被油及油制.pdf
  • GOST 17 1 3 06-1982 Nature protection Hydrosphere General requirements for protection of underground waters《自然保护 水圈 地下水保护的一般要求》.pdf GOST 17 1 3 06-1982 Nature protection Hydrosphere General requirements for protection of underground waters《自然保护 水圈 地下水保护的一般要求》.pdf
  • GOST 17 1 3 07-1982 Nature protection Hydrosphere Procedures for quality control of water in reservoirs and stream flows《自然保护 水圈 水库和河水的质量控制程序》.pdf GOST 17 1 3 07-1982 Nature protection Hydrosphere Procedures for quality control of water in reservoirs and stream flows《自然保护 水圈 水库和河水的质量控制程序》.pdf
  • GOST 17 1 3 08-1982 Nature protection Hydrosphere Procedures for quality control of marine waters《自然保护 水圈 海水的质量控制程序》.pdf GOST 17 1 3 08-1982 Nature protection Hydrosphere Procedures for quality control of marine waters《自然保护 水圈 海水的质量控制程序》.pdf
  • GOST 17 1 3 10-1983 Nature protection Hydrosphere General requirements for surface and underground water control against pollution by oil and oil products while supplying by pipe-l.pdf GOST 17 1 3 10-1983 Nature protection Hydrosphere General requirements for surface and underground water control against pollution by oil and oil products while supplying by pipe-l.pdf
  • 相关搜索

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

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