下列VB逻辑或关系表达式中,去处结果为“真”的是
A.7-2>7B.(12<5) or (8>6)C.5>2D.(5>3) and (3>1)
当前题号:1 | 题型:选择题 | 难度:0.99
在VB中,函数Left()的功能是从字串左端开始截取部分字串,那么表达式Left ("morning" , 3)的结果为
A.ningB.morC.ingD.morn
当前题号:2 | 题型:选择题 | 难度:0.99
下列选项中,正确的赋值语句是
A.a+b=6B.8=aC.b=a+8D.-b=8
当前题号:3 | 题型:选择题 | 难度:0.99
下列关系或逻辑表达式的结果为“True”的是
A.2*2< 2+2B."123"+45<178
C.Not(6<>11)D.(5 > 0) And (4 < 3)
当前题号:4 | 题型:选择题 | 难度:0.99
在VB中,语句Dim s As Integer的功能是
A.定义一个字符串型变量sB.定义一个日期型变量s
C.定义一个整型变量sD.定义一个单精度型变量s
当前题号:5 | 题型:选择题 | 难度:0.99
VB程序中Label1.caption="Welcome to Guilin",其作用是(   )
A.将文本框Label1的名称设置为 "Welcome to Guilin "
B.将文本框Label1显示的文本设置为 "Welcome to Guilin"
C.将标签Label1的名称设置为 "Welcome to Guilin"
D.将标签Label1显示的文本设置为 "Welcome to Guilin"
当前题号:6 | 题型:选择题 | 难度:0.99
在VB中,如果x=-25.8,则运行“x=Int(x):x=abs(x)”后,x的值是( )
A.-25B.25C.-26D.26
当前题号:7 | 题型:选择题 | 难度:0.99
在VB中,若x=5,y=6,则下列程序段执行后,结果为x=6,y=5的是( )
A.x=y:y=xB.y=x:x=y
C.x=y:t=x:y=tD.t=x:x=y:y=t
当前题号:8 | 题型:选择题 | 难度:0.99
表达式Int(Rnd*71)+10产生的随机整数范围是[10,80]。(    )
A.正确B.错误
当前题号:9 | 题型:选择题 | 难度:0.99
以下程序,单击按钮 Command1后,其结果是(    )
Private Sub Command1_Click()

Dim a As Integer, b As Integer

a = 5: b = 3

Print work(a, b)

End Sub
Function work(x As Integer, y As Integer) As Integer

If (x < y) Then

work = 0

Exit Function

End If

If (y = 0) Then

work = 1

Exit Function

End If

work = work(x - 1, y - 1) + work(x - 1, y)

End Function
A.8B.9C.10D.11
当前题号:10 | 题型:选择题 | 难度:0.99