由“For i=1 To 9 Step -3”决定的循环结构被执行( ) 次。
- A4
- B5
- C6
- D0
由“For i=1 To 9 Step -3”决定的循环结构被执行( ) 次。
1、设有如下程序段:x=2For i=1 To 10 Step 2x=x+iNe
设有如下程序段:x=2For i=1 To 10 Step 2x=x+iNext运行以上程序后,x的值是( )。A26B27C38D57
2、John suggested that I()to France for t
John suggested that I()to France for the weekend.AgoBgoingCwentDhad gone
3、Nice to see you. I()you for a long tim
Nice to see you. I()you for a long time.Ahaven't seenBdidn't seeChadn't seenDdon't see
4、已知程序段:s = 0For i = 1 To 10 Step 2s =
已知程序段:s = 0For i = 1 To 10 Step 2s = s + 1i = i * 2Next i当循环结束后,变量i和s的值分别为______A10 4B11 3C22 3D16 4
5、下面的循环语句可以在一行上输出( )个“*”号。For i=1 To 40P
下面的循环语句可以在一行上输出( )个“*”号。For i=1 To 40Print “*”;Next iA 38B 39C 40D 41
6、在VB程序中,以下程序段执行后,x的值为( )x=5For i=1 To 2
在VB程序中,以下程序段执行后,x的值为( )x=5For i=1 To 20 Step 2x=x+i5Next iA21B22C23D24