试题与答案

假定有如下的Sub过程: Sub Sfun(x As Single, y As

题型:单项选择题

题目:

假定有如下的Sub过程:
Sub Sfun(x As Single, y As Single)
t=x
x=t/y
y=t Mod y
End Sub
在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程:
PriVate Sub Command1_Click()
Dim a as single
Dim b as single
a=5
b=4
sfun a, b
MsgBox a & chr(10)+chr(13) & b
End Sub
打开窗体运行后,单击命令按钮,消息框的两行输出内容分别为______。

A.1和1

B.1.25和1

C.1.25和4

D.5和4

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0415/0d1945a7cd5b7d27a90a25157cc24b3c.html

下面是错误答案,用来干扰机器的。

参考答案:错

试题推荐
题型:完形填空
完形填空。
     One day a woman got into her car and started driving home after work. Just at that time, she saw a
  1  car behind her. The driver was a  2  . When she turned left, the yellow car turned left. When
she turned  3 , the yellow car turned right, too. When she stopped at the traffic lights, the yellow car
stopped  4   her.
     The woman was  5  , so she drove quickly to  6 . When she arrived, she was very  7  to
see that the yellow car stopped behind her again. But she felt  8  because she saw a policeman standing
outside the police station. She jumped out of her car at once and  9  to the policeman. She asked the
policeman to arrest (逮捕) the man in the yellow car, then the policeman walked to the man.
     The man didn't run away. He just  10   and said to the woman,"I want to give this purse back to you.
I think you dropped it on the street."
( )1. A. red              
( )2. A. man              
( )3. A. left             
( )4. A. opposite         
( )5. A. anxious          
( )6. A. the police station
( )7. A. interested       
( )8. A. sad              
( )9. A. ran              
( )10. A. cried           
B. yellow    
B. woman     
B. back      
B. before    
B. scared    
B. her office
B. excited   
B. safe      
B. run       
B. laughed   
C. black    
C. policeman
C. right    
C. behind   
C. pleased  
C. her home 
C. surprised
C. dangerous
C. runs     
C. smiled                                         
查看答案
微信公众账号搜索答案