题型:综合题 题类:常考题 难易度:困难
浙江省温州市求知中学2018-2019学年高二上学期信息技术期中考试试卷
Private Sub Command1_Click()
Const n = 8
Dim s As String
Dim a As Integer, i As Integer
Dim x As Boolean, y As Boolean, z As Boolean
x = False
y = False
z = False
Randomize
Do While ①
s = ""
For i = 1 To n
a = Int(Rnd() * 62) + 1
If a <= 10 Then
x = True
s = s + Chr(a + Asc("0") - 1)
ElseIf ② Then
y = True
s = s + Chr(a + Asc("A") - 11)
Else
z = True
s = s + Chr(a + Asc("a") - 37)
End If
Next i
Loop
Text1.Text = ③
End Sub
①处的代码是
②处的代码是
③处的代码是
试题篮