试题 试卷
题型:单选题 题类: 难易度:容易
山东省滨州市滨城区信息技术开学模拟考试卷(四)
①x=y ②y=x ③t=x ④x=t ⑤y=t ⑥t=y
Dim data(10) As Integer ‘①
Dim n As Integer ‘n表示总元素个数
Private Sub Command1_Click()
Dim t As Integer
t = Val(Text1.Text)
For i = t To n-1
②
Next i
n = n - 1
For i = 1 To n
③
End Sub
Private Sub Form_Load()
Dim i As Integer
n = 10
data(i) = i * 2
List1.AddItem Str(data(i))
PRIVATE SUB FORMCLICK
FOR I = 3 TO {#blank#}1{#/blank#}
F=0
FOR J= 2 TO I-1
IF {#blank#}2{#/blank#} THEN
F=1
EXIT FOR
END IF
NEXT J
IF F=0 THEN {#blank#}3{#/blank#}
{#blank#}4{#/blank#}
END SUB
试题篮