【计算机类职业资格】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)_正确答案:(正确答案: )解析:

展开阅读全文
相关资源
猜你喜欢
  • TCVN 3166-2008 Gasoline Determination of benzene toluene ethylbenzene p m-xylene o-xylene C9 and heavier aromatics and total aromatics Gasoline chromatography method《汽油 苯 甲苯 乙苯 对 间.pdf TCVN 3166-2008 Gasoline Determination of benzene toluene ethylbenzene p m-xylene o-xylene C9 and heavier aromatics and total aromatics Gasoline chromatography method《汽油 苯 甲苯 乙苯 对 间.pdf
  • TCVN 3167-2008 Petroleum products Base number Potentiometric pecloric acid titration method《石油产品 基数 电位高氯酸滴定法》.pdf TCVN 3167-2008 Petroleum products Base number Potentiometric pecloric acid titration method《石油产品 基数 电位高氯酸滴定法》.pdf
  • TCVN 3169-2008 Petroleum distillates through 200℃ Determination of paraffin naphthene and aromatic hydrocarbon type Multi-dimensional gas chromatography《通过200℃的石油馏出物 石蜡 环烷和芳烃型的测定 多.pdf TCVN 3169-2008 Petroleum distillates through 200℃ Determination of paraffin naphthene and aromatic hydrocarbon type Multi-dimensional gas chromatography《通过200℃的石油馏出物 石蜡 环烷和芳烃型的测定 多.pdf
  • TCVN 3171-2011 Standard Test Method for Kinematic Viscosity of Transparent and Opaque Liquids (and Calculation of Dynamic Viscosity)《透明和不透明液体的运动粘度的标准试验法(和动态粘滞度的计算)》.pdf TCVN 3171-2011 Standard Test Method for Kinematic Viscosity of Transparent and Opaque Liquids (and Calculation of Dynamic Viscosity)《透明和不透明液体的运动粘度的标准试验法(和动态粘滞度的计算)》.pdf
  • TCVN 3172-2008 Petroleum and petroleum products Determination of sulfur by energy-dispersive X-ray fluorescence spectrometry《石油和石油产品 用能量分散X射线荧光光谱法测定硫磺》.pdf TCVN 3172-2008 Petroleum and petroleum products Determination of sulfur by energy-dispersive X-ray fluorescence spectrometry《石油和石油产品 用能量分散X射线荧光光谱法测定硫磺》.pdf
  • TCVN 3173-2008 Petroleum products and hydrocarbon solvents Determination of anilline point and mixed aniline point《石油产品和烃类溶剂 苯胺点和混合苯胺点测定》.pdf TCVN 3173-2008 Petroleum products and hydrocarbon solvents Determination of anilline point and mixed aniline point《石油产品和烃类溶剂 苯胺点和混合苯胺点测定》.pdf
  • TCVN 3174-1979 Light petroleum products Method for the determination of water-soluble acid and alkalic《轻质石油产品 水溶性酸性和碱性的测定方法》.pdf TCVN 3174-1979 Light petroleum products Method for the determination of water-soluble acid and alkalic《轻质石油产品 水溶性酸性和碱性的测定方法》.pdf
  • TCVN 3175-1979 Light petroleum products Method for the determination of elemental sulphur content《轻质石油产品 元素硫含量的测定方法》.pdf TCVN 3175-1979 Light petroleum products Method for the determination of elemental sulphur content《轻质石油产品 元素硫含量的测定方法》.pdf
  • TCVN 3176-1979 Black petroleum products Method for the determination of water-soluble acid and alkalic《石油重油 水溶性酸性和碱性的测定方法》.pdf TCVN 3176-1979 Black petroleum products Method for the determination of water-soluble acid and alkalic《石油重油 水溶性酸性和碱性的测定方法》.pdf
  • 相关搜索

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

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