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

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

1、VB 机试章节练习试卷 47 及答案解析(总分:8.00,做题时间:90 分钟)一、简单应用题(总题数:4,分数:8.00)1.简单应用题()(分数:2.00)_2.考生文件夹中有一个工程文件 execise97.vbp 及窗体文件 execise97.frm。在名为 Form1 的窗体上有 2个文本框(名称为 Text1 和 Text2)、3 个单选按钮(标题分别为“大小写互换”、“全部大写”和“全部小写”)和 1 个命令按钮(标题为“互换”)。运行时,在 Text1 中输入若干个大写和小写字母,并选中 1 个单选按钮,再单击“转换”按钮,则按选中的单选按钮的标题进行转换,结果放入 Text

2、2,如 F 图所示。(分数:2.00)_3.在考生文件夹中有一个工程文件 execise98.vbp 及窗体文件 execise98.frm。在名为 Form1 的窗体上有1 个组合框 Com1,其中已经预设了内容;还有 1 个文本框 Text1,和 3 个命令按钮(名称分别为Cmd1、Cmd2 和 Cmd3,标题分别为“修改”、 “确定”和“添加”)。程序运行时,“确定”按钮不可用,如下图所示。 (分数:2.00)_4.在考生文件夹中有工程文件 execise99.vbp 和窗体文件 execise99.frm。在名为 Fom1 的窗体上有一个名为 Text1 的文本框,有两个命令按钮(名称

3、分别是 Cmd1 和 Cmd2,标题分别是 Read 和 Save)。要求程序运行后,单击 Read 按钮,将文本文件 in99txt 中的所有数字读到数组 arr 中,并在文本框内显示出来。随后 Read 按钮变为无效;然后单击 Save 按钮,求出数组 alt 中的各元素的立方并赋值回相应的元素,例如,arr(2)=2,则令 art(2)=arr(2)*arr(2) *arr(2)=8。把计算后的数组的值全部写入考生文件夹中的文本文件 out99.txt 中,并在文本框中显示出来,最后 Save 按钮也变为无效。 (分数:2.00)_VB 机试章节练习试卷 47 答案解析(总分:8.00,

4、做题时间:90 分钟)一、简单应用题(总题数:4,分数:8.00)1.简单应用题()(分数:2.00)_解析:2.考生文件夹中有一个工程文件 execise97.vbp 及窗体文件 execise97.frm。在名为 Form1 的窗体上有 2个文本框(名称为 Text1 和 Text2)、3 个单选按钮(标题分别为“大小写互换”、“全部大写”和“全部小写”)和 1 个命令按钮(标题为“互换”)。运行时,在 Text1 中输入若干个大写和小写字母,并选中 1 个单选按钮,再单击“转换”按钮,则按选中的单选按钮的标题进行转换,结果放入 Text2,如 F 图所示。(分数:2.00)_正确答案:(

5、正确答案: )解析:3.在考生文件夹中有一个工程文件 execise98.vbp 及窗体文件 execise98.frm。在名为 Form1 的窗体上有1 个组合框 Com1,其中已经预设了内容;还有 1 个文本框 Text1,和 3 个命令按钮(名称分别为Cmd1、Cmd2 和 Cmd3,标题分别为“修改”、 “确定”和“添加”)。程序运行时,“确定”按钮不可用,如下图所示。 (分数:2.00)_正确答案:(正确答案: )解析:4.在考生文件夹中有工程文件 execise99.vbp 和窗体文件 execise99.frm。在名为 Fom1 的窗体上有一个名为 Text1 的文本框,有两个命令按钮(名称分别是 Cmd1 和 Cmd2,标题分别是 Read 和 Save)。要求程序运行后,单击 Read 按钮,将文本文件 in99txt 中的所有数字读到数组 arr 中,并在文本框内显示出来。随后 Read 按钮变为无效;然后单击 Save 按钮,求出数组 alt 中的各元素的立方并赋值回相应的元素,例如,arr(2)=2,则令 art(2)=arr(2)*arr(2) *arr(2)=8。把计算后的数组的值全部写入考生文件夹中的文本文件 out99.txt 中,并在文本框中显示出来,最后 Save 按钮也变为无效。 (分数:2.00)_正确答案:(正确答案: )解析:

展开阅读全文
相关资源
猜你喜欢
  • DIN EN 301129-2000 Transmission and Multiplexing (TM) - Digital Radio Relay Systems (DRRS) - Synchronous Digital Hierarchy (SDH) system performance monitoring parameters of SDH DRR.pdf DIN EN 301129-2000 Transmission and Multiplexing (TM) - Digital Radio Relay Systems (DRRS) - Synchronous Digital Hierarchy (SDH) system performance monitoring parameters of SDH DRR.pdf
  • DIN EN 301131-2000 Integrated Services Digital Network (ISDN) - Teleaction teleservice - Service description (Endorsement of the English version EN 301131 V 1 1 1 (1999-01) as Germ.pdf DIN EN 301131-2000 Integrated Services Digital Network (ISDN) - Teleaction teleservice - Service description (Endorsement of the English version EN 301131 V 1 1 1 (1999-01) as Germ.pdf
  • DIN EN 301132-2000 Integrated Services Digital Network (ISDN) - Security tools (SET) for use within telecommunication services (Endorsement of the English version EN 301132 V 1 1 1.pdf DIN EN 301132-2000 Integrated Services Digital Network (ISDN) - Security tools (SET) for use within telecommunication services (Endorsement of the English version EN 301132 V 1 1 1.pdf
  • DIN EN 301133-2000 Integrated Services Digital Network (ISDN) - Selective Call Forwarding (SCF) supplementary services (unconditional busy and no reply) - Service description (Endo .pdf DIN EN 301133-2000 Integrated Services Digital Network (ISDN) - Selective Call Forwarding (SCF) supplementary services (unconditional busy and no reply) - Service description (Endo .pdf
  • DIN EN 301134-2000 Integrated Services Digital Network (ISDN) - Completion of Calls on No Reply (CCNR) supplementary service - Service description (Endorsement of the English versid.pdf DIN EN 301134-2000 Integrated Services Digital Network (ISDN) - Completion of Calls on No Reply (CCNR) supplementary service - Service description (Endorsement of the English versid.pdf
  • DIN EN 301140-1-2001 Intelligent Network (IN) - Intelligent Network Application Protocol (INAP) Capability Set 2 (CS2) - Part 1 Protocol specification (Endorsement of the English v.pdf DIN EN 301140-1-2001 Intelligent Network (IN) - Intelligent Network Application Protocol (INAP) Capability Set 2 (CS2) - Part 1 Protocol specification (Endorsement of the English v.pdf
  • DIN EN 301140-2-2003 Intelligent Network (IN) - Intelligent Network Application Protocol (INAP) Capability Set 2 (CS2) - Part 2 Protocol Implementation Conformance Statement (PICS).pdf DIN EN 301140-2-2003 Intelligent Network (IN) - Intelligent Network Application Protocol (INAP) Capability Set 2 (CS2) - Part 2 Protocol Implementation Conformance Statement (PICS).pdf
  • DIN EN 301140-3-1-2001 Intelligent Network (IN) - Intelligent Network Application Protocol (INAP) Capability Set 2 (CS2) - Part 3 Test Suite Structure and Test Purposes (TSS&TP) sp.pdf DIN EN 301140-3-1-2001 Intelligent Network (IN) - Intelligent Network Application Protocol (INAP) Capability Set 2 (CS2) - Part 3 Test Suite Structure and Test Purposes (TSS&TP) sp.pdf
  • DIN EN 301140-3-2-2001 Intelligent Network (IN) - Intelligent Network Application Protocol (INAP) Capability Set 2 (CS2) - Part 3 Test Suite Structure and Test Purposes (TSS&TP) sp.pdf DIN EN 301140-3-2-2001 Intelligent Network (IN) - Intelligent Network Application Protocol (INAP) Capability Set 2 (CS2) - Part 3 Test Suite Structure and Test Purposes (TSS&TP) sp.pdf
  • 相关搜索

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

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