问题 填空题

若x=5,y=10,则x>y&&x++=y--的逻辑值为 【11】

答案

参考答案:false

解析: 此题主要考查运算符的优先级,本题中++和--两个运算符最高,然后是>运算符,接着是==运算符,最后是&&运算符。x>y && x++ ==y--等价于(x>y) && (( x++)==y(--))。

完形填空
完型填空。 
    I study    1    Taiyuan. My mother and    2    want    3   on a trip    4   the Great Wall. She    5   the
Great Wall is very nice. We can    6    many things on it. It is about 360 kilometres    7    here to Beijing.
We can go to Beijng    8   , on a bus    9    on a plane. It is too expensive to take a plane. Buses are slow.
We want to   10   on a train.
( )1. A. on       
( )2. A. me       
( )3. A. go       
( )4. A. at       
( )5. A. talks     
( )6. A. look      
( )7. A. from      
( )8. A. by train   
( )9. A. and      
( )10. A. go there      
B. of        
B. I         
B. goes       
B. on        
B. speaks      
B. look at      
B. at        
B. by a train    
B. or        
B. go to there   
C. in      
C. my      
C. to go     
C. of      
C. says     
C. looks at   
C. on      
C. on train   
C. but      
C. come there          

D. at            
D. her           
D. to does       
D. to           
D. say           
D. see           
D. to                                            
D. in train      
D. too           
D. come to there 

单项选择题