[计算机类试卷]VB机试章节练习试卷91及答案与解析.doc

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

1、VB机试章节练习试卷 91及答案与解析 一、综合应用题( 30分) 1 在考生文件夹下有一个工程文件 execise39.vbp及窗体文件 execise39.frm。在窗体Form1上给出了所有控件和不完整的程序,请去掉程序中的注释符 “”,把程序中的问号 “?”改为正确的内容。 本程序的功能是:如果单击 “读取 ”按钮,则把考生目录下的 in39.txt文件中的 15个姓名读到数组 a中,并在窗体上显示这些姓名:当在Text1中输入一个姓名,或一个姓氏后,如果单击 “查找 ”按钮,则进行查找,若找到,就把所有与 Text1中 相同的姓名或所有具有 Text1中姓氏的姓名显示在 Text2中

2、 (如下图所示 ):若未找到,则在 Text2中显示 “不存在 !”:若 Text1中没有查找内容,则在 Text2中显示 “未输入查找内容 !”。 注意: 考生不得修改程序的其他部分和控件的属性,最后把修改后的文件按原文件名存盘。 2 数列: 1, 1, 2, 3, 5, 8, 13, 21, 的规律是从第 3个数开始,每个数是它前面两个数之和。在考生文件夹下有一个工程文件 execise36.vbp(相应的窗体文件为 execise36.frm)。窗体 Form1中已经给出于所有控件,如下图所示;编写适当的事件过程完成以下功能:选中一个单选按钮后,单击 “显示结果 ”按钮,则计算出上述数列的第 n项的值 (n是选中的单选按钮后面的数值 ),并显示在文本框中。 (提示:因计算结果较大,应使用 Long型变量。 ) 注意: 不能修改已经给出的程序和已有的控件的属性;在 结束程序运行之前,必须选中一个单选按钮,并单击 “显示结果 ”按钮获得一个结果;必须使用窗体右上角的 “关闭 ”按钮结束程序,否则无成绩。最后把修改后的文件按原文件名存盘。 VB机试章节练习试卷 91答案与解析 一、综合应用题( 30分) 1 【正确答案】 2 【正确答案】

展开阅读全文
相关资源
猜你喜欢
  • BS ISO 6686-1995 en_2403  Equipment for crop protection - Anti-drip devices - Determination of performance《作物保护设备.防滴装置.性能测定》.pdf BS ISO 6686-1995 en_2403 Equipment for crop protection - Anti-drip devices - Determination of performance《作物保护设备.防滴装置.性能测定》.pdf
  • BS ISO 6690-2007 en_2554  Milking machine installations - Mechanical tests《挤奶装置.机械试验》.pdf BS ISO 6690-2007 en_2554 Milking machine installations - Mechanical tests《挤奶装置.机械试验》.pdf
  • BS ISO 6695-2015 en_4938  Cycles Pedal axle and crank assembly with square end fitting Assembly dimensions《自行车.方榫中轴和曲柄的配合.装配尺寸》.pdf BS ISO 6695-2015 en_4938 Cycles Pedal axle and crank assembly with square end fitting Assembly dimensions《自行车.方榫中轴和曲柄的配合.装配尺寸》.pdf
  • BS ISO 6707-3-2017 en_6921  Buildings and civil engineering works Vocabulary Sustainability terms《建筑和土木工程.词汇.可持续性》.pdf BS ISO 6707-3-2017 en_6921 Buildings and civil engineering works Vocabulary Sustainability terms《建筑和土木工程.词汇.可持续性》.pdf
  • BS ISO 6721-10-2015 en_2274  Plastics Determination of dynamic mechanical properties Complex shear viscosity using a parallel-plate oscillatory rheometer《塑料.动态机械性能的测定.使用平板振荡流变仪测定复合剪切粘度》.pdf BS ISO 6721-10-2015 en_2274 Plastics Determination of dynamic mechanical properties Complex shear viscosity using a parallel-plate oscillatory rheometer《塑料.动态机械性能的测定.使用平板振荡流变仪测定复合剪切粘度》.pdf
  • BS ISO 6721-11-2012 en_7322  Plastics Determination of dynamic mechanical properties Glass transition temperature《塑料.动态机械性能的测定.玻璃转换温度》.pdf BS ISO 6721-11-2012 en_7322 Plastics Determination of dynamic mechanical properties Glass transition temperature《塑料.动态机械性能的测定.玻璃转换温度》.pdf
  • BS ISO 6722-1-2011 en_8172  Road vehicles 60 V and 600 V single-core cables Dimensions test methods and requirements for copper conductor cables《道路车辆.60 V和600 V单芯电缆.铜导体电缆的尺寸规格 试验方法和要求》.pdf BS ISO 6722-1-2011 en_8172 Road vehicles 60 V and 600 V single-core cables Dimensions test methods and requirements for copper conductor cables《道路车辆.60 V和600 V单芯电缆.铜导体电缆的尺寸规格 试验方法和要求》.pdf
  • BS ISO 6722-2-2013 en_7108  Road vehicles 60 V and 600 V single-core cables Dimensions test methods and requirements for aluminium conductor cables《道路车辆.60 V和600 V单芯电缆 铝芯电缆的尺寸 试验方法和要求》.pdf BS ISO 6722-2-2013 en_7108 Road vehicles 60 V and 600 V single-core cables Dimensions test methods and requirements for aluminium conductor cables《道路车辆.60 V和600 V单芯电缆 铝芯电缆的尺寸 试验方法和要求》.pdf
  • BS ISO 6727-2012 en_5513  Road vehicles Motorcycles Symbols for controls indicators and tell-tales《道路车辆.摩托车.控制器、指示器和信号装置的符号》.pdf BS ISO 6727-2012 en_5513 Road vehicles Motorcycles Symbols for controls indicators and tell-tales《道路车辆.摩托车.控制器、指示器和信号装置的符号》.pdf
  • 相关搜索

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

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