问题 单项选择题

每个C++程序中都必须有且仅有一个

A.类

B.预处理命令

C.主函数

D.语句

答案

参考答案:C

解析: 每个C++程序中都要有且仅有一个主函数,该函数是程序的入口,而语句、预处理命令和函数及类在程序中都可以有多个。

完形填空
完形填空
     The school was across the street from our home and I would often watch the kids as they played
during the break.She seemed so small as she pushed her way __1__ the crowd of boys on the
playground.She __2__ from them all.
     I began to notice her at other times, basketball in hand, playing __3__.She would practice dribbling
(运球) and shooting over and over again, sometimes until __4__.One day I asked her __5__ she
practiced so much.She looked __6__ in my eyes and without a moment of hesitation she said, "I want
to go to college.  The only way I can __7__ is that if I get a scholarship, I am going to play college
basketball.I want to be __8__.My Daddy told me if the dream is big enough, the facts don't count."
     Well, I had to give it in to her-she was __9__.One day in her senior year, I saw her sitting in the
grass, head __10__ in her arms.I walked toward her and quietly asked what was __11__."Oh, nothing,"
came a soft reply."I'm just too short." The coach told her that at her height she would probably __12__
get to play for a top ranked team, __13__ offered a scholarship.So she __14__ stop dreaming about
college.
     She was __15__ and I sensed her disappointment.I asked her if she had talked to her dad about it
yet.She told me that her father said those coaches were wrong.They just didn't __16__ the power of a
dream.He told her __17__ she really wanted to play for a good college, if she truly wanted a scholarship, __18__ could stop her except one thing-her own attitude.He told her again,"if the dream is big enough,
the facts don't count."
     The next year, as she and her team went to the Northern California Championship Game, she was
seen by a college recruiter (招聘人员). She was indeed offered a __19__.She was going to get the
college education that she had __20__ and worked toward for all those years.
( )1. A.through    
( )2. A.brought out
( )3. A.only      
( )4. A.dark      
( )5. A.how        
( )6. A.worriedly  
( )7. A.go        
( )8. A.worse      
( )9. A.determined
( )10. A.covered  
( )11. A.the affair
( )12. A.ever      
( )13. A.far more  
( )14. A.should    
( )15. A.overjoyed
( )16. A.understand
( )17. A.even if  
( )18. A.anything  
( )19. A.prize    
( )20. A.dreamed of
B. across    
B. showed out
B. lonely    
B. dawn      
B. when      
B. shyly      
B. get        
B. better    
B. encouraged
B. enclosed  
B. the wrong  
B. even      
B. much less  
B. must      
B. moved      
B. experience
B. as if      
B. nothing    
B. medal      
B. accepted  
C. over        
C. stood out    
C. simply      
C. midnight    
C. why          
C. quietly      
C. enter        
C. the best    
C. fixed        
C. dropped      
C. matter      
C. once        
C. much fewer  
C. can          
C. embarrassed  
C. learn        
C. that if      
C. something    
C. scholarship  
C. thought of  
D. into          
D. worked out    
D. alone          
D. daybreak      
D. what          
D. directly      
D. attend        
D. the worst      
D. fascinated    
D. buried        
D. the matter    
D. never          
D. many more      
D. may            
D. heartbroken    
D. believe        
D. only if        
D. everything    
D. position      
D. appreciated    
问答题