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

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

1、VB 机试章节练习试卷 54 及答案解析(总分:8.00,做题时间:90 分钟)一、简单应用题(总题数:4,分数:8.00)1.简单应用题()(分数:2.00)_2.在考生文件夹中有一个工程文件 execise76.vbp(相应的窗体文件名为 execise76.frm),在名为 Form1的窗体上有 4 个文本框,初始内容为空:1 个命令按钮,标题为 Average。其功能是通过调用过程 Average求数组的平均值。请装入该文件。程序运行后,在 4 个文本框中各输入一个整数,然后单击命令按钮,即可求出数组的平均值,并在窗体上显示出来,如下图所示。 (分数:2.00)_3.在考生文件夹中有一

2、个工程文件 execise77.vbp 及窗体文件 execise77.frm。在名为 Form1 的窗体上有两个框架,其中一个框架中有两个单选按钮,另一个框架中有两个复选框,窗体上还有一个标题为“确定”的命令按钮和一个初始内容为空的文本框。所有控件已经全部画出。程序的功能是:在运行时,如果选中一个单选按钮和一个或两个复选框,则对文本框中的文字做相应的设置,如下图所示。 (分数:2.00)_4.在考生文件夹中有文件 execise78.vbp 及其窗体文件 execise78.frm。在名为 Form1 的窗体上有两个复选项,名称分别为 Chk1 和 Chk2,标题分别为“寒假”和“暑假”;两

3、个单选按钮,名称分别为 Opt1 和Opt2,标题分别为“今年有”和“今年没有”;一个名称为 Lab1 的标签(如下图所示)。要求程序运行后,对复选框和单选按钮进行选择,然后单击窗体,可根据下表的规定在标签中显示相应的信息。 本程序不完整,请补充完整,并能正确运行。 要求: 去掉程序中的注释符“”,把程序中的问号“?”改为正确的内容,使其实现上述功能,但不得修改程序的其他部分。最后,按原文件名并在原文件夹中保存修改后的文件。 (分数:2.00)_VB 机试章节练习试卷 54 答案解析(总分:8.00,做题时间:90 分钟)一、简单应用题(总题数:4,分数:8.00)1.简单应用题()(分数:2

4、00)_解析:2.在考生文件夹中有一个工程文件 execise76.vbp(相应的窗体文件名为 execise76.frm),在名为 Form1的窗体上有 4 个文本框,初始内容为空:1 个命令按钮,标题为 Average。其功能是通过调用过程 Average求数组的平均值。请装入该文件。程序运行后,在 4 个文本框中各输入一个整数,然后单击命令按钮,即可求出数组的平均值,并在窗体上显示出来,如下图所示。 (分数:2.00)_正确答案:(正确答案: )解析:3.在考生文件夹中有一个工程文件 execise77.vbp 及窗体文件 execise77.frm。在名为 Form1 的窗体上有两个

5、框架,其中一个框架中有两个单选按钮,另一个框架中有两个复选框,窗体上还有一个标题为“确定”的命令按钮和一个初始内容为空的文本框。所有控件已经全部画出。程序的功能是:在运行时,如果选中一个单选按钮和一个或两个复选框,则对文本框中的文字做相应的设置,如下图所示。 (分数:2.00)_正确答案:(正确答案: )解析:4.在考生文件夹中有文件 execise78.vbp 及其窗体文件 execise78.frm。在名为 Form1 的窗体上有两个复选项,名称分别为 Chk1 和 Chk2,标题分别为“寒假”和“暑假”;两个单选按钮,名称分别为 Opt1 和Opt2,标题分别为“今年有”和“今年没有”;一个名称为 Lab1 的标签(如下图所示)。要求程序运行后,对复选框和单选按钮进行选择,然后单击窗体,可根据下表的规定在标签中显示相应的信息。 本程序不完整,请补充完整,并能正确运行。 要求: 去掉程序中的注释符“”,把程序中的问号“?”改为正确的内容,使其实现上述功能,但不得修改程序的其他部分。最后,按原文件名并在原文件夹中保存修改后的文件。 (分数:2.00)_正确答案:(正确答案: )解析:

展开阅读全文
相关资源
猜你喜欢
  • ISO 7240-20-2010 Fire detection and alarm systems - Part 20 Aspirating smoke detectors《火灾探测和警报系统 第20部分 抽气式烟雾探测器》.pdf ISO 7240-20-2010 Fire detection and alarm systems - Part 20 Aspirating smoke detectors《火灾探测和警报系统 第20部分 抽气式烟雾探测器》.pdf
  • ISO 7240-21-2005 Fire detection and alarm systems - Part 21 Routing equipment《火灾探测和报警系统 第21部分 定线设备》.pdf ISO 7240-21-2005 Fire detection and alarm systems - Part 21 Routing equipment《火灾探测和报警系统 第21部分 定线设备》.pdf
  • ISO 7240-22-2017 Fire detection and alarm systems - Part 22 Smoke-detection equipment for ducts《火灾探测和报警系统 第22部分 管道用烟雾检测器设备》.pdf ISO 7240-22-2017 Fire detection and alarm systems - Part 22 Smoke-detection equipment for ducts《火灾探测和报警系统 第22部分 管道用烟雾检测器设备》.pdf
  • ISO 7240-23-2013 Fire detection and alarm systems - Part 23 Visual alarm devices《火灾探测和报警系统 第23部分 可视报警装置》.pdf ISO 7240-23-2013 Fire detection and alarm systems - Part 23 Visual alarm devices《火灾探测和报警系统 第23部分 可视报警装置》.pdf
  • ISO 7240-24-2016 Fire detection and fire alarm systems - Part 24 Fire alarm loudspeakers《火灾探测和报警系统 第24部分 火灾报警扩音器》.pdf ISO 7240-24-2016 Fire detection and fire alarm systems - Part 24 Fire alarm loudspeakers《火灾探测和报警系统 第24部分 火灾报警扩音器》.pdf
  • ISO 7240-25-2010 Fire detection and fire alarm systems - Part 25 Components using radio transmission paths《火灾探测和报警系统 第25部分 用于无线电广播路径的组件》.pdf ISO 7240-25-2010 Fire detection and fire alarm systems - Part 25 Components using radio transmission paths《火灾探测和报警系统 第25部分 用于无线电广播路径的组件》.pdf
  • ISO 7240-3-2010 Fire detection and alarm systems - Part 3 Audible alarm devices《火灾探测与报警系统 第3部分 音响报警设备》.pdf ISO 7240-3-2010 Fire detection and alarm systems - Part 3 Audible alarm devices《火灾探测与报警系统 第3部分 音响报警设备》.pdf
  • ISO 7240-6-2011 Fire detection and alarm systems - Part 6 Carbon monoxide fire detectors using electro-chemical cells《火灾探测和报警系统 第6部分 用电化学电池的一氧化碳火灾探测器》.pdf ISO 7240-6-2011 Fire detection and alarm systems - Part 6 Carbon monoxide fire detectors using electro-chemical cells《火灾探测和报警系统 第6部分 用电化学电池的一氧化碳火灾探测器》.pdf
  • ISO 7240-8-2014 Fire detection and alarm systems - Part 8 Point-type fire detectors using a carbon monoxide sensor in combination with a heat sensor《火灾探测和警报系统 第.pdf ISO 7240-8-2014 Fire detection and alarm systems - Part 8 Point-type fire detectors using a carbon monoxide sensor in combination with a heat sensor《火灾探测和警报系统 第.pdf
  • 相关搜索

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

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