试题 试卷
题型:填空题 题类:模拟题 难易度:普通
浙江省杭州市2015年高考信息技术模拟卷3
Private Sub Command1_Click()
Dim I as integer
For i=1 to 10 step 2
If i>=5 then
List1.additem str(i-3)
Else
List1.additem str(i)
Next i
End Sub
If x>100 then
Y=12
① x>60 then
Y=8
y=5
②
该程序段中,①处填写的内容为{#blank#}1{#/blank#};②处填写的内容为{#blank#}2{#/blank#}。
Dim a(1 To 10) As Integer
a(1)=2: a(2)=18: a(3)=10: a(4)=34: a(5)=16
a(6)=7: a(7)=37: a(8)=6: a(9)=15: a(10)=15
c=0: x=0: t= 1
For i=1 To 10
a(i)=a(i)*t
c=c+a(i)
If c>0 Then x=x+1
t=-t
Text1.Text=Str(x)
则程序运行后Text1中显示( )
试题篮