A. inet.0
B. inet4.0
C. inet.6
D. inet6.0
E. inet.3
第1题:
运行下面程序时,从键盘输入字母H,则输出结果是 main() { char ch; ch=getchar(); swimh(ch) {case'H':printf("Hello!\n"); case'G':printf("Good morning!\n"); default:printf("Bye_Bye!\n"); } }
A.Hello!
B.Hello! GoodMoring!
C.Hello! Good moming! Bye_ye!
D.Hello! Bye_ye!
第2题:
The following output on Router R1 lists details of a BGP route for 190.1.0.0/16. Which of the following is true based on this output?()R1 show ip bgp 19 0.1.0.0/16BGP routing table entry for 190.1.0.0/16, version 121Paths: (1 available, best 1, table Default - IP - Routing - Table)Advertised to update - groups:11 2 3 41.1.1.1 from 2.2.2.2 (3.3.3.3)Origin IGP, metric 0, localpref 100, valid, internal, best
A. R1 has a neighbor 1.1.1.1 command configured.
B. R1 has a neighbor 2.2.2.2 command configured.
C. The show ip bgp command lists a line for 190.1.0.0/16 with both an ">" and an "i" on the left.
D. R1 is in ASN 1.
第3题:
【单选题】在执行下述程序时,若从键盘输入字母H,则输出结果是_______。 #inlude <stdio.h> main() { char ch; ch=getchar(); switch(ch) { case 'H':printf("Hello! n"); case 'G':printf("Good morning! n"); default:printf("Bye_Bye! n"); } }
A.Hello!
B.Hello! Good morning!
C.Hello! Good morning! Bye_Bye!
D.Hello! Bye_Bye!
第4题:
以下程序段的输出结果为( )。 int j=2 switch (j){ Case 2: system.out.print("two."): Case 2+1: System.out.println("three."); break: default: System.out.println (“value is”+j): Break }A.B.two
A.two.three.
B.two
C.three
D.value is 2
第5题:
对于以下代码: int i=6; if (i<= 6 ) System.out.println("hello"); else System.out.println("bye-bye"); 哪句话是对的?
A.打印出“hello”
B.打印出“bye-bye"
C.不能编译
D.打印出”hello bye-bye“
第6题:
【单选题】有下面程序,从键盘输入字母H,则输出结果是() #include <stdio.h> int main() { char ch; ch=getchar(); switch(ch) { case 'H':printf("Hello!n"); case 'G':printf("Good morning!n"); default:printf("Bye_Bye!n"); } return 0; }
A.Hello!
B.Hello! Good morning!
C.Hello! Good morning! Bye_Bye!
D.Hello! Bye_Bye!