问题 单项选择题

在运行下列程序后,屏幕上显示的结果是()。  STORE 10 TO X,Y,Z  DO PROCl WITH(X),Y  X,Y,Z  PROCEDURE PROCl  PARAMETER M,N  M=M+10  N=N+10  RETURN

A.1

B.2

C.15

D.8

答案

参考答案:C

解析:事件过程N的作用是输出两个数中最大的,它调用了IIF函数,条件部分是(x〉y),如果满足,那么N的值即为x的值,否则为y的值。在Sub过程中,定义了两个变量a,b,并赋给它们初值15,2,并调用Print函数,输出N(a,b)的值,因为x〉y,所以输出15。

完形填空
完形填空。
     Sometimes I am witness to acts of selfless generosity (慷慨). The acts are nearly   1   because they
are done with no thought that anyone would see them other than the persons to whom they are directed.
     Here is a(n)  2  . Taya, a remarkable artist of our little artist breakfast group, is   3   to New Mexico.
She is 75 and has decided she wants to   4   a new chapter in her life. So she's   5   a house in tiny
community in New Mexico where she knows  6  . She is leaving Oakland   7   she has lived nearly 30
years and her circle of friends. This is in itself is    8   .
     One of our group, Edythe, has   9   how she was fond of the beauty of coins, not for their monetary
(货币的)  10  , but just for their beauty.
This morning, as Taya was  11  , she quietly set a small cloth   12   in front of Edythe and after giving
hugs all   13  , she left. Someone at the table asked, "What's in the bag ?" Edythe   14   it and pulled out
a little packet. She found six beautiful silver   15   in it. Wow! That was a surprise. She pulled out   16   
little packet and unwrapped it. More silver coins! This time U.S. silver dollars. These were collectible
and worth   17   more than the face value, Edythe didn't open everything, but I   18   guessed the contents of the bag were   19   several hundred dollars.
     Taya is not a wealthy person.  20  , she lives in a very modest way and no doubt could use the money
for her new adventure. But she simply left it behind as a gift!
( )1. A. impossible    
( )2. A. story          
( )3. A. leading        
( )4. A. start          
( )5. A. found        
( )6. A. no one        
( )7. A. there        
( )8. A. appealing      
( )9. A. mentioned    
( )10. A. demand      
( )11. A. disappearing  
( )12. A. dress        
( )13. A. around        
( )14. A. observed      
( )15. A. rings        
( )16. A. other        
( )17. A. little        
( )18. A. easily        
( )19. A. included      
( )20. A. In the end    
B. invisible      
B. person      
B. adapting      
B. search      
B. sold        
B. anyone      
B. where      
B. interesting    
B. doubted      
B. value          
B. leaving      
B. piece          
B. above          
B. believed      
B. combs          
B. the other      
B. any          
B. hardly        
B. worth          
B. As a result    
C. unbelievable    
C. example        
C. moving          
C. receive        
C. sent          
C. someone         
C. which           
C. encouraging    
C. hated           
C. amount          
C. passing        
C. doll          
C. over            
C. wrapped        
C. coins        
C. another          
C. many          
C. finally          
C. equal          
C. On the other hand
D. unforgettable      
D. explanation          
D. driving              
D. complete            
D. bought              
D. everyone            
D. that                
D. surprising          
D. asked                
D. increase            
D. preparing            
D. bag                  
D. along                
D. opened              
D. necklaces            
D. others             
D. far                  
D. really              
D. belonged            
D. On the contrary  
问答题