问题 单项选择题

下列叙述中正确的是

A) 软件测试应该由程序开发者来完成
B) 程序经调试后一般不需要再测试
C) 软件维护只包括对程序代码的维护
D) 以上三种说法都不对

答案

参考答案:D

解析: 本题考核软件测试、软件调试和软件维护的概念。软件测试的目标是在精心控制的环境下执行程序,以发现程序中的错误,给出程序可靠性的鉴定。软件测试具有挑剔性,测试不是为了证明程序是正确的,而是在设想程序有错误的前提下进行的,其目的是设法暴露程序中的错误和缺陷,就是说,测试是程序执行的过程,目的在于发现错误;一个好的测试在于能发现至今未发现的错误,一个成功的测试是发现了至今未发现的错误。由于测试的这一特征,一般应当避免由开发者测试自己的程序。所以,选项A的说法错误。
调试也称排错,目的是发现错误的位置,并改正错误,经测试发现错误后,可以立即进行调试并改正错误;经过调试后的程序还需进行回归测试,以检查调试的效果,同时也可防止在调试过程中引进新的错误。所以,选项B的说法错误。软件维护通常有4类:为纠正使用中出现的错误而进行的改正性维护:为适应环境变化而进行的适应性维护;为改进原有软件而进行的完善性维护;为将来的可维护和可靠而进行的预防性维护。软件维护不仅包括程序代码的维护,还包括文档的维护。文档可以分为用户文档和系统文档两类。但无论是哪类文档,都必须与程序代码同时维护。只有与程序代码完全一致的文档才有意义和价值。所以,选项c的说法错误。选项D为正确答案。

填空题
阅读理解

Many students in China are learning English. Some of these students are small children. Others are teenagers. Many are adults. Some learn at school, others study by themselves. A few learn English language over the radio, on television, or in films. One must work hard to learn another language.

Why do all these people want to learn English? It is difficult to answer that question. Many boys and girls learn English at school because it is one of their subjects. They study their own language and maths and English ... Some people learn English because it is useful for their work. Many people often learn English for their higher studies, because at college or university some of their books are in English. Other people learn English because they want to read newspaper and magazines in English.

小题1:Many students in China are learning English, aren't they? ____.

A.No, they aren't

B.No, they are

C.Yes, they are

D.Yes, they aren't小题2: If one wants to learn another language well, he must ____.

A.learn at school

B.study by himself

C.work hard

D.study hard小题3: The sentence "It is difficult to answer that question" means ____.

A.that question is not difficult to answer

B.that question is difficult to answer it

C.it is difficultly to answer that question

D.it is hard to answer that question小题4:"Their own language" means ____.

A.Chinese

B.English

C.French

D.Japanese小题5:What's the Chinese of "study by themselves"?

A.和他们一起学习

B.自学

C.向他们学习

D.通过学习