题型:综合题 题类:常考题 难易度:普通
浙江省温州市2018届高三上学期信息技术期中考试试题
请在程序的划线处填写合适的代码。
Private Sub Command1_Click()
Dim a As String,s As String
Dim r As Integer,x As Integer
x = Val(Text1.Text)
s = ""
Do While x > 0
▲ ‘①
x = x \ 16
If r > 9 Then
a = Chr(r + 55)
Else
a = Str(r)
End If
▲ ‘②
Loop
Text2.Text = s
End Sub
S=0 :T=1 For i=1 to 100 S=s+i*T T=-T Next i
| S=0 For i=1 to 100 S=s+i*(-1)^(i+1) Next i
| S=0 For i=1 to 100 S=s+i*(-1)^i Next i
| S=0:S1=0:S2=0 For i=1 to 50 S1=s1+2*i-1 S2=s2+2*i Next i S=s1-s2 ④ |
试题篮