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

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

1、VB 机试章节练习试卷 16 及答案解析(总分:8.00,做题时间:90 分钟)一、简单应用题(总题数:4,分数:8.00)1.简单应用题()(分数:2.00)_2.在考生文件夹中有工程文件 execise67.vbp 及窗体文件 execise67.frm。在名为 Form1 的窗体上有 3 个Labe1 控件和两个命令按钮,Labe1 控件均为提示信息。命令按钮名称分别为 Cmd1 和 Cmd2,标题分别为Quit 和 Begin。程序运行后,单击 Begin 按钮,程序自动利用循环计算 1+1/2+1/3+.+1/10 的结果,并把结果写入到考生文件夹中 out67.dat 文件中。执行

2、完毕,Begin 按钮变成 End 按钮,且无效(变灰),参见下图。 (分数:2.00)_3.在考生文件夹中有一个工程文件 execise68.vbp(相应的窗体文件名为 execise68.frm)。在名为 Form1的窗体上有 4 个文本框,初始内容为空;1 个命令按钮,标题为“求 Max”。其功能是通过调用过程FindMax 求数组的最大值。请装入该文件。程序运行后,在 4 个文本框中各输入一个整数,然后单击命令按钮,即可求出数组的最大值,并在窗体上显示出来(如下图所示)。 (分数:2.00)_4.在考生文件夹中有工程文件 execise69.vbp 及窗体文件 execise69.fr

3、m。在名为 Form1 的窗体中有 3 个水平滚动条(名称分别为 HS1,HS2,HS3),4 个标签框(名称分别为 Lab1、 Lab2、Lab3 和 Lab4),如下图所示,Lab1Lab3 的 Text 分别为,“红”、“绿”、“蓝”; Lab4 用来显示颜色变化。 (分数:2.00)_VB 机试章节练习试卷 16 答案解析(总分:8.00,做题时间:90 分钟)一、简单应用题(总题数:4,分数:8.00)1.简单应用题()(分数:2.00)_解析:2.在考生文件夹中有工程文件 execise67.vbp 及窗体文件 execise67.frm。在名为 Form1 的窗体上有 3 个La

4、be1 控件和两个命令按钮,Labe1 控件均为提示信息。命令按钮名称分别为 Cmd1 和 Cmd2,标题分别为Quit 和 Begin。程序运行后,单击 Begin 按钮,程序自动利用循环计算 1+1/2+1/3+.+1/10 的结果,并把结果写入到考生文件夹中 out67.dat 文件中。执行完毕,Begin 按钮变成 End 按钮,且无效(变灰),参见下图。 (分数:2.00)_正确答案:(正确答案: )解析:3.在考生文件夹中有一个工程文件 execise68.vbp(相应的窗体文件名为 execise68.frm)。在名为 Form1的窗体上有 4 个文本框,初始内容为空;1 个命令

5、按钮,标题为“求 Max”。其功能是通过调用过程FindMax 求数组的最大值。请装入该文件。程序运行后,在 4 个文本框中各输入一个整数,然后单击命令按钮,即可求出数组的最大值,并在窗体上显示出来(如下图所示)。 (分数:2.00)_正确答案:(正确答案: )解析:4.在考生文件夹中有工程文件 execise69.vbp 及窗体文件 execise69.frm。在名为 Form1 的窗体中有 3 个水平滚动条(名称分别为 HS1,HS2,HS3),4 个标签框(名称分别为 Lab1、 Lab2、Lab3 和 Lab4),如下图所示,Lab1Lab3 的 Text 分别为,“红”、“绿”、“蓝”; Lab4 用来显示颜色变化。 (分数:2.00)_正确答案:(正确答案: )解析:

展开阅读全文
相关资源
猜你喜欢
  • BS PD IEC TS 62763-2013_5284 Pilot function through a control pilot circuit using PWM (pulse width modulation) and a control pilot wire《通过控制导向线使用PWM (脉冲宽度调制) 的导向功能和控制导向线》.pdf BS PD IEC TS 62763-2013_5284 Pilot function through a control pilot circuit using PWM (pulse width modulation) and a control pilot wire《通过控制导向线使用PWM (脉冲宽度调制) 的导向功能和控制导向线》.pdf
  • BS ISO 8070-2007 Milk and milk products - Determination of calcium sodium potassium and magnesium contents - Atomic absorption spectrometric method《牛奶和奶制品 钙、钠、钾和镁含量的测定 原子吸.pdf BS ISO 8070-2007 Milk and milk products - Determination of calcium sodium potassium and magnesium contents - Atomic absorption spectrometric method《牛奶和奶制品 钙、钠、钾和镁含量的测定 原子吸.pdf
  • BS ISO 8082-1-2009 Self-propelled machinery for forestry - Laboratory tests and performance requirements for roll-over protective structures - General machines《林业用自推进机械 防倾.pdf BS ISO 8082-1-2009 Self-propelled machinery for forestry - Laboratory tests and performance requirements for roll-over protective structures - General machines《林业用自推进机械 防倾.pdf
  • BS ISO 8082-2-2011 Self-propelled machinery for forestry Laboratory tests and performance requirements for roll-over protective structures Machines having a rotating platf.pdf BS ISO 8082-2-2011 Self-propelled machinery for forestry Laboratory tests and performance requirements for roll-over protective structures Machines having a rotating platf.pdf
  • BS ISO 8083-2006 Machinery for forestry - Falling-object protective structures (FOPS) - Laboratory tests and performance requirements《林业机械 落体防护装置(FOPS) 实验室试验和性能要求》.pdf BS ISO 8083-2006 Machinery for forestry - Falling-object protective structures (FOPS) - Laboratory tests and performance requirements《林业机械 落体防护装置(FOPS) 实验室试验和性能要求》.pdf
  • BS ISO 8086-2004 Dairy plant - Hygiene conditions - General guidance on inspection and sampling procedures《乳品厂 卫生条件 检验和取样程序通用指南》.pdf BS ISO 8086-2004 Dairy plant - Hygiene conditions - General guidance on inspection and sampling procedures《乳品厂 卫生条件 检验和取样程序通用指南》.pdf
  • BS ISO 8096-2005 Rubber- or plastics-coated fabrics for water resistant clothing - Specification《雨衣用橡胶或塑料涂覆织物 规范》.pdf BS ISO 8096-2005 Rubber- or plastics-coated fabrics for water resistant clothing - Specification《雨衣用橡胶或塑料涂覆织物 规范》.pdf
  • BS ISO 8097-2001 Aircraft Minimum airworthiness requirements and test conditions for certified air cargo unit load devices《航空器 经认证的航空货运集装单元装置最低适航性要求和试验条件》.pdf BS ISO 8097-2001 Aircraft Minimum airworthiness requirements and test conditions for certified air cargo unit load devices《航空器 经认证的航空货运集装单元装置最低适航性要求和试验条件》.pdf
  • BS ISO 8114-1993 Textile machinery and accessories - Spindles for ring-spinning and doubling machines - List of equivalent terms《纺织机械和附件 环锭纺纱机和并线机用锭子 同义术语表》.pdf BS ISO 8114-1993 Textile machinery and accessories - Spindles for ring-spinning and doubling machines - List of equivalent terms《纺织机械和附件 环锭纺纱机和并线机用锭子 同义术语表》.pdf
  • 相关搜索

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

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