【计算机类职业资格】VB机试章节练习试卷55及答案解析.doc

上传人:deputyduring120 文档编号:1318698 上传时间:2019-10-17 格式:DOC 页数:2 大小:41.50KB
下载 相关 举报
【计算机类职业资格】VB机试章节练习试卷55及答案解析.doc_第1页
第1页 / 共2页
【计算机类职业资格】VB机试章节练习试卷55及答案解析.doc_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

1、VB机试章节练习试卷 55及答案解析(总分:8.00,做题时间:90 分钟)一、简单应用题(总题数:4,分数:8.00)1.简单应用题()(分数:2.00)_2.在考生文件夹中有一个工程文件 execise4.vbp及其窗体文件 execise4.frm。在名为 Form1窗体中有一个文本框,名为 Text1;请在窗体上绘制两个框架,名称分别为 Frame1和 Frame2,标题分别为“性别”和“身份”;在 Frame1中绘制两个单选按钮 Opt1和 Opt2,标题分别为“男”和“女”;在 Frame2中绘制两个单选按钮 Opt3和 Opt4,标题分别为“学生”和“老师”;再绘制一个命令按钮,

2、名为 Cmd1,标题为“确定”。如下图所示。 请编写适当的事件过程,使得在运行时,在 Frame1、Frame2 中各选一个单选按钮,然后单击“确定”按钮,就可以按照下表把结果显示在文本框中。 (分数:2.00)_3.在名为 Form1的窗体上绘制两个图片框,名称分别为 Pic1和 Pie2,高度均为 1900,宽度均为 1700,通过属性窗口把图片文件 pic1bmp 放入 Pic1中,把图片文件 pic2.jpg放入 Pic2 中;再绘制一个命令按钮,名为 Cmd1,标题为 Change Picture,如下图所示。编写适当的事件过程,使得在运行时,如果单击命令按钮,则交换两个图片框中的图

3、片。 (分数:2.00)_4.在考生文件夹中有一个工程文件 execise6.vbp及其窗体文件 execise6.frm。在名为 Form1的窗体上有一个名为 Pic1的图片框:一个单选按钮数组,含 3个单选按钮,标题分别为“正方形”、“三角形”和“圆形”:还有一个标题为“显示”的命令按钮。程序的功能是在运行时,如果选中一个单选按钮后,单击“显示”按钮,则根据单选按钮的选中情况,在图片框中显示“选择了正方形”、“选择了三角形”或“选择了圆形”,如下图所示。 (分数:2.00)_VB机试章节练习试卷 55答案解析(总分:8.00,做题时间:90 分钟)一、简单应用题(总题数:4,分数:8.00

4、)1.简单应用题()(分数:2.00)_解析:2.在考生文件夹中有一个工程文件 execise4.vbp及其窗体文件 execise4.frm。在名为 Form1窗体中有一个文本框,名为 Text1;请在窗体上绘制两个框架,名称分别为 Frame1和 Frame2,标题分别为“性别”和“身份”;在 Frame1中绘制两个单选按钮 Opt1和 Opt2,标题分别为“男”和“女”;在 Frame2中绘制两个单选按钮 Opt3和 Opt4,标题分别为“学生”和“老师”;再绘制一个命令按钮,名为 Cmd1,标题为“确定”。如下图所示。 请编写适当的事件过程,使得在运行时,在 Frame1、Frame2

5、 中各选一个单选按钮,然后单击“确定”按钮,就可以按照下表把结果显示在文本框中。 (分数:2.00)_正确答案:(正确答案: )解析:3.在名为 Form1的窗体上绘制两个图片框,名称分别为 Pic1和 Pie2,高度均为 1900,宽度均为 1700,通过属性窗口把图片文件 pic1bmp 放入 Pic1中,把图片文件 pic2.jpg放入 Pic2 中;再绘制一个命令按钮,名为 Cmd1,标题为 Change Picture,如下图所示。编写适当的事件过程,使得在运行时,如果单击命令按钮,则交换两个图片框中的图片。 (分数:2.00)_正确答案:(正确答案: )解析:4.在考生文件夹中有一个工程文件 execise6.vbp及其窗体文件 execise6.frm。在名为 Form1的窗体上有一个名为 Pic1的图片框:一个单选按钮数组,含 3个单选按钮,标题分别为“正方形”、“三角形”和“圆形”:还有一个标题为“显示”的命令按钮。程序的功能是在运行时,如果选中一个单选按钮后,单击“显示”按钮,则根据单选按钮的选中情况,在图片框中显示“选择了正方形”、“选择了三角形”或“选择了圆形”,如下图所示。 (分数:2.00)_正确答案:(正确答案: )解析:

展开阅读全文
相关资源
猜你喜欢
  • BS EN ISO 15536-2-2007 Ergonomics - Computer manikins and body templates - Verification of functions and validation of dimensions for computer manikin systems《人类工效学 计算机人体模型和人体卡规 功能.pdf BS EN ISO 15536-2-2007 Ergonomics - Computer manikins and body templates - Verification of functions and validation of dimensions for computer manikin systems《人类工效学 计算机人体模型和人体卡规 功能.pdf
  • BS EN ISO 15537-2004 Principles for selecting and using test persons for testing anthropometric aspects of industrial products and designs《工业产品和设计的人体测量方面检验用试验人员的选择和使用的原则》.pdf BS EN ISO 15537-2004 Principles for selecting and using test persons for testing anthropometric aspects of industrial products and designs《工业产品和设计的人体测量方面检验用试验人员的选择和使用的原则》.pdf
  • BS EN ISO 15544-2010 Petroleum and natural gas industries - Offshore production installations - Requirements and guidelines for emergency response《石油和天然气工业 近海开采装置 紧急响应的要求和指南》.pdf BS EN ISO 15544-2010 Petroleum and natural gas industries - Offshore production installations - Requirements and guidelines for emergency response《石油和天然气工业 近海开采装置 紧急响应的要求和指南》.pdf
  • BS EN ISO 15546-2011 Petroleum and natural gas industries Aluminium alloy drill pipe《石油和天然气产业 铝合金钻探管》.pdf BS EN ISO 15546-2011 Petroleum and natural gas industries Aluminium alloy drill pipe《石油和天然气产业 铝合金钻探管》.pdf
  • BS EN ISO 15547-1-2006 Petroleum petrochemical and natural gas industries - Plate-type heat exchangers - Plate-and-frame heat exchangers《石油、石化和天然气工业 板式热交换器 板框式热交换器》.pdf BS EN ISO 15547-1-2006 Petroleum petrochemical and natural gas industries - Plate-type heat exchangers - Plate-and-frame heat exchangers《石油、石化和天然气工业 板式热交换器 板框式热交换器》.pdf
  • BS EN ISO 15547-2-2005 Petroleum petrochemical and natural gas industries - Plate-type heat exchangers - Brazed aluminium plate-fin heat exchangers《石油、石化和天然气工业 板式热交换器 铜焊铝板热交换器》.pdf BS EN ISO 15547-2-2005 Petroleum petrochemical and natural gas industries - Plate-type heat exchangers - Brazed aluminium plate-fin heat exchangers《石油、石化和天然气工业 板式热交换器 铜焊铝板热交换器》.pdf
  • BS EN ISO 15548-1-2013 Non-destructive testing Equipment for eddy current examination Instrument characteristics and verification《无损检测 涡流检测设备 仪器性能和验证》.pdf BS EN ISO 15548-1-2013 Non-destructive testing Equipment for eddy current examination Instrument characteristics and verification《无损检测 涡流检测设备 仪器性能和验证》.pdf
  • BS EN ISO 15548-2-2013 Non-destructive testing Equipment for eddy current examination Probe characteristics and verification《无损检测 涡流检验设备 探针特性和验证》.pdf BS EN ISO 15548-2-2013 Non-destructive testing Equipment for eddy current examination Probe characteristics and verification《无损检测 涡流检验设备 探针特性和验证》.pdf
  • BS EN ISO 15548-3-2008 Non-destructive testing - Equipment for eddy current nexamination - Part 3 System characteristics and verification《无损检测 涡流检验设备 设备特性和验证》.pdf BS EN ISO 15548-3-2008 Non-destructive testing - Equipment for eddy current nexamination - Part 3 System characteristics and verification《无损检测 涡流检验设备 设备特性和验证》.pdf
  • 相关搜索

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

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