Which program gives us the ideas behind the pop songs?A.The History of Pop.B.The Road to M
Which program gives us the ideas behind the pop songs?
A.The History of Pop.
B.The Road to Music.
C.Pop Words.
D.About the Big Hits.
Which program gives us the ideas behind the pop songs?
A.The History of Pop.
B.The Road to Music.
C.Pop Words.
D.About the Big Hits.
第1题
在窗体中添加一个命令按钮,并编写如下程序:Private Sub Command1_ Click() x=1: y=2: z=3 x=y: y=z: z=xEnd Sub程序执行后,输出的结果是______。
A.3
B.0
C.2
D.1
第2题
阅读程序:Private Sub Form_ Click() a=0 For j=1 To 15 a=a+j Mod 3 Next j Print aEnd Sub 程序运行后,单击窗体,输出结果是______。
A.105
B.1
C.120
D.15
第3题
阅读程序:Private Sub Form_ Click() a=0 For j=1 To 15 a=a+j Mod 3 Next j Print aEnd Sub 程序运行后,单击窗体,输出结果是______。
A.105
B.1
C.120
D.15
第4题
下列程序的运行结果是 ______。Private Sub Command1_ Click () a =1: b=1 for i = 1 To 3 a= a+ b: b=b+ a Next i Print a, bEnd Sub
A.6 6
B.5 8
C.13 21
D.34 55
第5题
下面程序运行后,窗体中显示______。Private Sub Command1_ Click() a$ = "*": b$ = "$ for k = 1 To 3 x$ = String$(Len(a$) +k, b$) Print x$; Next k PrintEnd Sub
A.*** ** ***
B.*$*$*$
C.1*$2*$3*$
D.$$$$$$$$$
第6题
下面程序运行后的输出结果是______。Private Sub Command1_ Click () for j = 1 To 10 if j Mod 3 <> 0 then a =a+j\3 Next j Print aEnd Sub
A.20
B.10
C.3
D.9
第7题
在窗体上画一个名称为Command1的命令按钮,然后编写如下程序:Private Sub Command1_ Click() Static x As Integer Static y As Integer Cls y=1 y=y+5 x=y +x Print x, yEnd Sub程序运行时,三次单击命令按钮Command1后,窗体上显示的结果为______。
A.15 16
B.15 6
C.15 15
D.5 6
第8题
以下程序运行后输出的结果是______。 Private Sub Form. _Click() a=0 For j=1 To 15 a=a+j Mod 3 Next j Print a End Sub
A.10
B.15
C.80
D.100
第9题
有如下的程序片段,该程序片段的执行完后,共执行循环______次。 Private Sub command1_ Click() total =0 Counter = 1 do Print Counter total = total + Counter Print total, "111" Counter = Counter + 1 if total >= 10 then exit do End if Loop while Counter <= 10 End Sub
第10题
在窗体上画一个命令按钮,名称为Command1。然后编写如下程序:Private Sub Command1_ Click()Dim a As Integer, b As Integerb = 1for a = 1 To 100 if b>= 10 then exit for if b Mod 3 = 1 then b=b+3 End ifNext aPrint aEnd Sub在命令按钮上单击后,窗体上显示的结果是______。
A.101
B.6
C.5
D.4
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!