试题 试卷
题型:单选题 题类:常考题 难易度:普通
海南省文昌中学2018-2019学年高一下学期信息技术段考信息试卷
a = 1
b = 0
m = a
x = m + b
b = b + 1
y = x + b
它的基本结构属于( )
s = 0
For i = _____ To 2
s = s + i
Next i
若要使语句s = s + i执行2次,则循环变量i初值为( )
For i = 5 To 4 Step -1
k = i
For j = 6 - i To 1 Step -1
If a(j) < a(k) Then k = j
Next j
If i <> k Then
t = a(i): a(i) = a(k): a(k) = t
End If
数组元素a(1)到a(5)的值依次为“41,66,70,83,31”,经过该程序段“加工”后,数组元素a(1)到a(5)的值依次为( )
当输入a,b的值分别为5,7,该算法的输出结果为( )
试题篮