题目内容

循环结构For I%= -1 to –17 Step –2 共执行()次。

A. 5
B. 6
C. 8
D. 9

查看答案
更多问题

以下循环语句中在任何情况下都至少执行一次循环体的是()。

A. Do While 循环体 Loop
B. While 循环体 Wend
C. Do 循环体 Loop Until
Do Until 循环体 Loop

运行下列程序:Private Sub Form_Click()Dim x As Integer, y As String, z As Stringy = "abcde"For x = 1 To Len(y)z = Mid(Right(y, x), 1)Next xPrint zEnd Sub单击窗体后,则在窗体上显示的结果是()。

A. a
B. dac
C. abcde
D. baced

运行下列程序:Private Sub Form_Click()Dim x As Integer, y As String, z As Stringy = "abcde"For x = 1 To Len(y)z = z & Mid(Right(y, x), x, 1)Next xPrint zEnd Sub单击窗体后,则在窗体上显示的结果是()。

A. eeeee
B. edcba
C. abcde
D. baced

'运行下面程序后,在窗体中显示的是()。Private Sub Form_Click()a$="*": b$="$"For k=1 To 3x$=String$(Len(a$)+k,b$)Print x$;Next kPrintEnd Sub

A. *** ** ****
B. *$*$*$
C. 1*$2*$3*$
D. $$$$$$$$$

答案查题题库