试题 试卷
题型:单选题 题类:常考题 难易度:普通
浙江省宁波市2017-2018学年高二上学期信息技术期中考试试题
i = 1
Do While i<=6
a(i) = Int(Rnd * 10) + 1
If a(i) Mod 2 = i Mod 2 Then i = i + 1
Loop
For i = 1 To 2
k = 1
For j = 1 To 6 - i * 2
If a(j) * k > a(j + 2) * k Then
t = a(j): a(j) = a(j + 2): a(j + 2) = t
End If
k = -k
Next j
Next i
执行该程序段后,在下列选项中,a(1)~a(6)各元素值可能的是( )
试题篮