A.One day.
B.Six days.
C.Three days.
D.Eleven days.
第1题
假定有如下的Sub过程: Sub sfun(x As Single,y As SinglE)t=x x=t/y y=t Mod y End Sub 在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程: Private Sub Command1_Click() Dim a as single Dim b as single a=5 b=4 sfun a,b MsgBox a &char(10
A.1和1
B. 1.25和1
C. 1.25和4
D. 5和4
第2题
假定有如下的Sub过程:
Sub sfun(x As Single,y As Single)
t=x
x=t/y
y=t Mod y
End Sub
在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程:
Private Sub Command1_Click()
Dim a as single
Dim b as single
a=5
b=4
sfun a,b
MsgBox a & chr(10)+chr(13)& b
End Sub
打开窗体运行后,单击命令按钮,消息框的两行输出内容分别为
A.1和1
B.1.25和1
C.1.25和4
D.5和4
第3题
假定有如下的Sub过程: sub sfun(x As Single,y As Single) t=x x=t/y y=t Mod y End Sub 在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程: Private Sub Command1_Click() Dim a as single Dim b as single a=5 b=4 sfun a,b MsgBox a & chr(10)+chr(13)& b End Sub 打开窗体运行后,单击命令按钮,消息框的两行输出内容分别为 ______。
A.1和1
B.1.25和1
C.1.25和4
D.5和4
第4题
(35 )假定有如下的 Sub 过程:
Sub sfun (x As Single , y As Single )
t=x
x=t/y
y=t Mod y
End Sub
在窗体上添加一个命令按钮(名为 Command1 ),然后编写如下事件过程:
Private Sub Command1_Click()
Dim a as single
Dim b as single
a=5
b=4
sfun a , b
MsgBox a & chr (10 ) +chr (13 ) & b
End Sub
打开窗体运行后,单击命令按钮,消息框的两行输出内容分别为
A ) 1 和 1
B ) 1.25 和 1
C ) 1.25 和 4
D ) 5 和 4
第5题
假定有如下的Sub过程: Sub sfun(x As Single,y As Single) t=x x=t/y y=t Mod y End Sub 在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程: Private Sub Command1 Click() Dim a as single Dim b as single a=5 b=4 sfun a,b MsgBox a & chr(10)+chr(13)&b End Sub 打开窗体运行后,单击命令按钮,消息框的两行输出内容分别为()。
A.1n1
B.1.25和1
C.1.25和4
D.5和4
第6题
假定有如下的Sub过程: sub sfun(x As Single,y As Single) t=x x=t/y y=t Mod y End Sub 在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程: Private Sub Command1_Click() Dim a as single Dim b as single a=5 b=4 sfun a,b MsgBox a & chr(10)+chr(13)& b End Sub 打开窗体运行后,单击命令按钮,消息框的两行输出内容分别为 ______。
A.1和1
B.1.25和1
C.1.25和4
D.5和4
第7题
假定有如下的Sub过程:
Sub sfun(x As Single,y As Single)
t=x
x=t/y
y=t Mod y
End Sub
在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程:
Private Sub Command1_Click()
Dim a As single
Dim b As single
a=5
b=4
sfun a,b
MsgBox a & chr(10)+chr(13)&b
End Sub
打开窗体运行后,单击命令按钮,消息框的两行输出内容分别为()。
A.1和1
B.1.5和1
C.1.25和4
D.5和4
第8题
假定有如下的Sub过程:
Sub sfun(x As Single,y As Single)
t=x
x=t/y
y=t Mod y
End Sub
在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程:
Private Sub Command1_Click()
Dim a As Single
Dim b As single
a=5
b=4
sfun a,b
MsgBox a & chr(10)+chr(13) &b
End Sub
打开窗体运行后,单击命令按钮,消息框的两行输出内容分别为()。
A.1和1
B.1.25和1
C.1.25和4
D.5和4
第9题
假定有如下的Sub过程: sub sfun(x As Single, y As Single. t=x x=t/y y=t Mod y End Sub 在窗体上添加一个命令按钮(名为Command1.,然后编写如下事件过程: Private Sub Command1_Click(. Dim a as single Dim b as single a=5 b=4 sfun(a,b. MsgBox a & chr(10.+chr(13. & b End Sub 打开窗体运行后,单击命令按钮,消息框的两行输出内容分别为
A.1和1m
B.1.25和1
C.1.25和4
D.5和4
第10题
假定有如下的Sub过程:
Sub Sub1(x As Single,y As single)
t=x
x=t/y
y=t Mod y
End Sub
在窗体上画一个命令按钮,然后编写如下事件过程:
Private Sub Command1_click()
Dim a As Single
Dim b As Single
a=5
b=4
Sub1 a,b
Print a;b
End Sub
程序运行后,单击命令按钮,输出结果为
A.
B.
C.
D.
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!