问题 单项选择题

有下列程序段: x=0 n=0 Do While x<50   x=(x+2)*(x+3)   n=n+1 Enddo n,x 该程序段的执行结果为______。

A.1和0

B.2和72

C.3和50

D.4和168

答案

参考答案:B

解析:[分析] 本题考查的是Do…While循环。X赋值0,首先判断Do…While后面的条件“x<50”为.T.,执行一次循环体得到x的值为6,n的值为1;再次判断条件“x<50”为.T.,再执行一次循环体得到x的值为72,n的值为2;再次判断条件“x<50”为.F.,退出循环。

单项选择题
完形填空
完形填空。
     Now that I am no longer young, I have friends whose mothers have passed away. I have heard
these sons and daughters say they never fully appreciated their mothers__1__it was too late to tell
them. I am blessed (赐福) with the dear mother who is still alive. I__2__her more each day. My
mother does not change, but I__3__. As I grow older and wiser, I realise__4__an extraordinary
person she is. How__5__that I am unable to speak these words in her__6__, but they flow easily
from my pen.
     How does a daughter begin to thank her mother for life itself? For the love, patience and just
__7__hard work that go into__8__a child? For running after a toddler (学走步的小孩), for
understanding a__9__teenager, for tolerating a college student who knows__10__? For waiting for
the day when a daughter__11__how wise her mother really is?
     How does a__12__woman thank a mother for__13__to be a mother? For being ready __14__
advice (when asked) or keeping __15__when it is most appreciated? For not saying, "I told you so",
when she could have uttered these words__16__? For being__17__herself-loving, thoughtful, patient,
and forgiving?
     I don't know how, dear God, except to ask you to bless her as richly as she__18__and to help me
live up to the example she has__19__. I pray that I will look as good in the eyes of my children as my
mother__20__in mine.
( )1.A. as        
( )2.A. approve    
( )3.A. do          
( )4.A. how        
( )5.A. sad        
( )6.A. absence    
( )7.A. common      
( )8.A. raising    
( )9.A. childish    
( )10.A. anybody    
( )11.A. detects    
( )12.A. pretty    
( )13.A. failing    
( )14.A. by        
( )15.A. silent    
( )16.A. dozen times
( )17.A. valuably  
( )18.A. devotes    
( )19.A. set        
( )20.A. sees      
B.that          
B.appreciate      
B.have            
B.that            
B.glad            
B.presence        
B.plain            
B.rising          
B.energetic        
B.nobody          
B.discovers        
B.foolish          
B.intending        
B.with            
B.quiet            
B.a dozen of times
B.essentially      
B.deserts          
B.settled          
B.finds            
C.until        
C.need            
C.did            
C.who            
C.comic          
C.appearance      
C.normal          
C.developing      
C.fearless        
C.everything      
C.recognises      
C.green          
C.continuing      
C.at              
C.cool            
C. dozens of times
C.commonly        
C.deserves        
C.placed          
C.is              
D.when        
D.resemble    
D.will        
D.what        
D.tragic      
D.existence    
D.usual        
D.training    
D.moody        
D.nothing      
D.realises    
D.grown        
D.keeping      
D.on          
D.noiseless    
D.dozen of time
D.virtually    
D.desires      
D.fixed        
D.looks