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

展开阅读全文
相关资源
猜你喜欢
  • NASA-TN-3604-1956 Low-speed yawed-rolling characteristics and other elastic properties of a pair of 26-inch-diameter 12-ply-rating type VII aircraft tires《一对26 in直径12线网层率的VII类型飞机轮胎.pdf NASA-TN-3604-1956 Low-speed yawed-rolling characteristics and other elastic properties of a pair of 26-inch-diameter 12-ply-rating type VII aircraft tires《一对26 in直径12线网层率的VII类型飞机轮胎.pdf
  • NASA-TN-4109-1958 Low-speed yawed-rolling characteristics and other elastic properties of a pair of 40-inch-diameter 14-ply-rating type VII aircraft tires《一对40 in直径14线网层率的VII类型飞机轮胎.pdf NASA-TN-4109-1958 Low-speed yawed-rolling characteristics and other elastic properties of a pair of 40-inch-diameter 14-ply-rating type VII aircraft tires《一对40 in直径14线网层率的VII类型飞机轮胎.pdf
  • NASA-TN-963-1945 Friction in pipes at supersonic and subsonic velocities《在超音速和亚音速下管道的摩擦》.pdf NASA-TN-963-1945 Friction in pipes at supersonic and subsonic velocities《在超音速和亚音速下管道的摩擦》.pdf
  • NASA-TN-D-1024-1962 Measured surface defects on typical transonic airplanes and analysis of their drag contribution《典型跨音速飞机上测量表面损坏及其阻力贡献的分析》.pdf NASA-TN-D-1024-1962 Measured surface defects on typical transonic airplanes and analysis of their drag contribution《典型跨音速飞机上测量表面损坏及其阻力贡献的分析》.pdf
  • NASA-TN-D-1253-1962 Axial-load fatigue tests using loading schedules based on maneuver-load statistics《根据机动荷载统计使用装料计划的轴向荷载疲劳试验》.pdf NASA-TN-D-1253-1962 Axial-load fatigue tests using loading schedules based on maneuver-load statistics《根据机动荷载统计使用装料计划的轴向荷载疲劳试验》.pdf
  • NASA-TN-D-1394-1962 A tabulation of wind-tunnel pressure data and section aerodynamic characteristics at mach numbers of 1 61 and 2 01 for two trapezoidal and three delta wings hav.pdf NASA-TN-D-1394-1962 A tabulation of wind-tunnel pressure data and section aerodynamic characteristics at mach numbers of 1 61 and 2 01 for two trapezoidal and three delta wings hav.pdf
  • NASA-TN-D-1574-1963 Fatigue behavior of materials under strain cycling in low and Intermediate life range《在中低级寿命范围内应变循环下材料的疲劳性能》.pdf NASA-TN-D-1574-1963 Fatigue behavior of materials under strain cycling in low and Intermediate life range《在中低级寿命范围内应变循环下材料的疲劳性能》.pdf
  • NASA-TN-D-1584-1964 Evaluation of the influence of load randomization and of ground-air-ground cycles on fatigue life《荷载随机化和地空循环对疲劳寿命的影响评估》.pdf NASA-TN-D-1584-1964 Evaluation of the influence of load randomization and of ground-air-ground cycles on fatigue life《荷载随机化和地空循环对疲劳寿命的影响评估》.pdf
  • NASA-TN-D-1586-1964 Aerodynamic data on large semispan tilting wing with 0 6-diameter chord single slotted flap and single propeller rotating up at tip《带有0 6直径弦 单开缝襟翼和在末端旋转的单螺旋浆大半翼.pdf NASA-TN-D-1586-1964 Aerodynamic data on large semispan tilting wing with 0 6-diameter chord single slotted flap and single propeller rotating up at tip《带有0 6直径弦 单开缝襟翼和在末端旋转的单螺旋浆大半翼.pdf
  • 相关搜索

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

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