[计算机类试卷]VB机试模拟试卷188及答案与解析.doc

上传人:unhappyhay135 文档编号:493793 上传时间:2018-11-28 格式:DOC 页数:3 大小:150KB
下载 相关 举报
[计算机类试卷]VB机试模拟试卷188及答案与解析.doc_第1页
第1页 / 共3页
[计算机类试卷]VB机试模拟试卷188及答案与解析.doc_第2页
第2页 / 共3页
[计算机类试卷]VB机试模拟试卷188及答案与解析.doc_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

1、VB机试模拟试卷 188及答案与解析 一、基本操作题( 30分) 1 在名为 Form1的窗体上绘制一个图片框,名为 Pic1,高为 1800、宽为 1600,通过属性窗口把考生目录下的图像文件 pic1.bmp放到图片框中 (如下图所示 )。注意: 文件必须存放在考生文件夹中,工程文件名为execise107.vbp,窗体文件名为 execise107.frm。 二、简单应用题( 40分) 2 在考生文件夹中有一个工程文件 execise42.vbp和窗体文件 execise42.frm。请在名为 Form1的窗体上 绘制 3个文本框,其名称分别为 Text1、 Text2和 Text3,文

2、本框内容分别设置为 “二级考试 ”、 “计算机 ”和空白:然后绘制 2个单选按钮,其名称分别为 opt1和 Opt2,标题分别为 Change和 Join,编写适当的事件程序。 要求在程序运行时,先单击 Change单选按钮,使 Text1文本框中内容与 Text2文本框中内容进行交换,并使 Change单选按钮消失;然后单击 Join单选按钮,则把交换后的Text1和 Text2的内容以 Text1在前、 Text2在后的顺序连接起来,并在 Text3文本框中显示连接后的内 容。如下图所示。注意: 不得修改已经给出的程序。在结束程序运行之前,必须先单击 Change单选按钮,后单击Join单

3、选按钮。退出程序时必须通过单击窗体右上角的关闭按钮,否则可能无成绩。最后原名保存修改后的文件。 三、综合应用题( 30分) 3 在考生文件夹下有一个工程文件 execise28.vbp,相应的窗体文件为execise28.frm,此外还有一个名为 in28.txt的文本文件,其内容如下: 132 423 36 58 58 16 98 545 314 42 52 24 73 26 9 12 26 375 4 57 60 72 80 51 327。程序运行后单击窗体,将把文件 in28.txt中的数据输入到二维数组 Mat中,在窗体上按 5行、 5列的矩阵形式显示出来,然后交换矩阵第 2列和第 3列的数据,并在窗体上输出交换后的矩阵,如下图所示。 在窗体的代码窗口中,已给出了部分程序,这个程序不完整,请把它补充完整,并能正确运行。 要求: 去掉程序中的注释符 “”,把程序中的问号 “?”改为正确的内容 (可以是多行 ),使其实现上述功能,但不能修改程序中的其他部分。最后把修改后的文件按原文件名保存。 VB机试模拟试卷 188答案与解析 一、基本操作题( 30分) 1 【正确答案】 二、简单应用题( 40分) 2 【正确答案】 三、综合应用题( 30分) 3 【正确答案】

展开阅读全文
相关资源
猜你喜欢
  • 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