试题 试卷
题型:单选题 题类: 难易度:普通
浙江省温州市十校联合体2023-2024学年高二上学期信息技术期中考试试卷
item={"竞技类":["铁人三项","电子竞技","霹雳舞"],"球类":["足球","篮球","乒乓球"],
"对抗性":["拳击","跆拳道","卡巴迪","击剑"],"水上":["跳水","龙舟","帆船"]}
print(item["对抗性"][2][::-1])
执行该程序段后,输出的结果是( )
Dim a(1 to 10)as integer
Pos=-1
i=1
do while i<=10
if i mod 2=0 then a(i)=i*2 else a(i)=i
i=i+1
loop
i=10
do while i>=1
if a(i)=12 then Pos=i
i=i-1
该程序段运行后,变量Pos值是( )
A=1:b=1:n=12
f(1)=a:f(2)=b
For i=3 to n
c=a+b
f(i)=c Mod 4
a=b
b=c
Next i
执行该段程序后,数组元素f(12)的值为( )
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的值为( )
试题篮