问题 单项选择题

有以下程序   #include<iostream.h>   void main( )   { int a=5,b=0,c=0;     if(a=b+c) cout<<"* * *" <<endl;     else cout<<"$$$"<<endl;}  下列选项叙述正确的是( )。

A. 有语法错不能通过编译

B. 可以通过编译但不能通过连接

C. 输出* * *

D. 输出 $ $ $

答案

参考答案:D

解析:解答本题时,先判断if语句,因为a=b+c为零,则执行else语句。

完形填空
完型填空。
     We all hear about a kind of feeling called ESP (超感官知觉). And we know a great many stories about it.
Here I want to ask you, "Have you ever   1   felt that someone you know was in trouble-and   2   ? Have you
ever dreamed of something that came true later?" Maybe you have ESP.
     ESP   3   Extra Sensory Perception. It may be called a sixth sense. It seems to let people know about events
   4   they happen, or events that are happening some distance away.
     Here is a(n)  5   0 : A woman was doing washing. Suddenly she   6   , "My father is dead!I saw him   7   in
the chair!" Just then, a telegram came. The woman's father had   8   of a heart attack. He died sitting in a chair.
     There are thousands of stories like this   9   record. Scientists are studying them to find out  10   is behind
these strange mental  11 . Here's another example-one of hundreds of dreams that have come true.
     A man dreamed he was walking along a road  12  a carriage came by. The driver said, "There's room for
one more." The man felt the driver was  13  ,so he ran away. The next day the man was getting on a crowded
bus. This bus driver  14 . "There's room for one more." Then the man saw the driver's face was the same face
he had  15  in the dream. He  16   get on the bus. As the bus drove off, it crashed and  17   flames. Everyone was
killed! 
      18   people say stories like these are lies or coincidences. Others, including some scientists say the ESP is 
 19  from studies of ESP, we may some day learn   20   about the human mind.
( )1. A. easily    
( )2. A. they did  
( )3. A. relates to
( )4. A. when      
( )5. A. example   
( )6. A. remembered
( )7. A. singing   
( )8. A. killed    
( )9. A. on        
( )10. A. which    
( )11. A. messages 
( )12. A. then     
( )13. A. God      
( )14. A. required 
( )15. A. seen     
( )16. A. couldn’t
( )17. A. broke into
( )18. A. Another  
( )19. A. true     
( )20. A. much     
B. immediately 
B. they were   
B. turns out   
B. after       
B. incident    
B. thought     
B. sat         
B. passed      
B. in          
B. that        
B. realities   
B. while       
B. Mystery     
B. told        
B. spotted     
B. mightn’t   
B. burst into  
B. The         
B. practical   
B. more        
C. suddenly  
C. he was    
C. owes to   
C. until     
C. accident  
C. screamed  
C. seated    
C. died      
C. off       
C. what      
C. witnesses 
C. as        
C. Death     
C. urged     
C. advised   
C. wouldn’t 
C. caught on 
C. Other     
C. absurd    
C. general   
D. quickly       
D. he did        
D. stands for    
D. before        
D. proof         
D. argued        
D. standing      
D. left          
D. with          
D. whatever      
D. contents      
D. when          
D. Reality       
D. said          
D. formed        
D. mustn’t      
D. stood out     
D. So me         
D. lifelike      
D. exact         
单项选择题