问题 单项选择题

在窗体上画两个命令按钮,然后编写以下代码: Private Sub Commandl_ Click()Dim i As LongDim i As IntegerDim xFor i=1 To 10000000 x=DoEvents For j=1 To 1000000 Next j Cls Print i Next i End Sub Private Sub Command2_Click()Dim x As IntegerDim i As Integerx=0For i=1 To 10 x=x+iNext iMsgBox x End Sub 当程序执行后,单击命令按钮Command1,在窗体上将显示以一定的时间间隔(从1、2、…一直到 10000000这10000000个数字),如果再单击命令按钮Command2,将会出现的情况是______。

A.没有任何变化,数字仍按原有的规律显示

B.将会中断在窗体上数字从小到大的显示,弹出一个对话框,待用户单击“确定”按钮关闭对话框后,数字再按原来的规律继续在窗体上显示

C.将会弹出一个对话框,待用户单击“确定”按钮关闭对话框后,窗体上的数字将保持中断时候的值,也就是说不再按规律变化显示

D.窗体上的数字仍按原有的规律在窗体上显示,然后同时会弹出一个对话框,待用户单击“确定”按钮后对话框关闭

答案

参考答案:B

解析: 当程序执行后,单击命令按钮Command1,在窗体上将显示一定的时间间隔(从1、2……一直到 10000000这10000000个数字)。如果再单击命令按钮Command2,将会中断在窗体上数字从小到大的显示,而弹出一个对话框,当用户单击“确定”按钮关闭对话框后,数字再按原来的规律继续在窗体上显示。

完形填空
完形填空
       Several weeks ago, our headmaster, Mr. Gaudi, told usthat our school had been chosen to
compete on Smart Aleck-a game show which my best friend Carla and I both love. Carla has a
good imagination, and I know a lot of history, so we thought we’d be good   1   for the team.
       A few days later, Mr. Gaudi held a meeting with everyone interested in the   2   . He told us
that Smart Aleck uses a five member team. He also said that three more people would be needed
as backup(替补). Unluckily four times that many students were at the meeting. So Mr. Gaudi
said we would have a    3    and the top eight scorers would become the team and the backup.
Everybody agreed that this was a   4   way to decide.
       Yesterday, all of the hopefuls went to the dining hall after school. We would have to decide the
starting line-up(阵容).Mr. Gaudi acted as the host. After a couple of hours, all the   5   on the
team were set except one. Carla and I   6   for that last position.We had to hold a one-on-one
competition between the two of us.The winner would be on the team and the loser would be the
backup.
       Midway through our two-person competition,I was starting to pull ahead.   7   I saw the look
on Carla's face.I waited for a second and knew what I had to do.As much as I wanted to be on
Smart Aleck,Carla wanted   8   even more.So,starting with my next question,I held back and let
Carla   9   , just by a little bit.Her expression as she   10   she would be on the show made up
for my not being on the team. And since I will go as backup, I'll still have the fun of seeing the
show up close.
       Was I   11   by not trying as hard as I could?I don't think so.No one noticed,and Carla and
I didn't   12   it.It won't hurt the team because Carla will be a very good competitor on the real
show.I think that making my best friend happy was the right thing to do.
( )1. A.choices  
( )2. A.course
( )3. A.direction  
( )4. A.special  
( )5. A.places
( )6. A.tied
( )7. A.Still  
( )8. A.us  
( )9. A.wait  
( )10.A.accepted
( )11.A.coming  
( )12.A.mean  
B.pairs      
B.work      
B.discussion  
B.hard        
B.rules    
B.clapped    
B.Never      
B.it      
B.turn    
B.realized  
B.refusing  
B.plan    
C.leaders
C.trip
C.competition
C.fair
C.names
C.cried
C.Then  
C.me  
C.move  
C.considered
C.helping
C.regret
D.fans                  
D.show                  
D.conversation          
D.funny                
D.orders                
D.returned              
D.Again                
D.her                  
D.win                  
D.decided              
D.cheating              
D.say                  
选择题