题型:综合题 题类:常考题 难易度:困难
浙江省东阳中学2015-2016学年高一下学期信息技术期中考试试卷
Private Sub Command1_Click()
Dim t1 As Integer, t2 As Integer
Dim i As Integer, t As Integer
Dim f As Single
List1.Clear
t1 = Val(Text1.Text)
t2 = Val(Text2.Text)
If①Then ' (选填字母,从下列ⅰ、Ⅱ、Ⅲ、Ⅳ中选取一项)
t = t1: t1 = t2: t2 = t
End If
i = t1
Do While②'(选填字母,从下列ⅰ、Ⅱ、Ⅲ、Ⅳ中选取一项)
f = i * 9 / 5 + 32 '摄氏温度转换为华氏温度
List1.AddItem Str(i) + " " + Str(f)
'(填程序代码)
Loop
End Sub
划线①、②处的选项: Ⅰ.i <= t2 Ⅱ.f <= t2 Ⅲ.t1 > t2 Ⅳ.i < f
试题篮