试题 试卷
题型:单选题 题类:模拟题 难易度:普通
浙江省十校联盟2018年3月适应性考试信息技术试卷
p=a(1)
For I=2 to 30
If a(I) < p then p=a(I)
Next I
该程序段执行后,变量I的值是( )
i = 1: j = 10: temp = a(5)
Do While a(j) > temp j = j - 1
Loop
Do While a(i) < temp i = i + 1
temp = a(i) :a(i) = a(j):a(j) = temp
数组元素a(1)到a(10)的值依次为“36 91 36 17 93 99 2 9 97 97”,执行该程序段后,a(5)的值为( )
a = 3
b = 9
c = a + b
If c = 12 Then py = "正确" Else py = "不正确"
分析该程序段,下列说法正确的是( )
s = 0
a = 5
For i = 1 To 10 Step 2
a = a + i
s = a * i
Next i
问:该程序段运行后,
试题篮