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

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

1、VB 机试章节练习试卷 32 及答案解析(总分:6.00,做题时间:90 分钟)一、综合应用题(总题数:3,分数:6.00)1.综合应用题()(分数:2.00)_2.在考生文件夹中有一个工程文件 execise7.vbp 及窗体文件 exeeise7.frm。在名为 Form1 的窗体中已经给出了所有控件,如下图所示。 编写适当的事件过程完成以下功能:单击 Read 按钮,则把考生目录下的in7.txt 文件中的一个整数放入 Text1;单击 Calc 按钮,则计算出大于该数的第 1 个素数,并显示在Text2 中;单击 Save 按钮,则把找到的素数存到考生目录下的 out7.txt 文件中

2、 (分数:2.00)_3.在考生文件夹下有工程文件 execise8.vbp 及窗体文件 execise8.frm。在名为 Form1 的窗体上有 5 个Labe1 控件和 2 个命令按钮,如下图所示。数据文件 in8.dat 存放了一些字符。具体要求如下: (1)按Begin 按钮后,能从考生文件夹下的 in8.dat 中读出数据并分别统计出其中数字、大写字母、小写字母和其他类型字符的个数,将结果写入考生文件夹下的 out7.dat 文件中 (以标准格式在一行中输出)。 (2)执行完毕,Begin 按钮变成“完成”按钮,且无效(变灰),如下图所示。 (分数:2.00)_VB 机试章节练习试

3、卷 32 答案解析(总分:6.00,做题时间:90 分钟)一、综合应用题(总题数:3,分数:6.00)1.综合应用题()(分数:2.00)_解析:2.在考生文件夹中有一个工程文件 execise7.vbp 及窗体文件 exeeise7.frm。在名为 Form1 的窗体中已经给出了所有控件,如下图所示。 编写适当的事件过程完成以下功能:单击 Read 按钮,则把考生目录下的in7.txt 文件中的一个整数放入 Text1;单击 Calc 按钮,则计算出大于该数的第 1 个素数,并显示在Text2 中;单击 Save 按钮,则把找到的素数存到考生目录下的 out7.txt 文件中。 (分数:2.

4、00)_正确答案:(正确答案: )解析:3.在考生文件夹下有工程文件 execise8.vbp 及窗体文件 execise8.frm。在名为 Form1 的窗体上有 5 个Labe1 控件和 2 个命令按钮,如下图所示。数据文件 in8.dat 存放了一些字符。具体要求如下: (1)按Begin 按钮后,能从考生文件夹下的 in8.dat 中读出数据并分别统计出其中数字、大写字母、小写字母和其他类型字符的个数,将结果写入考生文件夹下的 out7.dat 文件中 (以标准格式在一行中输出)。 (2)执行完毕,Begin 按钮变成“完成”按钮,且无效(变灰),如下图所示。 (分数:2.00)_正确答案:(正确答案: )解析:

展开阅读全文
相关资源
猜你喜欢
  • EN ISO 16841-2014 en Steel wire ropes - Pulling eyes for rope installation - Types and minimum requirements《钢丝绳 绳索安装用拉孔 类型和最低要求(ISO 16841 2014)》.pdf EN ISO 16841-2014 en Steel wire ropes - Pulling eyes for rope installation - Types and minimum requirements《钢丝绳 绳索安装用拉孔 类型和最低要求(ISO 16841 2014)》.pdf
  • EN ISO 16851-2013 en Textile conveyor belts - Determination of the net length of an endless (spliced) conveyor belt《纺织品输送带 循环式(叠接)输送带的净长度测定》.pdf EN ISO 16851-2013 en Textile conveyor belts - Determination of the net length of an endless (spliced) conveyor belt《纺织品输送带 循环式(叠接)输送带的净长度测定》.pdf
  • EN ISO 16852-2010 5000 Flame arresters - Performance requirements test methods and limits for use《灭火器 性能要求 试验方法和使用限制》.pdf EN ISO 16852-2010 5000 Flame arresters - Performance requirements test methods and limits for use《灭火器 性能要求 试验方法和使用限制》.pdf
  • EN ISO 16852-2016 en Flame arresters - Performance requirements test methods and limits for use《阻火器的性能要求 试验方法和使用限制(ISO 16852 2016)》.pdf EN ISO 16852-2016 en Flame arresters - Performance requirements test methods and limits for use《阻火器的性能要求 试验方法和使用限制(ISO 16852 2016)》.pdf
  • EN ISO 16859-1-2015 en Metallic materials - Leeb hardness test - Part 1 Test method《金属材料 里氏硬度试验 第1部分 试验方法(ISO 16859-1 2015)》.pdf EN ISO 16859-1-2015 en Metallic materials - Leeb hardness test - Part 1 Test method《金属材料 里氏硬度试验 第1部分 试验方法(ISO 16859-1 2015)》.pdf
  • EN ISO 16859-2-2015 en Metallic materials - Leeb hardness test - Part 2 Verification and calibration of the testing devices《金属材料 里氏硬度试验 第2部分 测试设备的检定和校准(ISO 16859-2 2015)》.pdf EN ISO 16859-2-2015 en Metallic materials - Leeb hardness test - Part 2 Verification and calibration of the testing devices《金属材料 里氏硬度试验 第2部分 测试设备的检定和校准(ISO 16859-2 2015)》.pdf
  • EN ISO 16859-3-2015 en Metallic materials - Leeb hardness test - Part 2 Verification and calibration of the testing devices《金属材料 里氏硬度试验 第3部分 参考测试块的校准(ISO 16859-3 2015)》.pdf EN ISO 16859-3-2015 en Metallic materials - Leeb hardness test - Part 2 Verification and calibration of the testing devices《金属材料 里氏硬度试验 第3部分 参考测试块的校准(ISO 16859-3 2015)》.pdf
  • EN ISO 16862-2006 en Paints and varnishes - Evaluation of sag resistance《色漆和清漆 抗流挂性评定》.pdf EN ISO 16862-2006 en Paints and varnishes - Evaluation of sag resistance《色漆和清漆 抗流挂性评定》.pdf
  • EN ISO 16871-2003 en Plastics piping and ducting systems Plastics pipes and fittings Method for exposure to direct (natural) weathering《塑料管道系统 塑料管道和配件 自然风化法 代替EN 1056-1996 ISO 1687.pdf EN ISO 16871-2003 en Plastics piping and ducting systems Plastics pipes and fittings Method for exposure to direct (natural) weathering《塑料管道系统 塑料管道和配件 自然风化法 代替EN 1056-1996 ISO 1687.pdf
  • 相关搜索

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

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