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

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

1、VB笔试章节练习试卷 8及答案与解析 1 执行语句 Print Format(1234.567, ”#, #0.00”)后,输出结果是 _。 ( A) 1234.57 ( B) 12,34.57 ( C) 1,234.567 ( D) 1,234.56 2 以下语句的输出结果是 _。 Print Format(12345.6, “000,000.00“) ( A) 12345.6 ( B) 12,345.6 ( C) 012,345.60 ( D) 12,345.60 3 以下语句执行时,从键盘 上输入 Zhang,执行结果是 _。 Dim a As String a=InputBox(“In

2、put“, “, “Name“) Print a ( A) Input ( B) Name ( C) Zhang ( D)空字符串 4 语句 Print 4 56*7/8 Mod 9的值是 _。 ( A) 4 ( B) 5 ( C) 6 ( D) 7 5 以下语句的输出结果是 _。 a=123 b=456 Print a; b ( A) 123456 ( B) 123456 ( C) 123456 ( D) 123456 6 以下语句的输出结果是 _。 a$=“123“ b$=“456“ Print a$; b$ ( A) 123456 ( B) 123456 ( C) 123456 ( D)

3、 123456 7 下列语句执行后的输出结果是 _。 Wage=26 Print“工资 “; Print Wage ( A)工资 26 ( B)工资 26 ( C)工资 26 ( D)工资 26 8 下列程序的执行结果是 _。 X=-62 Print Sgn(x) Abs(x) Int(x) ( A) -36 ( B) 1 ( C) -1 ( D) -72 9 下列事件过程运行时,信息框中出现的结果是 _。 Private Sub Command1_Click() MsgBox Str(123 123) End Sub ( A) 123 123 ( B) 123 ( C) 246 ( D)显示

4、出错信息 10 在窗体上画一个名称为 Command1的命令按钮,然后编写如下程序: Private Sub Command1_Click() Static a AS Integer Static b As Integer Cls b=2 b=b+2 a=3+a Print a, b End Sub 程序运行后,三次单击该命令按钮,此时窗体上显示的结果是 _。 ( A) 3 5 ( B) 6 6 ( C) 3 3 ( D) 9 4 11 _函数用于返回 n个空格。 12 _的主要功能是返回或设置在控件中或在运行时画图或打印操作中,显示文本所用的字体。 13 在窗体上画一个文本框、一个标签和一个

5、命令按钮,其名称分别为 Text1、Labell和 Commandl,然后编写如下两个事件过程; Private Sub Command1_Click() S = InputBox (“请输入 1个字符串 “) Text1.Text= S End Sub Private Sub Text1_Change() Labell.Caption = UCase(Mid(Text1, Text2, 8) End Sub 程序运行后,单击命令按钮,将显示一个输入对话框,如果在该对话框中输入字符串 “Visual Basic“,则在标签中显示的内容是 _。 VB笔试章节练习试卷 8答案与解析 1 【正确答案】 B 2 【正确答案】 C 3 【正确答案】 C 4 【正确答案】 B 5 【正确答案】 D 6 【正确答案】 B 7 【正确答案】 A 8 【正确答案】 C 9 【正确答案】 C 10 【正确答案】 D 11 【正确答案】 Space 12 【正确答案】 FontName 13 【正确答案】 BASIC

展开阅读全文
相关资源
猜你喜欢
  • BS PD IEC TS 62763-2013_5284 Pilot function through a control pilot circuit using PWM (pulse width modulation) and a control pilot wire《通过控制导向线使用PWM (脉冲宽度调制) 的导向功能和控制导向线》.pdf BS PD IEC TS 62763-2013_5284 Pilot function through a control pilot circuit using PWM (pulse width modulation) and a control pilot wire《通过控制导向线使用PWM (脉冲宽度调制) 的导向功能和控制导向线》.pdf
  • BS ISO 8070-2007 Milk and milk products - Determination of calcium sodium potassium and magnesium contents - Atomic absorption spectrometric method《牛奶和奶制品 钙、钠、钾和镁含量的测定 原子吸.pdf BS ISO 8070-2007 Milk and milk products - Determination of calcium sodium potassium and magnesium contents - Atomic absorption spectrometric method《牛奶和奶制品 钙、钠、钾和镁含量的测定 原子吸.pdf
  • BS ISO 8082-1-2009 Self-propelled machinery for forestry - Laboratory tests and performance requirements for roll-over protective structures - General machines《林业用自推进机械 防倾.pdf BS ISO 8082-1-2009 Self-propelled machinery for forestry - Laboratory tests and performance requirements for roll-over protective structures - General machines《林业用自推进机械 防倾.pdf
  • BS ISO 8082-2-2011 Self-propelled machinery for forestry Laboratory tests and performance requirements for roll-over protective structures Machines having a rotating platf.pdf BS ISO 8082-2-2011 Self-propelled machinery for forestry Laboratory tests and performance requirements for roll-over protective structures Machines having a rotating platf.pdf
  • BS ISO 8083-2006 Machinery for forestry - Falling-object protective structures (FOPS) - Laboratory tests and performance requirements《林业机械 落体防护装置(FOPS) 实验室试验和性能要求》.pdf BS ISO 8083-2006 Machinery for forestry - Falling-object protective structures (FOPS) - Laboratory tests and performance requirements《林业机械 落体防护装置(FOPS) 实验室试验和性能要求》.pdf
  • BS ISO 8086-2004 Dairy plant - Hygiene conditions - General guidance on inspection and sampling procedures《乳品厂 卫生条件 检验和取样程序通用指南》.pdf BS ISO 8086-2004 Dairy plant - Hygiene conditions - General guidance on inspection and sampling procedures《乳品厂 卫生条件 检验和取样程序通用指南》.pdf
  • BS ISO 8096-2005 Rubber- or plastics-coated fabrics for water resistant clothing - Specification《雨衣用橡胶或塑料涂覆织物 规范》.pdf BS ISO 8096-2005 Rubber- or plastics-coated fabrics for water resistant clothing - Specification《雨衣用橡胶或塑料涂覆织物 规范》.pdf
  • BS ISO 8097-2001 Aircraft Minimum airworthiness requirements and test conditions for certified air cargo unit load devices《航空器 经认证的航空货运集装单元装置最低适航性要求和试验条件》.pdf BS ISO 8097-2001 Aircraft Minimum airworthiness requirements and test conditions for certified air cargo unit load devices《航空器 经认证的航空货运集装单元装置最低适航性要求和试验条件》.pdf
  • BS ISO 8114-1993 Textile machinery and accessories - Spindles for ring-spinning and doubling machines - List of equivalent terms《纺织机械和附件 环锭纺纱机和并线机用锭子 同义术语表》.pdf BS ISO 8114-1993 Textile machinery and accessories - Spindles for ring-spinning and doubling machines - List of equivalent terms《纺织机械和附件 环锭纺纱机和并线机用锭子 同义术语表》.pdf
  • 相关搜索

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

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