问题 填空题

在窗体上画两个文本框和一个命令按钮,然后在命令按钮的代码窗口中编写如下事件过程:
Private Sub Command1_ Click()
Text1="VB programming"
Text2=Text1
Text1="ABCD"
End Sub
程序运行后,单击命令按钮,文本框Text2中显示的内容为______。

答案

参考答案:VB programming

解析: 模块/VBA程序设计基础
[评析] 本段程序是先把“VB programming”赋给Textl,然后在把Textl的内容赋给Text2,最后把“ABCD”赋给Textl。所以最后Textl中的内容是“ABCD”,而Text2中的内容是“VB programming”。

完形填空
完形填空。
     Mrs. Green has a busy job. She is very   1   after work every day and wants to have a good sleep. But
Mr. Green is a soccer fan (……迷). He watches soccer on TV very   2   every night, and sometimes he   3   
at two o'clock. Mrs. Green asks him to sleep early,   4   he doesn't   5   her. He loves soccer so much! These
days Mrs. Green feels very   6  . She decided to go to the   7   yesterday. Mr. Green went with her. When
Mrs. Green visited the doctor, Mr. Green had to   8   outside the doctor's office. After a moment, Mrs. Green
came   9  . There was some  10  in her hand. She said to Mr. Green, "I get two kinds of medicine from the
doctor. One is for me and the other is for you." "For me?" Mr. Green was surprised...
( )1. A. tired  
( )2. A. often  
( )3. A. gets up
( )4. A. and    
( )5. A. see   
( )6. A. well   
( )7. A. park   
( )8. A. wait   
( )9. A. in     
( )10. A. fruit 
B. hungry      
B. loudly    
B. goes to bed  
B. but          
B. look at      
B. weak         
B. market       
B. walk         
B. back         
B. meat       
C. sad           
C. late         
C. plays soccer  
C. so          
C. hear        
C. happy         
C. pool         
C. exercise      
C. out          
C. medicine    
D. heavy       
D. hard       
D. cries        
D. then        
D. listen to  
D. hot          
D. hospital                   
D. eat         
D. /            
D. water     
单项选择题