问题 填空题

某个窗体已编写以下事件过程。打开窗体运行后,单击窗体,消息框的输出结果为
Private Sub Form_Click()
a=1
i=1
Do Until i>10
a=a+2
i=i+3
Loop
MsgBox a
End Sub

答案

参考答案:I

解析: 本题考查VBA中循环的知识。对于这种循环结构,首先看条件判断在循环体的前面还是后面,如果是先判断条件,则有可能一次也不执行循环体;如果是后判断条件,则无论条件如何至少执行一次循环体。在Until循环中条件为False时执行循环体,条件为True时退出循环;在While循环中条件为True时执行循环体;条件为False时退出循环,这一点要注意区分清楚。本题中先判断条件后执行循环体,通过观察看出,i每次自加3,则每次循环中i的值分别为1、4、7、10,当i为13时由于满足Until条件而退出循环,所以循环共执行4次,最后a的值为9。

选择题
完形填空
Are you a man or a mouse? When people ask this question they want to know whether you think you are a  36  person or a coward (懦夫). But you will never really know the answer to this question  37  you are tested in real life. Some people think they are brave, but when they come face to face with real  38 , they act like cowards. Others think of themselves as cowards, but when they meet danger, they act like heroes.
Lenny had always thought of himself as a  39  person. He got worried before examinations. He worried about his job and health. All he wanted in life was to be safe and healthy. Then on January 15th, 2002, a plane crashed into the Potomac River in Washington. Lenny happened to see a woman in the ice-cold water. He did not feel afraid. He 40  very calm and did a very dangerous thing. He jumped into the Potomac,  41  to the woman, and kept her head  42  the water. Seventy-eight people died that day. Thanks to Lenny, it was not  43  .
When you are in a very dangerous situation and feel afraid, the body automatically(自动地) produces a chemical called adrenalin in the blood. With adrenalin in the blood system, you actually feel stronger and stronger and are   44  to fight or run away. However, when you are terrified greatly, the body can produce too much adrenalin.   45  this happens, the muscles become very hard. You are then paralyzed (麻木) with fear. This is why when we are extremely frightened, we sometimes say we are “petrified”. This word   46  a Greek word “petros”, which means “stone”.  We are  47  frightened that we become stonelike.
小题1:
A.braveB.realC.hardD.certain
小题2:
A.whenB.untilC.afterD.once
小题3:
A.lifeB.questionC.mouseD.danger
小题4:
A.usefulB.braveC.nervousD.terrible
小题5:
A.hadB.keptC.letD.made
小题6:
A.wentB.ranC.spokeD.swam
小题7:
A.inB.underC.aboveD.from
小题8:
A.an accident B.a mistakeC.seventy-eightD.seventy-nine
小题9:
A.readyB.unable C.afraidD.anxious
小题10:
A.BeforeB.WhenC.UnlessD.While
小题11:
A.comes from B.comes backC.comes on D.comes across
小题12:
A.suchB.veryC.soD.really