问题 单项选择题

下列程序段运行结束后,变量x的值为( )。 X=2 y=4 Do x=x*y y=y+1 Loop While y<4

A.2

B.4

C.8

D.20

答案

参考答案:C

解析: 本题考查VBA中循环的知识。在本题中用了Do…Loop While循环,先运行循环体后判断条件,当条件满足时继续循环,条件不满足时退出循环体。在本题中第一次循环结束后y的值为5已经不满足条件,故此本循环只执行一次,x的值为2*4=8。

选择题
填空题

Stress is our response to threatening or (1) events. We may experience different levels of stress depending on the (2) , meaning the events or circumstances that cause us to feel stress. Stressors can be classified into (3) main categories: (4) events, personal stressors, and (5) stressors. Cataclysmic events are major events that cause stress (6) , immediately, for a great many people at once. Personal stressors are major life events that create stress, including (7) life events. Background stressors are (8) hassles, or minor irritations, or (9) background stressors. Repeated exposure to stressors has both psychological and (10) consequences. The long- term consequence is that body tissues such as the heart and blood vessels can begin to (11) . The (12) system functions less effectively, and (13) our ability to fight off illnesses.
The General Adaptation (14) explains the sequence of physiological reactions to stress. There are three phases to G. A. S. The first is the " alarm and (15) " phase: we respond with alarm, and take (16) to remove the stressor. The second phase is the (17) stage: we fight against the stressor or try to cope with the stressor. This can lead to the third phase. (18) . The exhaustion phase may be an (19) way of trying to avoid the stressors. The body may be telling us that we need to do whatever is (20) to remove the stressor.

Stress is our response to threatening or (1) events. We may experience different levels of stress depending on the (2) , meaning the events or circumstances that cause us to feel stress. Stressors can be classified into (3) main categories: (4) events, personal stressors, and (5) stressors. Cataclysmic events are major events that cause stress (6) , immediately, for a great many people at once. Personal stressors are major life events that create stress, including (7) life events. Background stressors are (8) hassles, or minor irritations, or (9) background stressors. Repeated exposure to stressors has both psychological and (10) consequences. The long- term consequence is that body tissues such as the heart and blood vessels can begin to (11) . The (12) system functions less effectively, and (13) our ability to fight off illnesses.
The General Adaptation (14) explains the sequence of physiological reactions to stress. There are three phases to G. A. S. The first is the " alarm and (15) " phase: we respond with alarm, and take (16) to remove the stressor. The second phase is the (17) stage: we fight against the stressor or try to cope with the stressor. This can lead to the third phase. (18) . The exhaustion phase may be an (19) way of trying to avoid the stressors. The body may be telling us that we need to do whatever is (20) to remove the stressor.