试题 试卷
题型:填空题 题类:模拟题 难易度:普通
浙江省杭州市2015年高考信息技术模拟卷10
Private Sub Command1_Click( )
Dim s As Integer
Dim I As Integer
S=0
For i=1 To 10
s=s+i\7
Next i
Text1.text=str(s)
End sub
该程序段运行后,文本框Text1中显示
右框内划线处的内容可以是( )
s = ""
For i = 1 To Len(Text1.Text)
s = s + Mid(Text1.Text, Len(Text1.Text) - i + 1, 1)
若文本框Textl中输入“a1b2c3”,执行程序后,变量s的值为( )
点击“转换”按钮Command1,则在文本框Text2中显示该金额的大写,程序运行界面如下图所示:
Dim s(1 To 81) As Integer, i As Integer, j As Integer, c As Integer, temp As Integer
c=0 : s(1) = 0
For i = 1 To 9
For j = 1 To i
temp = s(j * i)
s(j * i) = j * i
If temp <> s(j * i) And s(j * i) Mod 9 = 0 Then c = c + 1
Next j
该程序段运行后,变量C的值为( )
x=10
y=3
print(x%y,x**y)
试题篮