试题 试卷
题型:单选题 题类:常考题 难易度:普通
浙江省北仑中学2018-2019学年高一下学期信息技术期中考试试卷
s = 0
For i = 1 To 30
If i Mod 5 = 0 Then
s = s + i
i = i + 6
End If
Next i
运行后,变量s的值是( )
则最后得到的字符串是:( )
n = 0
For i = 1 To Len(Text1.Text)
c = Mid(Text1.Text, i, 1)
If c >= "0" And c <= "9" Then m = 1 Else m = 2
a(m) = a(m) + 1
If a(m) = 1 Then n = n + 1
数组a各元素的初始值都为0,文本框Text1的内容为“Happy2017”。执行程序后,变量n的值为( )
试题篮