问题 单项选择题

对建立良好的程序设计风格,下面有关语句结构描述错误的是( )。

A.在一行内只写一条语句

B.程序编写应优先考虑清晰性

C.程序编写要做到效率第一,清晰第二

D.避免不必要的转移

答案

参考答案:C

解析: 语句结构的风格对建立良好的程序设计风格很重要,选项A、B、D都是良好的语句结构的风格,考生应在编程中注意;选项C是错误的,好的语句结构风格要求程序编写要做到清晰第一,效率第二。

选择题
完形填空
完形填空
     A certain good woman one day said something that hurt her best friend of many years. She  1  
immediately and would have done anything to have  2  the words back.What she said hurt the friend so much that this good woman was herself hurt for the   3   she caused.In an effort to  4_ the bad effect of what she had done, she went to an older, wiser woman in the village, explained her situation, and asked for advice.
     The older woman listened patiently in an effort to determine just how__5__the younger woman was,
how far she was willing to go to correct the situation.She  6_  the younger woman's unhappiness and
knew she must help her.She also knew she could never _7_  the pain, but she could teach.She knew
the  __8  would depend only on the character of the younger woman.She said, "Tonight, take your best
feather pillows and put a(n)   _9_  feather on the doorstep of each house in the town before the sun rises."
     The young woman hurried home to prepare for her work, even though the feather pillows were very
__10  to her.All night long, she  11  alone in the cold.Finally the sky was getting  12  , she placed the
last feather on the steps of the last house.Just as the sun rose, she  13   to the older woman."Now",
said the wise woman, "go back and   14  your pillows with the feathers you have put on the  15 , then
everything will be as it was before."
     "You know that's impossible! The wind  16   away each feather as fast as I placed them on the
doorsteps!" the young woman was  17  
     "That's true," said the older woman."Never forget.Each of your words is like a feather in the wind. __18_spoken, no amount of effort, regardless how heartfelt or sincere, can never return them to your
mouth.  19  your words well and guard them most of all in the  20 of those of you love".
( )1. A. admitted    
( )2. A. brought      
( )3. A. depression  
( )4. A. have        
( )5. A. sincere      
( )6. A. understood  
( )7. A. ease        
( )8. A. relationship
( )9. A. simple      
( )10. A. dear        
( )11. A. waited      
( )12. A. sunny      
( )13. A. referred    
( )14. A. refill      
( )15. A. stairs      
( )16. A. put        
( )17. A. puzzled    
( )18. A. Although    
( )19. A. Speak      
( )20. A. presence    
B. denied          
B. taken            
B. misunderstanding
B. forget          
B. sad              
B. sensed          
B. forget          
B. friendship      
B. average          
B. usual            
B. laboured        
B. light            
B. attended      
B. repair          
B. feathers        
B. gave            
B. dissatisfied    
B. While            
B. Choose          
B. eye          
C. responded    
C. turned      
C. pain        
C. ignore      
C. innocent    
C. discovered  
C. solve        
C. outcome      
C. common      
C. ordinary    
C. struggled    
C. warmer      
C. appealed    
C. refresh      
C. steps        
C. blew        
C. disappointed
C. Once        
C. Say          
C. case        
D. regretted  
D. given      
D. conflict    
D. remove      
D. guilty      
D. shared      
D. handle      
D. situation  
D. single      
D. significant
D. stayed      
D. dark        
D. returned    
D. reunite    
D. windows    
D. faded      
D. surprised  
D. Unless      
D. Guide      
D. charge