试题 试卷
题型:单选题 题类:模拟题 难易度:普通
浙江省杭州市2016年信息技术高考模拟卷十一
空白矩形框中应该填入的是( )
当n为100、p为10时,实付金额s的值是( )。
PRIVATE SUB FORM_CLICK
DIM A(4,4) AS INTEGER
FOR I = 1 TO 4
FOR J= 1 TO 4
IF {#blank#}1{#/blank#}
A(I,J)=1
{#blank#}2{#/blank#}
A(I,J)=0
END IF
PRINT A(I,j);
{#blank#}3{#/blank#}
PRINT
{#blank#}4{#/blank#}
END SUB
For i=1 To 100
For j=i To 100
If j Mod i=0 Then a(j)=a(j)+1
Next j
Next i
Text1. Text=Str(a(30))
数组a各元素的初值为0,执行上述程序段后,文本框Text中输出的内容为( )
a(1) = "231": a(2) = "34": a(3) = "23": a(4) = "234": a(5) = "123"
For i = 1 To 2
For j = 1 To 5 - i
If a(j) > a(j + 1) Then t = a(j): a(j) = a(j + 1): a(j + 1) = t
Text1.text=a(j)
执行该程序段后,文本框Text1显示的内容为( )
试题篮