试题 试卷
题型:单选题 题类:常考题 难易度:普通
浙江省东阳市第二高级中学2014-2015学年高一上学期信息技术期末考试试卷
Dim x,y As Integer
x=2
y=20
Do While x<y
x =x^2
Loop
Dim n As Integer, i As Integer, a As Integer, b As Integer
Randomize
n=5:i=1
Do While i <=n
a= Int(Rnd*90)+ 10
b= Int(Rnd*90)+ 10
If a>b Then
List1.AddItem Str(a)+"-"+ Str(b)+“=“
i=i+1
End If
执行该程序段后,下列说法正确的是( )
执行这部分流程,输入11,变量i和f的值分别是( )
For i= 1 To 8
a(i) =Int(Rnd*2)
Next i
sum= 0
For i=1 To 8 Step 3
For j=i To 8
a(j)=1-a(j)
Next j
sum=sum+a(i)
Text 1.Text=Str(sum)
执行该程序段后,文本框Text 1中显示的内容不可能是( )
试题篮