更多"下列程序段的执行结果为 ______。 N=10 For K="的相关试题:
[单项选择]下列程序段的执行结果为( )。
For X=5 To 1 Step-1
For Y=1 To 6-X
Print Tab(Y+5);“水”:
Next
Print
Next
A. *****
B. *****
C. *
[单项选择]下列程序段的执行结果为______。
I=0
For G=10 To 19 Step 3
I=I+1
Next G
Print I
A. 4
B. 5
C. 3
D. 6
[单项选择]下列程序段的执行结果为______。
For X=5 To 1 Step-1
For Y=1 To 6-X
Print Tab(Y+5);"*";
Next Y
Print
Next X
A. *****
B. *****
C. *
D. *
[单项选择]下面程序段执行结果为
x=Int(Rnd( ) +4)
Select Case x
Case 5
Print"excellent"
Case 4
Print"good"
Case 3
Print"pass"
Case Else
Print"fail"
End Select
A. excellent
B. good
C. pass
D. fail
[单项选择]下列程序段的执行结果为( )。
a=0:b=0
For i=-1 To-2 Step-1
For j=-1 To-2 Step-1
b=b+1
Next i
a=a+1
Next i
Print a;b
A. 24
B. -2 2
C. 4 2
D. 2 3
[单项选择]下面程序段执行结果为( )。
x=Int(Rnd( )+4)
Select Case x
Case 5
Print"excellent"
Case4
Print"good"
Case 3
Print"pass"
Case Else
Print "fail"
End Select
A. excellent
B. good
C. pass
D. fall
[单项选择]下列程序段的执行结果为______。
A=0: B=0
For I=-1 To -2 Step-1
For J=1 To 2
B=B+1
Next J
A=A+1
Next I
Print A; B
A. 2 4
B. -2 2
C. 4 2
D. 2 3
[单项选择]下列程序段执行结果为
X=5
Y=-6
If Not x>0 Then x=y-3 Else y=x+3
Print x-y:y-x
A. -3 3 B) 5 -9C) 3 -3 D) -6 5
[单项选择]下面程序段执行结果为______。
x=Int(Rnd( )+4)
Select Case x
Case 5
Print "excellent"
Case 4
Print "good"
Case 3
Print "pass"
Case Else
Print "fail"
End Select
A. excellent
B. good
C. pass
D. fall
[单项选择]下列程序段执行的结果为( )。
A="HELLOCANIHELPYOU"
B="WANGCHANGLI"
C=Left (A,5)+"!"
D=Right(A,7)
E=Mid(A,6,4)
F=Mid(B,Len(B) -6.5)+"!"
G=E+""+D+"!"
H=C+""+F
Print H+""+G
A. HELLO!CHANG!CANIHELPYOU!
B. HELLO!WANG!CAIHELPYOU
C. HELLO!CANIHELPYOU!
D. HELLO!CHANG!CANIHELPYOU!
[单项选择]下列程序段执行的结果为( )。
A="HELLOCANIHELPYOU"
B="WANGCHANGLI"
C=Left(A,5)+"!"
D=Right(A,7)
E=Mid(A,6,4)
F=Mid(B,Len(B) )-6.5)+"!"
G=E+" "+D+"!"
H=C+" "+F
Print H+" "+G
A. HELLO!CHANG!CANIHELPYOU!
B. HELLO!WANG!CANIHELPYOU
C. HELLO!CANIHELPYOU!
D. HELLO!CHANG!CANIHELPYOU!