执行下面的程序段后,x的值为________。x=5Fori=1to20Step2x=x+i5exti
执行下面的程序段后,x的值为________。x=5Fori=1to20Step2x=x+i5exti
EXTI线16连接到_________;EXTI线17连接到事件________
EXTI线16连接到_________;EXTI线17连接到事件________
声明一个变量为局部变量应该用( )。 A: Private Sub Command1 Click() n=5:x=1 Do X=X * I I=I + 1 Loop While I < n Print x End Sub B: Private Sub Command1_Click() n=5:X=1:I=1 Do X=X*I I=I + 1 Loop While I <n Print x End Sub C: Private Sub Command1_Click() n=5:X=1:I=1 Do X=X * I I=I + 1 Loop While I<=n Print X End Sub D: Private Sub Command1_Click() n=5:X=1:I=1 Do X=X * I I=I + 1 Loop While I>n Print X End Sub
声明一个变量为局部变量应该用( )。 A: Private Sub Command1 Click() n=5:x=1 Do X=X * I I=I + 1 Loop While I < n Print x End Sub B: Private Sub Command1_Click() n=5:X=1:I=1 Do X=X*I I=I + 1 Loop While I <n Print x End Sub C: Private Sub Command1_Click() n=5:X=1:I=1 Do X=X * I I=I + 1 Loop While I<=n Print X End Sub D: Private Sub Command1_Click() n=5:X=1:I=1 Do X=X * I I=I + 1 Loop While I>n Print X End Sub
执行下列程序段后,x的值是()。n = 5: x = 1: i = 1Do x = x * i i = i + 1Loop While i < n
执行下列程序段后,x的值是()。n = 5: x = 1: i = 1Do x = x * i i = i + 1Loop While i < n
下列程序段的执行结果为 i=9 x=5 Do i=i + 1 x=x + 2 Loop Until i>=7 Print "i=":i Print "x=":X A.i=4x=5 B.i=7x=15 C.i=6x=8 D.i=10x=7
下列程序段的执行结果为 i=9 x=5 Do i=i + 1 x=x + 2 Loop Until i>=7 Print "i=":i Print "x=":X A.i=4x=5 B.i=7x=15 C.i=6x=8 D.i=10x=7
执行下列程序段后,x的值为( )。x = 10For i = 1 To 5 For j = 1 To 5 Step 2 x = x - 1 Next jNext i A: -5 B: 5 C: 10 D: 0
执行下列程序段后,x的值为( )。x = 10For i = 1 To 5 For j = 1 To 5 Step 2 x = x - 1 Next jNext i A: -5 B: 5 C: 10 D: 0
Public Sub Proc(a%( )) Static i% Do a(i) = a(i) + a(i + 1) i = i + 1 Loop While i < 2 End Sub Private Sub Command1_Click( ) Dim m%, i%, x%(10) For i = 0 To 4: x(i) = i + 1: Next i For i = 1 To 2: Call Proc(x): Next i For i = 0 To 4: Print x(i);: Next i End Sub A: 3 4 7 5 6 B: 3 5 7 4 5 C: 2 3 4 4 5 D: 4 5 6 7 8
Public Sub Proc(a%( )) Static i% Do a(i) = a(i) + a(i + 1) i = i + 1 Loop While i < 2 End Sub Private Sub Command1_Click( ) Dim m%, i%, x%(10) For i = 0 To 4: x(i) = i + 1: Next i For i = 1 To 2: Call Proc(x): Next i For i = 0 To 4: Print x(i);: Next i End Sub A: 3 4 7 5 6 B: 3 5 7 4 5 C: 2 3 4 4 5 D: 4 5 6 7 8
执行下列程序段后,x的值是( ) n=5: x=1 : i=1 Do x=x*i i=i+1 Loop While i<n
执行下列程序段后,x的值是( ) n=5: x=1 : i=1 Do x=x*i i=i+1 Loop While i<n
下列关于串行化说法有误的是( )。 A: I=4 x=5 B: I=7 x=15 C: I=6 x=8 D: I=7 x=11
下列关于串行化说法有误的是( )。 A: I=4 x=5 B: I=7 x=15 C: I=6 x=8 D: I=7 x=11
如果定义以下数组和变量,则数组元素的有效引用是_____。 int x[5];int i=0 ; A: x[i*i] B: x[2+3] C: x[i] D: x[i+1] E: x[2*i]
如果定义以下数组和变量,则数组元素的有效引用是_____。 int x[5];int i=0 ; A: x[i*i] B: x[2+3] C: x[i] D: x[i+1] E: x[2*i]