问题 单项选择题

在软件测试设计中,软件测试的主要目的是

A.实验性运行软件

B.证明软件正确

C.找出软件中全部错误

D.尽可能多地发现软件中的错误

答案

参考答案:D

解析: 使用人工或自动手段来运行或测定某个系统的过程,其目的在于检验它是否满足规定的需求或是弄清预期结果与实际结果之间的差别。软件测试是为了发现错误而执行程序的过程。测试要以查找错误为中心,而不是为了演示软件的正确功能。

单项选择题 案例分析题

Happiness can be described as a positive mood and a pleasant state of mind. According to recent investigations, sixty to seventy percent of Americans consider themselves to be moderately happy, one in twenty persons feel very happy. Psychologists have been studying the factors contributing to happiness. It is not predictable nor is a person in an apparently ideal situation necessarily happy. The ideal situation may have little to do with his actual feelings.

A good education and income are usually considered necessary for happiness. Though both may contribute, they are only chief factors if the person is seriously under - educated or actually suffering from lack of physical needs. The rich are not likely to be happier than the middle-in-come group or even those with very low incomes. People with college education are somewhat happier than those who didn’t graduated from high schools, and it is believed that this is mainly because they have more opportunity to control their lives. Yet people with a very high income and a college education may be less happy than those with the same income and no college education.

It should be noted that people quickly get used to what they have, they are happiest when they feel they are increasing their level, no matter where it stands at a given time. The best formula for happiness is to be able to develop the ability to tolerate frustration, to have a personal involvement and commitment, and to develop selfconfidence and to selfesteem.

According to the passage, people with college education()。

A. are necessarily happier than those under- educated people

B. have a positive mood and a pleasant state of mind

C. consider themselves to be very happy

D. have more chance to control their lives

问答题 简答题