试题 试卷
题型:单选题 题类:模拟题 难易度:普通
浙江省名校信息技术仿真训练卷(四)
Dim i As Integer,s As Integer
s=0
For i=2 To ________ Step 2
s=s+i
Next i
Label1.Caption=Str(s)
Dim strA As String, strB As String
strA = "hongda":strB = ""
For i = 1 To Len(strA) * 2
If i / 2 = Int(i / 2) Then
strB = strB + Chr(Asc(Mid(strA, (i - 1) Mod Len(strA) + 1, 1)) + 2)
End If
该程序段运行后,变量strB的值是( )
试题篮