【单选题】下列程序段的执行结果为( )。 Dim A(3,3) For M=1 To 3 For N=1 To 3 If N=M Or N=3-M+1 Then A(M,N)=1 Else A(M,N)=0 End If Next N Next M For M=1 To 3 For N=1 To 3 Print A(M,N) Next N Print Next M
【多选题】Both bridges are switches are being used throughout the Ezonexam LAN. Which of the following statements are true regarding bridges and switches in this network? (Choose 3)
A.
Switches are primarily software based while bridges are hardware based.
B.
Switches usually have a higher number of ports than most bridges.
C.
Bridges are frequently faster than switches.
D.
Bridges define broadcast domains while switches define collision domains.
E.
Both bridges and switches forward Layer 2 broadcasts.
F.
Both bridges and switches make forwarding decisions based on Layer 2 addresses.
【单选题】下列程序段的执行结果是Dim A(3,3)For M = 1 To 3For N = 1 To 3If N = M Or N = 3 - M + 1 ThenA(M,N) = 1Else A(M,N) = 0 End IfNext NNext MFor M = 1 To 3For N = 1 To 3Print A(M,N)Next NPrint Next M
【单选题】有如下程序段:Private Sub Command1_Click( ) Dim a As Integer a=2 For i=1 To 3 Print G(A)Next iEnd SubFunction G(a As Integer) b=0 Static c b=b + 1 c=c + 1 G=a + b + cEnd Function运行上面的程序后,单击命令按钮,输出结果为