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

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

1、VB机试章节练习试卷 29及答案解析(总分:8.00,做题时间:90 分钟)一、基本操作题(总题数:4,分数:8.00)1.基本操作题()(分数:2.00)_2.在名为 Form1的窗体上绘制一个水平滚动条,其名称为 HS1,然后通过属性窗口设置窗体和滚动条的属性,实现如下功能: (1)窗体标题为“设置属性”。 (2)滚动条所能表示的最小值和最大值分别为 1和200。 (3)程序运行后,单击滚动条两端的箭头时,滚动框移动的增量值为 5。 (4)程序运行后,单击滚动框前面或后面的部位时,滚动框移动的增量值为 10。 (5)滚动框的初始位置为 50。 程序的运行情况如下图所示。 (分数:2.00)

2、3.在名为 Form1的窗体上绘制两个文本框,名称分别为 Text1和 Text2,它们都显示垂直滚动条和水平滚动条,都可以显示多行文本;再绘制一个命令按钮,名为 Cmd1,标题为 Copy(如下图所示)。请编写适当的事件过程,使得在运行时,在 Text1中输入文本后,单击 Copy按钮,就把 Text1中的文本全部复制到Text2中。 (分数:2.00)_4.在名为 Form1的窗体上绘制两个标签(名称分别为 Lab1和 Lab2,标题分别为“姓名”和“年龄”)、两个文本框(名称分别为 Text1和 Text2,Text 属性均为空白)和一个命令按钮(名称为 Cmd1,标题为Display

3、)。然后编写命令按钮的 Click事件过程,使程序运行后,在两个文本框中分别输入姓名和年龄,然后单击命令按钮,则在窗体上显示两个文本框中的内容,如下图所示。 (分数:2.00)_VB机试章节练习试卷 29答案解析(总分:8.00,做题时间:90 分钟)一、基本操作题(总题数:4,分数:8.00)1.基本操作题()(分数:2.00)_解析:2.在名为 Form1的窗体上绘制一个水平滚动条,其名称为 HS1,然后通过属性窗口设置窗体和滚动条的属性,实现如下功能: (1)窗体标题为“设置属性”。 (2)滚动条所能表示的最小值和最大值分别为 1和200。 (3)程序运行后,单击滚动条两端的箭头时,滚动

4、框移动的增量值为 5。 (4)程序运行后,单击滚动框前面或后面的部位时,滚动框移动的增量值为 10。 (5)滚动框的初始位置为 50。 程序的运行情况如下图所示。 (分数:2.00)_正确答案:(正确答案: )解析:3.在名为 Form1的窗体上绘制两个文本框,名称分别为 Text1和 Text2,它们都显示垂直滚动条和水平滚动条,都可以显示多行文本;再绘制一个命令按钮,名为 Cmd1,标题为 Copy(如下图所示)。请编写适当的事件过程,使得在运行时,在 Text1中输入文本后,单击 Copy按钮,就把 Text1中的文本全部复制到Text2中。 (分数:2.00)_正确答案:(正确答案: )解析:4.在名为 Form1的窗体上绘制两个标签(名称分别为 Lab1和 Lab2,标题分别为“姓名”和“年龄”)、两个文本框(名称分别为 Text1和 Text2,Text 属性均为空白)和一个命令按钮(名称为 Cmd1,标题为Display)。然后编写命令按钮的 Click事件过程,使程序运行后,在两个文本框中分别输入姓名和年龄,然后单击命令按钮,则在窗体上显示两个文本框中的内容,如下图所示。 (分数:2.00)_正确答案:(正确答案: )解析:

展开阅读全文
相关资源
猜你喜欢
  • EN ISO 11295-2010 en Classification and information on design of plastics piping systems used for renovation《改装用塑料管道系统的设计信息和分类[代替 CEN EN 13689]》.pdf EN ISO 11295-2010 en Classification and information on design of plastics piping systems used for renovation《改装用塑料管道系统的设计信息和分类[代替 CEN EN 13689]》.pdf
  • EN ISO 11295-2017 en Classification and information on design and applications of plastics piping systems used for renovation and replacement.pdf EN ISO 11295-2017 en Classification and information on design and applications of plastics piping systems used for renovation and replacement.pdf
  • EN ISO 11296-1-2011 en Plastics piping systems for renovation of underground nonpressure drainage and sewerage networks - Part 1 General《地下无压排水道及污水网的翻修用塑料管道系统 第1部分 综述》.pdf EN ISO 11296-1-2011 en Plastics piping systems for renovation of underground nonpressure drainage and sewerage networks - Part 1 General《地下无压排水道及污水网的翻修用塑料管道系统 第1部分 综述》.pdf
  • EN ISO 11296-2-2018 en Plastics piping systems for renovation of underground non-pressure drainage and sewerage networks - Part 2 Lining with continuous pipes.pdf EN ISO 11296-2-2018 en Plastics piping systems for renovation of underground non-pressure drainage and sewerage networks - Part 2 Lining with continuous pipes.pdf
  • EN ISO 11296-3-2011 en Plastics piping systems for renovation of underground nonpressure drainage and sewerage networks - Part 3 Lining with close-fit pipes《地下无压排水道及污水网的翻修用塑料管道系统 第.pdf EN ISO 11296-3-2011 en Plastics piping systems for renovation of underground nonpressure drainage and sewerage networks - Part 3 Lining with close-fit pipes《地下无压排水道及污水网的翻修用塑料管道系统 第.pdf
  • EN ISO 11296-4-2011 en Plastics piping systems for renovation of underground nonpressure drainage and sewerage networks - Part 4 Lining with cured-in-place pipes《地下无压排水道及污水网的翻修用塑料管.pdf EN ISO 11296-4-2011 en Plastics piping systems for renovation of underground nonpressure drainage and sewerage networks - Part 4 Lining with cured-in-place pipes《地下无压排水道及污水网的翻修用塑料管.pdf
  • EN ISO 11296-4-2018 en Plastics piping systems for renovation of underground non-pressure drainage and sewerage networks - Part 4 Lining with cured-in-place pipes.pdf EN ISO 11296-4-2018 en Plastics piping systems for renovation of underground non-pressure drainage and sewerage networks - Part 4 Lining with cured-in-place pipes.pdf
  • EN ISO 11296-7-2013 en Plastics piping systems for renovation of underground nonpressure drainage and sewerage networks - Part 7 Lining with spirally-wound pipes《地下无压排水道及污水网翻修用塑料管道.pdf EN ISO 11296-7-2013 en Plastics piping systems for renovation of underground nonpressure drainage and sewerage networks - Part 7 Lining with spirally-wound pipes《地下无压排水道及污水网翻修用塑料管道.pdf
  • EN ISO 11297-1-2013 en Plastics piping systems for renovation of underground drainage and sewerage networks under pressure - Part 1 General《地下排水和压力下污水网翻新用塑料管道系统 第1部分 总论》.pdf EN ISO 11297-1-2013 en Plastics piping systems for renovation of underground drainage and sewerage networks under pressure - Part 1 General《地下排水和压力下污水网翻新用塑料管道系统 第1部分 总论》.pdf
  • 相关搜索

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

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