x > 5
x < 9
5≤x≤9
4 < x < 14
5≤ x < 14
第1题:
以下( )表达式是不合法的。
A.String x="Sky";int y=5;x + =y:
B.String x="Sky":int y=5:if(x==y){}
C.String x="Sky":int y=5:x=x+y:
D.String x=null:int y=(x!=null) && (x.length( )>0)?x.length:0
第2题:
public void test(int x) { int odd = x%2; if (odd) { System.out.println(“odd); } else { System.out.println(“even”); } } Which statement is true?()
第3题:
下面程序运行后,输出的结果是() 10 A=5:B=9 20 X=A-B 30 IF A>B THEN X=A+B 40 PRINT X 50 END
第4题:
执行下列程序:CLEARX=5FOR I=1 TO 50IF X>=10EXITEND IFIF X%2=1X=X+5LOOPENDIFX=X-3ENDFOR?X显示X的值是()。
第5题:
Which two IP multicast addresses belong to the group represented by the MAC address of 0x01-00-5E-15-6A-2C? ()
第6题:
Which two code fragments are most likely to cause a StackOverflowError?()
第7题:
2y +x = 5
2y –x = 3
x + 2y = 7
x – 2y = 4
4y +2x = 0
第8题:
第9题:
I only
II only
I and II only
II and III only
I, II, and III
第10题:
$x=5;$x==4;
$x=5;$x<>4;
$x=4.0;$x===4;
$x=4;$x<4;
第11题:
-9
-5
-3
3
5
9
第12题:
2
3
7
8
10
第13题:
第14题:
下列表达式中,比较结果为true的是()。
第15题:
下列哪条语句是正确的()
第16题:
以下创建数组的方式错误的是()
第17题:
设随机变量X与Y相互独立,已知X服从区间(1,5)上的均匀分布,Y服从参数λ=5的指数分布,则D(3X-5Y)等于().
第18题:
设X为随机变量,E(X)=2,D(X)=5,则E(X+2)2=()
第19题:
Compilation fails.
“odd” will always be output.
“even” will always be output.
“odd” will be output for odd values of x, and “even” for even values.
“even” will be output for add values of x, and “odd” for even values.
第20题:
5
6
7
9
23
第21题:
7
6
5
4
3
第22题:
shortx[];x={1,2,3,4,5,6};
shortx[]=newshort[6];x[0]=9;x[1]=8;x[2]=7;x[3]=6;x[4]=5;x[5]=4;
shortx[]=newshort[6];intlen=x.length;for(inti=0;i
short[][]x={{1,2},{3,4,5},{6,7,8,9}};
第23题:
f(x)=x5+x2
f(x)=x5-x2+2
f(x)=x5-x2+3
f(x)=x5+x2+1
第24题:
x > 5
x < 9
5≤x≤9
4 < x < 14
5≤ x < 14