问题 填空题

在进行模块测试时,要为每个被测试的模块另外设计两类模块:驱动模块和承接模块(桩模块)。其中 _________的作用是将测试数据传送给被测试的模块,并显示被测试 模块所产生的结果。

答案

参考答案:驱动模块

解析:在进行模块测试时,要为每个被测试的模块另外设计两类模块:驱动模块和承接模块(桩模块)。其 中,驱动模块相当于被测试模块的主程序,它接收测试数据,并传给被测试模块,输出实际测试结果。承 接模块通常用于代替被测试模块调用的其他模块,其作用仅做少量的数据操作,是一个模拟子程序,不必 将子模块的所有功能带入。

单项选择题 案例分析题
填空题

Motivation is "the driving force within individuals that impels them to action." And goals are the sought-after results (1) motivated behavior.
Motivation can be either positive or negative (2) direction. We may feel a driving force toward some object or condition, (3) a driving force away from some object or condition. For example, a person may be impelled toward a restaurant to fulfill a need, hunger, and away (4) an airplane to fulfill a need of safety. Some psychologists refer to positive drives (5) needs, wants or desires, (6) negative drives as fears or aversions. (7) , though negative and positive motivational forces seem to differ dramatically (8) terms of physical and sometimes emotional activity, they are basically similar in (9) they both serve to initiate and sustain human behavior. (10) this reason, researchers often refer (11) both kinds of drives or motives as needs, wants and desires.
Goals, (12) , can be either positive or negative. A positive goal is one toward (13) behavior is directed and it is often referred to as an approach object. A negative goal is (14) from which behavior is directed away and it is sometimes referred to as an avoidance object. Since both approach and avoidance goals can be considered objectives of motivated behavior, most researchers refer to (15) types simply as goals. Consider this example. A middle-aged woman may wish to remain (16) attractive as possible. Her positive goal is to appear desirable, and (17) she may use a perfume advertised to make her irresistible. A negative goal may be to prevent her skin (18) aging, and therefore she may buy and use face creams. (19) the former case, she uses perfume to help her achieve her positive goal -- attractiveness; in the (20) case, she uses face creams to help avoid a negative goal -- wrinkled skin.