试题 试卷
题型:填空题 题类:模拟题 难易度:普通
浙江省杭州市2015年高考模拟命题比赛信息技术(6)
Private Sub Command1_click()
Dim s as integer,I as integer
S=0
For i=1 to 20 step 3
s=s+(-1)^i*i
Next i
Label1.caption=str(i)
Label2.caption=str(s)
End Sub
输入x的值为7,执行这部分流程,输出n的值为( )
For i= 1 To 10
b(i)=0
For i= 1 To 5
For j= 1 To 10
If b(i) <a(j) Then
b(i)=a(j)
t=j
End If
Next j
a(t)=0
List 1.Additem Str(b(i) )
其中数组元素a(1)到a(10)的值依次为“25,42,53,66,77,83,98,14,38,99”,执行程序后,在列表框List 1中依次输出的数据是( )
试题篮