第30章试题
1. Most technical software metrics described in this chapter represent indirect measures software attributes that are useful in the quantitative assessment of software quality.
A. TrueB. False
正确答案:A
2. Which these are reasons for using technical product measures during software development?
A. large body of scientific evidence supports their useB. provides software engineers with an objective mechanism for assessing software quality
C. they allow all quality software quality information to be expressed unambiguously as a single number
D. all of the above
正确答案:B
3. Which measurement activity is missing from the list below?
A. designB. feedback
C. measurement
D. quantification
正确答案:B
4. The Goal/Question/Metric (GQM) paradigm was developed as a technique for assigning blame for software failures.
A. TrueB. False
正确答案:B
5. One of the most important attributes for a software product metric is that it should be
A. easy to computeB. qualitative in nature
C. reliable over time
D. widely applicable
正确答案:A
6. In many cases metrics for one model may be used in later software engineering activities (e.g. design metrics may be used in test planning).
A. TrueB. False
正确答案:A
7. The function point metric is an example of metric that can be used to assist with technical decision-making based on the analysis model information, without making use of historical project data.
A. TrueB. False
正确答案:B
8. The specification metrics proposed by Davis address which two characteristics of the software requirements?
A. functionality and performanceB. performance and completeness
C. specificity and completeness
D. specificity and functionality
正确答案:C
9. Architectural design metrics focus on
A. architectural structureB. data structural relationships
C. internal module complexity
D. module effectiveness
E. a and d
正确答案:E
10. Which of the following is not a measurable characteristic of an object-oriented design?
A. completenessB. efficiency
C. size
D. volatility
正确答案:B
11. The depth of inheritance tree (DIT) metric can give an OO software designer a reading on the
A. attributes required for each classB. completion time required for system implementation
C. complexity of the class hierarchy
D. level of object reusability achieved
正确答案:B
12. Because the class is the dominant unit in OO systems there is no call for the definition of class-oriented metrics.
A. TrueB. False
正确答案:B
13. If you encounter a class with a large responsibility (large class size or CS value) you should consider
A. making it a base classB. making it a subclass
C. partitioning the class
D. starting a new class hierarchy
正确答案:C
14. Component-level metrics include measures of
A. complexityB. coupling
C. module cohesion
D. performance
E. a, b, c
正确答案:E
15. Because the class is the dominant unit in OO systems very few metrics have been proposed for operations that reside within a class.
A. TrueB. False
正确答案:A
16. Interface metrics are use to assess the complexity of the module's input and output relationships with external devices.
A. TrueB. False
正确答案:B
17. Most WebApps can be easily characterized by judicious use of widely recognized suites of software metrics?
A. TrueB. False
正确答案:B
18. Halstead's source code metrics are based on the number of
A. modules in the programB. operands in the program
C. operators in the program
D. volume elements in the program
E. b and c
正确答案:E
19. Software testing metrics fall into two broad categories
A. metrics that focus on defect removal effectivenessB. metrics that focus on test coverage
C. metrics that estimate the duration of the testing process
D. metrics that predict the number of test cases required
E. b and d
正确答案:E
20. The IEEE software maturity index (SMI) is used to provide a measure of the
A. maintainability of a software product based on its availabilityB. relative age of a software product being considered for retirement
C. reliability of a software product following regression testing
D. stability of a software product as it is modified during maintenance
正确答案:D