【单选题】【消耗次数:1】
若已定义int a=3,b=3,x=1,y=2;表达式(a=y>x)&&(x=b>a)的值是()。
6
1
9
0
参考答案:
复制
纠错
相关题目
【单选题】 若已定义inta=3,b=3,x=1,y=2;表达式(a=yx)(x=ba)的值是()。
①  6
②  1
③  9
④  0
【单选题】 若已定义x和y为double类型,则表达式x=1,y=x+3/2的值是
①  1
②  2
③  2.0
④  2.5
【单选题】 若w=1,x=2,y=3,z=4,则表达式w<x?w:y<z?y:z的值是()
①  4
②  3
③  2
④  1
【单选题】 设 x = 1 , y = 2 , z = 3,则表达式 y+=z--/++x 的值是( )。
①  3
②  3. 5
③  4
④  5
【单选题】 若有定义:int m=7;float x=2.5, y=4.7;则表达式x+m%3*(int)(x+y)%2/4的值是( )。
①  2.500000
②  2.750000
③  3.500000
④  0.000000
【单选题】 已知x=10,ch=’A’,y=0;,则表达式“x>=y&&ch<’B’&&!y”的值是()。
①  0
②  1
③ 
④ 
【单选题】 若有定义:inta=7;floatx=2.5,y=4.7;则表达式x+a%3*(int)(x+y)%2/4的值是()。
①  2.75
②  0.0
③  3.5
④  2.5
【单选题】 设X~B(2,p),Y~B(3,p)若P(X1)=5/9,则P(X1)=
①  19/27
②  1/9
③  1/3
④  1/24
【单选题】 执行以下语句后b的值为( )。 Int a=5,b=6,w=1,x=2,y=3,z=4; (a=wx)(b=y
①  6
②  0
③  1
④  4
【单选题】 设有 int x=11; 则表达式 (x++ * 1/3) 的值是().
①  3
②  4
③  11
④  12
随机题目
【简答题】 <img src="https://huaweicloudobs.ahjxjy.cn/35641BFCA3DBBA8CCE856FF5CC4C8881.png" title="8.png" alt="8.png"/>,<img src="https://huaweicloudobs.ahjxjy.cn/1D6222711D94B38D3AFFDDF9E442517A.png" title="9.png" alt="9.png"/>[填空1],<img src="https://huaweicloudobs.ahjxjy.cn/4E3462BBF429168A498AD987547D7D32.png" title="10.png" alt="10.png"/>[填空2]。
【简答题】 <img src="https://huaweicloudobs.ahjxjy.cn/0B58517CA24006A5B0B05CE00A386782.png" title="5.png" alt="5.png"/><img src="https://huaweicloudobs.ahjxjy.cn/F46D2A2ADF5A2F30279E2B17345E9A5D.png" title="6.png" alt="6.png"/>[填空1]
【简答题】 Translate the sentence by using “subject clause”or“find oneself+prep./V-ing/V-ed”.1. ___________________ is a good-sized canvas bag. (你需要的)
【简答题】 Translate the following sentence into English.我刚到家电话就响了。
【简答题】 Translate the following sentence into Chinese.3. He came first in the race.
【简答题】 Direction: Fill in the blanks with thephrases given below. Change the form if necessary.[set off; after all; attach to; burst into laughter; lean against; teach...a lesson; take off; come to sense; give in to]5. Her humorous story made me[填空1]sometimes.
【简答题】 Direction: Fill in the blanks with thephrases given below. Change the form if necessary.[sell out; in other words; consist of; stand for; rely on; demand for; engage in; at hand; yield to; confront with]5. He came to realize that he had nobody to[填空1]but himself.
【简答题】 Directions: Fill in the blanks with the phrases given below. Change the form if necessary.[comprise of; vote for; access to; wake up; be hooked to; in the long run; work at; to ones joy; pay off; be associated with]2. The assignments for the course[填空1]computer-aided design problems.
【简答题】 Direction: Fill in the blanks with the phrases given below. Change the form if necessary.[have access to; go off; desperate for; put up with; always the case; give advice; concentrate on; arrive at; make an effort; come in handy]9. But in reality this is not[填空1].
【简答题】 Direction: Fill in the blanks with the words given below. Change the form if necessary.[expand; abuse; knowledge; narrative; plantation; property; oppressive; extremely; rebel; abolitionist]9.All[填空1]originates from labour.