[听力原文]W: Can I help you. SirM: Yes, can you show me the way to Gate 9 for Flight 911 to Hong Kong I’m quite confused here. Which Flight will the man take()
A. Plight 811.
B. Flight 611.
C. Flight 711.
D. Flight 911.
查看答案
有程序如下: Sub subP(b() As Integer) For i=1 To 4 b(i)=2*i Next i End Sub Private Sub Command1_Click() Dim a(1 To 4) As Integer a(1)=5 a(2)=6 a(3)=7 a(4)=8 subP a() For i=1 To 4 Print a(i) Next i End Sub运行上面程序,单击命令按钮,输出结果为______ 。
A. 2 4 6 8
B. 5 2 2 2
C. 10 12 14 16
D. 出错
以下程序用于求s=1+(1+2)+(1+2+3)+……(1+2+……100)的和,请补充完该程序。 Dim n As Integer Dim i As Integer Dim j As Long Dim s As Long n=100 j=0 s=0 For i=1 To 【12】 J= 【13】 s= 【14】 Next i Print s
有如下程序,该程序的执行结果是 【6】 。Private Sub Command1 Click() For i=1 To 4 x=4 For j=1 To i x =3 For k=1 To 2 x= x + 5 Next k Next j Next i Print x End Sub
在传统集合运算中,假定有关系R和s,运算结果为RS。如果RS中的元组属于R而不属于S,则RS是 【5】 运算的结果;