试题 试卷
题型:单选题 题类:常考题 难易度:普通
浙江省宁波市北仑中学2018-2019学年高一上学期信息技术期中考试试卷
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
该程序段计算的数学表达式是( )
Private Sub Command1_Click()
Dim i As Integer
Dim a(10)As Integer ‘①
For i=1 To 10 ‘②
a(i)=Rnd* 100 ‘③
Label1.Caption=Str(a(i)) ‘④
End Sub
s=56
s1=s\10
s2=s Mod 10
s=s1+s2*10
Print "s="; s
试题篮