内容发布更新时间 : 2024/12/23 17:40:57星期一 下面是文章的全部内容请认真阅读。
7. Which of the following provide useful measures of software quality?(以下哪一项提供了软件质量的有效度量?)
A:correctness, business relevance, integrity, usability(正确性,商业相关度,完整性,可用性)
B:reliability, maintainability, integrity, sales(可靠性,可维护性,完整性,销售额) C:correctness, maintainability, size, satisfaction(正确性,可维护性,规模,满意度)
D:correctness, maintainability, integrity, usability(正确性,可维护性,完整性,可用性)
8. The software metrics chosen by an organization are driven by the business or technical goals an organization wishes to accomplish.(组织选择的软件度量方式由商业目标或组织期望完成的技术目标驱动。)
A:True(真) B:False(假)
9. Why is it important to measure the process of software engineering and software it produces?(为什么说度量软件工程过程和产出产品非常重要?)
A:It is really not necessary unless the project is extremely complex.(其实不必要,除非项目非常复杂。)
B:To determine costs and allow a profit margin to be set.(为了决定开销和盈利线。) C:To determine whether a software group is improving or not.(为了决定软件团队是否有改进。)
D:To make software engineering more like other engineering processes.(为了使软件工程更符合软件工程过程。)
10. Which of the following items are not measured by software project metrics?(以下哪项内容不被软件项目度量?) A:inputs(输入) B:markets(市场) C:outputs(输出) D:results(结果)
11. There is no need to reconcile LOC and FP measures since each is meaningful in its own right as a project measure.(代码行数和功能点度量方式没必要同时使用,因为它们都针对特定的项目度量。) A:True(真) B:False(假)
1. What are the goals for using object-oriented software metrics?
2. What are four useful indicators of software quality that should have measures defined and monitored by the software project team?
3. Why is it important for software developers to make use of measurement to guide their work?
4. How do software process metrics differ from software project metrics?
5. Explain how size-oriented metrics differ from function-oriented metrics. Discuss the pros and cons of each.
七、第7章测试技术
1. Comparison testing is typically done to test two competing products as part of customer market analysis prior to product release. (对比测试,作为早于产品发布之前的客户市场分析的一部分,最常被用于测试两个竞争产品。) A:True(真) B:False(假)
2. Random order tests are conducted to exercise different class instance life histories.(随机顺序测试用于引导测试不同类的实例的生命轨迹。)
A:True(真) B:False (假)
3. Deep structure testing is not designed to(深层结构测试不被用于)
A:examine object behaviors (检测对象的行为)
B:exercise communication mechanisms (测试通信机制) C:exercise object dependencies (测试对象间的依赖关系)
D:exercise structure observable by the user (测试可被用户观察到的结构)
4. Scenario-based testing(基于场景的测试)
A:concentrates on actor and software interaction (专注于角色与软件之间的交互) B:misses errors in specifications (忽略需求中的错误)
C:misses errors in subsystem interactions (忽略与子系统交互中的错误) D:both a and b (a和b)
5. The testing technique that requires devising test cases to exercise the internal logic of a software module is called(通过设计测试用例对软件模块的内部逻辑进行测试的测试技巧被称为)
A:behavioral testing(行为测试) B:black-box testing(黑盒测试) C:grey-box testing(灰盒测试) D:white-box testing (白盒测试)
6. Graph-based testing methods can only be used for object-oriented systems基于图的测试方法只能被用于面向对象的系统)
A:True(真) B:False (假)
7. Use-cases can provide useful input into the design of black-box and state-based tests of OO software.(用例图能够提供,针对面向对象软件的黑盒以及基于状态的测试设计,的有用输入。)
A:True(真) B:False(假)
8. Multiple class testing is too complex to be tested using random test cases.(使用随机测试用例对多个类进行测试显得过于复杂。)
A:True(真) B:False (假)
9. The testing technique that requires devising test cases to demonstrate that each program function is operational is called(通过设计测试用例展示每个软件功能是是否可操作的测试技巧被称为)
A:black-box testing (黑盒测试) B:glass-box testing (玻璃盒测试) C:grey-box testing (灰盒测试) D:white-box testing (白盒测试)
10. Fault-based testing is best reserved for(基于错误的测试最好被用于) A:conventional software testing (一般的软件测试)
B:operations and classes that are critical or suspect (操作和类是关键或可疑的情形) C:use-case validation (用例确认阶段)
D:white-box testing of operator algorithms(运算符算法的白盒测试)
11. Client/server architectures cannot be properly tested because network load is highly variable.(C/S架构无法被有效地测试,因为网络负载变化莫测。)
A:True(真) B:False (假)
12. With thorough testing it is possible to remove all defects from a program prior to delivery to the customer.(在产品发布之前,通过彻底的测试有可能移除程序中所有的错误。)
A:True(真) B:False (假)
13. Testing OO class operations is made more difficult by(使针对面向对象操作的测试变得更困难的原因是)
A:encapsulation (封装) B:inheritance (继承) C:polymorphism (多态) D:both b and c (b和c)
14. Orthogonal array testing enables the test designer to maximize the coverage of the test cases devised for relatively small input domains.(正交阵列测试使测试设计者可以尽可能大地使测试用例覆盖相对较小的输入域。) A:True(真) B:False (假)
15. Loop testing is a control structure testing technique where the criteria used to design test cases is that they(循环测试作为一种针对控制结构的测试技巧,在设计测试用例时需要遵循的标准是)
A:rely basis path testing (依赖于基本路径测试)
B:exercise the logical conditions in a program module (测试程序模块的逻辑条件)
C:select test paths based on the locations and uses of variables (基于变量的位置和使用情况选择测试路径)
D:focus on testing the validity of loop constructs (专注于测试循环结构的有效性)
16. Condition testing is a control structure testing technique where the criteria used to design test cases is that they(条件测试作为一种针对控制结构的测试技巧,在设计测试用例时需要遵循的标准是)
A:rely on basis path testing (依赖于基本路径测试)
B:exercise the logical conditions in a program module (测试程序模块的逻辑条件)
C:select test paths based on the locations and uses of variables (基于变量的位置和使用情况选择测试路径)
D:focus on testing the validity of loop constructs (专注于测试循环结构的有效性)
17. Encapsulation of attributes and operations inside objects makes it easy to obtain object state information during testing.(将属性和方法封装在对象中,使得测试中获得对象状态信息变得很容易。) A:True(真) B:False (假)
18. Test case design \individual operations.(面向对象软件中的测试用例设计“尽可能小”的原则,是由独立操作的算法细节驱动的) A:True(真) B:False (假)
19. The cyclomatic complexity metric provides the designer with information regarding the number of(圈复杂度度量为设计者提供了针对关于什么数量的信息?) A:cycles in the program (程序的周期) B:errors in the program (程序的错误)
C:independent logic paths in the program (程序中独立逻辑路径) D:statements in the program (程序中声明)
20. Equivalence testing divides the input domain into classes of data from which test cases can be derived to reduce the total number of test cases that must be developed.(等效性测试将输入域划分成几类数据,这些数据可以减少总的必须实现的测试用例数量。) A:True(真) B:False (假)
21. Which of the following are characteristics of testable software?(以下哪些是可被测软件的特性?)
A:observability (可观察的) B:simplicity (简单的) C:stability (稳定的)
D:all of the above (以上所有)