试题 试卷
题型:单选题 题类:常考题 难易度:困难
浙江省金华市东阳中学2016-2017学年高一6月月考信息技术试卷
Dim s As Double, x As Double, n As Integer, i As Integer
s=0:n=0
For i= 1 to 4
n=n+1
x=(n-1)/(n+1)
s=s+x
Next i
该程序段计算的数学表达式是( )
s = 1: t = 1
If a > 0 Then s = s + 1
If a > b Then
t = s + t
ElseIf a = b Then
t = 5
Else
t = 2 * t
End If
PRIVATE SUB FORMCLICK
FOR I = 3 TO {#blank#}1{#/blank#}
F=0
FOR J= 2 TO I-1
IF {#blank#}2{#/blank#} THEN
F=1
EXIT FOR
END IF
NEXT J
IF F=0 THEN {#blank#}3{#/blank#}
{#blank#}4{#/blank#}
END SUB
试题篮