[计算机类试卷]国家二级VF机试模拟试卷52及答案与解析.doc

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

1、国家二级 VF机试模拟试卷 52及答案与解析 一、基本操作题( 30分) 1 设计如图 2-1所示的表单,能将输入的内容进行大小写转换,并能复原成原输入内容。 二、简单应用题( 40分) 2 设计如图 4-3所示的表单:以每秒 10像素的速度,从右向左滚动显示信息 “欢迎使用本系统 ”。 三、综合应用题( 30分) 3 设计一个通话计费程序,假设每分钟通话费用为 0.20元,初始时,开始时间、结束时间、通话分钟和应付金额都为空。单击 “开始 ”按钮,显示开始时间:单击 “计费 ”按钮,显示结束时间、通话分钟和应付金额 (每分钟 0.20元,不满 1分钟按 1分钟计费 )。表单样式如图 3-7所

2、示。 4 输入正方体的边长,利用 “选项 ”按钮,选择计算表面积、体积等。要求初始时不显示 label2 (“表面积为 ”)和 label3(“体积为 ”),一旦输入新数据,立即根据选项组的选择显示相应结果,当选择计算表面积时,不出现体积项,同样,选择显示体积时,不显示表面积项。表单样式如图 3-11所示。 国家二级 VF机试模拟试卷 52答案与解析 一、基本操作题( 30分) 1 【正确答案】 操作步骤如下: 在表单中创建 1个 “标签 ”控件、 1个 “文 本框 ”控件和 4个 “命令按钮 ”控件,并选择好位置和大小。 设置好控件的字体和字号。 表单控件的主要属性见表 2-1。 打开 “代

3、码编辑 ”窗口,添加 Forml的 Init事件代码,如图 2-2所示。 添加 “大写 ”按钮Command1的 Click事件代码,如图 2-3所示。 添加 “小写 ”按钮 Command2的 Click事件代码,如图 2-4所示。 添加 “还原 ”按钮 Commana3的 Click事件代码,如图 2-5所示。 添加“退出 ”按钮 Command4的 Click事件代码,如图 2-6所示。 添加 Text1的 InteractiveChange的事件代码 “primtext=thisform.text1.value”。 二、简单应用题( 40分) 2 【正确答案】 操作步骤如下: 在表单中

4、创建 1个 “标签 ”控件、 1个 “计时器 ”控件和 1个 “命令按钮 ”控件,并选择好位置和大小。 设置控件的字体和字号。 表单控件的主要属性见表 4-2。 打开 “代码编辑 ”窗口,添加 Timer1的 Timer事件代码,如图 4-4所示。 三、综合应用题( 30分) 3 【正确答案】 操作步骤如下: 在表单中创建 11个 “标 签 ”控件、 3个 “命令按钮 ”和一个 “计时器;控件,并选择好位置和大小。 设置控件的字体和字号。 表单控件的主要属性见表 3-3。 打开 “代码编辑 ”窗口,添加 Form1的 Init事件代码,如图 3-8所示。 添加 “开始 ”按钮Command1的

5、 Click事件代码,如图 3-9所示。 添加 “计费 ”按钮 Command2的 Click事件代码,如图 3-10所示。 添加“关闭 ”按钮 Command3的 Click事件代码,代码如下: release thisform 4 【正确答案】 操作步骤如下: 在表单中创建 3个 “标 签 ”控件、一个 “文本框 ”控件、 1个 “单选组 ”和一个 “命令按钮 ”控件,并选择好位置和大小。 设置控件的字体和字号。 表单控件的主要属性见表 3-4。 打开“代码编辑 ”窗口,添加 Text1的 LostFocus事件代码,如图 3-12所示。 添加 “选项组 ”Optiongroup1的 Click事件代码,如图 3-13所示。 添加 “退出 ”按钮 Command1的 Click事件代码,如图 3-14所示。

展开阅读全文
相关资源
猜你喜欢
  • AECMA PREN 3263-1994 Aerospace Series Pipe Coupling 8 Degree 30' in Titanium Alloy Tee Bulkhead End Edition P 2 [Replaced By ASD-STAN PREN 4030]《航空航天系列.导管接头8°30′钛合金钛合金座带防水罩.P2版》.pdf AECMA PREN 3263-1994 Aerospace Series Pipe Coupling 8 Degree 30' in Titanium Alloy Tee Bulkhead End Edition P 2 [Replaced By ASD-STAN PREN 4030]《航空航天系列.导管接头8°30′钛合金钛合金座带防水罩.P2版》.pdf
  • AECMA PREN 3264-2009 Aerospace series Pipe coupling 8 degrees 30' in titanium alloy Thrust wire nuts Edition P 3《航空航天系列.钛合金弯管连接件8°30’.推力金属丝螺母.版本P3》.pdf AECMA PREN 3264-2009 Aerospace series Pipe coupling 8 degrees 30' in titanium alloy Thrust wire nuts Edition P 3《航空航天系列.钛合金弯管连接件8°30’.推力金属丝螺母.版本P3》.pdf
  • AECMA PREN 3265-1994 Aerospace Series Pipe Coupling 8 Degree 30' in Titanium Alloy Nut Union Edition P 2《航空航天系列.导管接头8°30′钛合金旋转螺钉.P2版》.pdf AECMA PREN 3265-1994 Aerospace Series Pipe Coupling 8 Degree 30' in Titanium Alloy Nut Union Edition P 2《航空航天系列.导管接头8°30′钛合金旋转螺钉.P2版》.pdf
  • AECMA PREN 3266-1995 Aerospace Series Pipe Coupling in Titanium Alloy Bulkhead Nuts Edition P 2《航空航天系列.导管接头钛合金防水罩.P2版》.pdf AECMA PREN 3266-1995 Aerospace Series Pipe Coupling in Titanium Alloy Bulkhead Nuts Edition P 2《航空航天系列.导管接头钛合金防水罩.P2版》.pdf
  • AECMA PREN 3267-1990 Aerospace Series Washer Bulkhead in Titanium Alloy Issue P 1《航空航天系列.导管接头金属冷拉防腐蚀钢 0 5 mm小于或等于直径D小于或等于6mm》.pdf AECMA PREN 3267-1990 Aerospace Series Washer Bulkhead in Titanium Alloy Issue P 1《航空航天系列.导管接头金属冷拉防腐蚀钢 0 5 mm小于或等于直径D小于或等于6mm》.pdf
  • AECMA PREN 3268-1995 Aerospace Series Pipe Coupling 8 Degrees 30' in Titanium Alloy Pressure Plugs Edition P 2《航空航天系列.导管接头8°30′钛合金动态密封.P2版》.pdf AECMA PREN 3268-1995 Aerospace Series Pipe Coupling 8 Degrees 30' in Titanium Alloy Pressure Plugs Edition P 2《航空航天系列.导管接头8°30′钛合金动态密封.P2版》.pdf
  • AECMA PREN 3269-1995 Aerospace Series Pipe Coupling 8 Degrees 30' in Titanium Alloy Blind Ferrule with Dynamic Beam Seal End Edition P 2《航空航天系列.导管接头8°30′钛合金熄灭插头带自锁环.P1版》.pdf AECMA PREN 3269-1995 Aerospace Series Pipe Coupling 8 Degrees 30' in Titanium Alloy Blind Ferrule with Dynamic Beam Seal End Edition P 2《航空航天系列.导管接头8°30′钛合金熄灭插头带自锁环.P1版》.pdf
  • AECMA PREN 3270-1994 Aerospace Series Pipe Coupling 8 Degree 30' in Titanium Alloy Blanking Plugs with Locking Ring Edition P 1《航空航天系列.导管接头8°30′钛合金熄灭插头带自锁环.P1版》.pdf AECMA PREN 3270-1994 Aerospace Series Pipe Coupling 8 Degree 30' in Titanium Alloy Blanking Plugs with Locking Ring Edition P 1《航空航天系列.导管接头8°30′钛合金熄灭插头带自锁环.P1版》.pdf
  • AECMA PREN 3271-1994 Aerospace Series Pipe Coupling 8 Degree 30' Thrust Wire Edition P 2 [Replaced By ASD-STAN PREN 4032]《航空航天系列.导管接头8°30′钛合金动态密封带奶嘴锻造几何图形P1型》.pdf AECMA PREN 3271-1994 Aerospace Series Pipe Coupling 8 Degree 30' Thrust Wire Edition P 2 [Replaced By ASD-STAN PREN 4032]《航空航天系列.导管接头8°30′钛合金动态密封带奶嘴锻造几何图形P1型》.pdf
  • 相关搜索

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

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