题型:综合题 题类:常考题 难易度:困难
浙江省绍兴市诸暨中学2015-2016学年高二上学期期中考试信息技术试卷
Function s(m) As Boolean
Dim i As Integer
______1_______
For i = 2 To Int(Sqr(m))
If m / i = 0 Then s = false ‘3
Next i
End Function
Private Sub Command1_click()
Dim i, n As Integer
Dim p1, p2 As Boolean
n = Val(Text1.Text)
p1 = s(3)
List1.Clear
For i = ______2_____
p2 = s(i)
If p2 = True Then List1.AddItem = Str(i - 2) + " " + Str(i) ‘4
p1 = p2
Next i
End Sub
试题篮