问题 填空题

以下程序的功能是:从键盘上输入若干个数字,当输入负数时结束输入,统计出若干数字的平均值,输出结果。请填空。
Private Sub Form_click()
Dim x,y As Single
Dim z As Integer
x=InputBox("Enter a score")
Do while 【8】
y=y+x
z=z+1
x=InputBox("Enter a score")
Loop
If z=0 Then
z=1
End If
y= 【9】
Print y
End Sub

答案

参考答案:[8]x>=0
[9]y/z

解析:[评析] 根据表达式的值有条件地执行一组语句。
语法
If condition Then[statements][Else elsestatements]
或者;可以使用块形式的语法;
If condition Then
[statements]
[ElseIf condition-n Then
[elseIfstatements]…
[Else
[elsestatements]]
End If
当条件为True时,或直到条件变为True时,重复执行一个语句块中的命令。
语法
Do[{While|Until}condition]
[statemems]
[Exit Do]
[statements]
Loop
或者可以使用下面这种语法:
Do
[statements]
[Exit Do]
[statements]
Loop[{While[Until

完形填空
完形填空。

     Have you noticed that lots of women expect men to be their heroes? It's a(n)   1   turn on, as we see in the
movies, for a man to come to the aid of a woman. 
      2  , a male hero in the movies may verbally slam someone to  3   a woman's honor. Or, he may sword fight
another man for her affection. In real life, men may attempt   4   things as well. After a time, though, men can
get tired. They're only human beings.
     By the time a man is 40 or 50, he's done a lot of psychological battling for work issues, political issues and 
  5   concerns.
      It's refreshing for a(n)   6  woman to maturely step up and assist a man who's overly   7  . It's great when
a woman is not too needy herself.
     Women need empowerment in the right ways to develop  8    strength, though.
     When men give women respect and   9  , it helps arm women with the right tools.
     "My wife doesn't dump all her problems on me," says a doctor we'll call John."She's so efficient and strong, I   10    her as my hero."
     John has always encouraged his wife to take classes, succeed in her job role and serve on government
committees in their large city.
     "I know men who try to hold their wives   11  ," says John."It's shocking how some men treat their wives
in 12 "
     A psychologist we'll call Anthony says men who feel bad about themselves will    13   women.
      "A man tends to see his girlfriend or wife as an extension of himself," says Anthony,"so God help her if
things are going badly for him."
      Now that the economy is shaky, says Anthony, domestic   14  is over the top.
     "I saw a banker in my office last week who'd hit his wife with a living room lamp," Anthony told us."His
wife didn't file charges. He just voluntarily showed up at my office and begged to see me."
    Throughout life, some men tend to make their wives and girlfriends   15   themselves and crouch low. They
don't want these women to feel independent or strong.

( )1. A. unexpected  
( )2. A. For example 
( )3. A. regard      
( )4. A. unique      
( )5. A. family      
( )6. A. arrogant    
( )7. A. excited    
( )8. A. academic    
( )9. A. encouragement
( )10. A. challenge  
( )11. A. tight      
( )12. A. true      
( )13. A. scare      
( )14. A. violence  
( )15. A. tend      

B. sensitive  
B. By contrast
B. attack    
B. similar   
B. first     
B. dominant  
B. stressed  
B. physical   
B. sympathy   
B. refer      
B. back      
B. power     
B. hurt      
B. care       
B. reflect    

C. amazed      
C. Unfortunately 
C. defend       
C. shocking      
C. immediate     
C. organized     
C. motivated    
C. inner         
C. kiss         
C. impress      
C. dear          
C. private      
C. comfort       
C. war          
C. help        
D. sexual           
D. Luckily          
D. offend           
D. wonderful      
D. widespread       
D. strong           
D. bullied          
D. superficial      
D. advantage        
D. count            
D. steady           
D. concern        
D. compliment     
D. demand           
D. doubt          
单项选择题