试题 试卷
题型:填空题 题类:常考题 难易度:普通
浙江省金华市云富高级中学2018-2019学年高一上学期信息技术12月月考试卷
①
②
s = 0
For a = To 8 Step 2
s = s + a
Next a
若要使语句s = s + a执行3次,则循环变量a初值为( )
执行该流程图后,输出i,k的值分别是( )
Dim n As Integer, i As Integer, a As Integer, b As Integer
Randomize
n=5:i=1
Do While i <=n
a= Int(Rnd*90)+ 10
b= Int(Rnd*90)+ 10
If a>b Then
List1.AddItem Str(a)+"-"+ Str(b)+“=“
i=i+1
End If
Loop
执行该程序段后,下列说法正确的是( )
该算法完成的功能是( )
试题篮