试题 试卷
题型:单选题 题类:常考题 难易度:普通
浙江省2020届高三上学期信息技术五校联考试卷
Dim a(1 To 5) As Integer Randomize
s = 0
Do While s<5
t = Int(Rnd * 5 + 1) a(t) = a(t) + 1
If a(t) = 1 Then s = s + a(t)
Loop
已知数组a(1)到 a(5)的初值均为0,该段程序运行后,下列说法正确的是( )
DIM A(1991 TO 1998) AS INTEGER
FOR I=1 TO 8
A(I)=I
PRINT A(I);
NEXT I
试题篮