刷题首页
题库
高中信息
题干
有如下Visual Basic程序段:
a = 9
b = "Command Button"
c = Len(b)
If a > 0 And a < c Then
Label1.Caption =Mid(b,a,6)
Else
Label1.Caption = "error"
End If
该程序段运行后,在标签Label1上显示的是____________
A.error
B.6
C.Button
D.Command
上一题
下一题
0.99难度 选择题 更新时间:2017-02-15 06:51:58
答案(点此获取答案解析)
同类题1
有如下VB程序段:
bianliang_a =" 3:bianliang_b" = 4
Label1.caption = “bianliang_a*bianliang_b”
该程序段运行之后,标签Label1将显示( )
A.3*4
B.12
C.bianliang_a*bianliang_b
D.3*4=12
同类题2
以下属于计算机高级程序设计语言的一组( )
①Pascal ②Java ③Dreamweaver ④Visual Basic ⑤Fortran ⑥Gold wave
A.①②③④
B.①②④⑤
C.②③④⑥
D.②③④⑤
同类题3
下列运算结果中,值最大的是( )
A.3\4
B.3/4
C.4 mod 3
D.3 mod 4
同类题4
在VB窗体中有一个对象,该对像的属性窗口如图所示,下列说法不正确的是( )
A.Interval为属性名
B.1680为属性值
C.该对象的名称为Timer1
D.根据“Timer1 Timer”可判断窗体名为Timer
同类题5
下列属于程序设计语言的是( )。
A.ACDSee
B.VisualBasic
C.WinRAR
D.Premiere
相关知识点
算法理论
面向对象程序设计 VB开发工具
VB应用程序的界面设计与调试
选择语句