试题 试卷
题型:单选题 题类:常考题 难易度:困难
浙江省台州中学2014-2015学年高一下学期信息技术期中考试试卷
DIM A(1991 TO 1998) AS INTEGER
FOR I=1 TO 8
A(I)=I
PRINT A(I);
NEXT I
Dim M(10) as integer
For i = 0 To 10
M(i) = 2*i
Next i
Print M(M(3))
Fori=1To5
b(a(i))=b(a(i))+1
Nexti
t=0
Forj=1To10
Fork=1Tob(j)
t=t+1:a(t)=j
Nextk
Nextj
a(1)到a(5)d初值依次是7、5、9、4、3,程序段运行后,数组a的值依次是()
result=[]
i=0#用于遍历1st1
j=0#用于遍历1st2
while i<len(lst1) and j<len(lst2) :#①
if lst1[i]<lst2[j]:
result.append(lst1[i])
i+=1
else:
result.append(lst2[j])
j+=1
while i<len(lst1):
result.append(lst1[i]) #②
while j<len(lst2):
result.append(lst2[j]) #③
下列说法不正确的是( )
s = ['12','22','23','31','123','224']
res =s[0]
for i in range(1,len(s)):
if s[i] >= res:
res =s[i]
print(res)
执行上述程序后,输出的结果是( )
试题篮