Page 1

Full file at http://testbank360.eu/test-bank-software-engineering-2nd-edition-braude

Chapter 2 Introduction to Quality and Metrics in Software Engineering True/False Questions 1. Software metrics measure the effectiveness of the processes employed and the software being constructed a. T b. F 1. Implementation and unit testing are the only phases which require quality and metrics a. T b. F 2. The more closely a software product meets its requirements the higher its quality a. T b. F 3. There is usually no correlation between defects and quality a. T b. F 4. Code inspection is the only way to detect defects within a product.] a. T b. F 5. Software verification and validation (V&V) is a process that is done during the maintenance phase of the software life cycle a. T b. F 6. Only at the end of each software project, data or measurements are collected to ascertain the effectiveness of the processes employed and the software being constructed a. T b. F 7. Metrics only measure the various aspects of a project such as the quality of the software itself a. T b. F 8. It is important that “software quality” has a consistent meaning within the project’s stakeholders a. T b. F

© 2010 John Wiley & Sons Ltd. www.wiley.com/college/braude


Full file at http://testbank360.eu/test-bank-software-engineering-2nd-edition-braude 9. In practice, most software systems do not contain defects and therefore always meet their requirements a. T b. F 10. Agile projects emphasize the attainment of quality through continual interaction with the customer in person, early implementation, and continual, cumulative testing a. T b. F 11. You do not need quantifiable, objective measures to provide visibility into a project it is difficult to measure a project’s progress in terms of whether it is on schedule, whether it is meeting its quality goals, and whether it is ready to ship to customers. a. T b. F

Š 2010 John Wiley & Sons Ltd. www.wiley.com/college/braude


Full file at http://testbank360.eu/test-bank-software-engineering-2nd-edition-braude Multiple Choice Questions 1. During the software development life-cycle Verification ensures that: a. The code being built compiles correctly b. All testing is complete c. Each step in the development process is carried out correctly d. The stakeholders for the project are satisfied with the results 2. Agile projects emphasize the attainment of quality through: a. continual interactions with the customer, early implementation and continual, cumulative testing b. a single interaction with the customer, early implementation and continual, cumulative testing c. continual interactions with the customer and early implementation only d. Continual interactions with the customer, early implementation and continual testing 3. Metrics are collected and analyzed throughout the software life cycle, and help with the following: a. Determining software quality level b. Tracking schedule progress c. Process improvement d. All of the above 4. It is useful to identify a set of software quality metrics, which are a subset of the total metrics collected for a project. These metrics are specifically focused on the quality characteristics of software and of the processes employed during the software life cycle. Important quality metrics include: a. Defect density b. both A and C only c. Customer problems d. Cost and scheduling e. All of the above 5. A common indicator of software quality is the reliability of a system, as measured by its availability or the frequency of system crashes over a period of time. A typical metric to measure this is: a. average number of failures b. mean time to failure c. median time to failure d. customer satisfaction survey 6. According to your text, Verification and Validation can be defined as: a. Ensuring that each artifact is built to its specification b. Checking that the artifact satisfies its specification. c. Providing betas to customers to ensure the correct product is being developed. d. Giving a customer satisfaction survey to ensure that the specifications were met e. A and B are the correct answers Š 2010 John Wiley & Sons Ltd. www.wiley.com/college/braude


Full file at http://testbank360.eu/test-bank-software-engineering-2nd-edition-braude f.

B and D are the correct answers

7. Software metrics can be classified into the following broad categories: a. Product metrics and Process metrics b. Code metrics and Test metrics c. Customer metrics and End-user metrics d. None of the above 8. Defect density refers to the following: a. How complex the defect is to fix b. The number of defects relative to the software size expressed in thousands of lines of code c. The amount of time it takes to fix the defect d. None of the above 9. The collection of quality metric information will help with the following: a. Determining the quality level b. Estimating project schedules c. Tracking schedule progress d. All of the above e. B only 10. A quality goal of a software development process is to: a. Hide as many defects as possible b. Remove as many defects as possible as early in the development life cycle as possible c. Only fix the critical defects d. None of the above 11. A quality goal of a software development process is not to: a. Hide as many defects as possible b. Remove as many defects as possible as early in the development life cycle as possible c. Only fix the critical defects d. None of the above 12. As defined by the book which is not a quality metric: a. defect density b. customer satisfaction c. mean time to failure d. upper management satisfaction

Š 2010 John Wiley & Sons Ltd. www.wiley.com/college/braude


Full file at http://testbank360.eu/test-bank-software-engineering-2nd-edition-braude Short Answer Questions 1. 25. How does Verification and Validation improve the software which is being produced during a software project? Why does V&V improve the software that is being produced? a. Students’ answers may vary, however, all answers should contain the fact that Verification ensures that each part of the development process is carried out correctly. This ultimately ensures that milestones are created to ensure that before the project team exits a development process phase, they are on track. Validation ensures that each software artefact produced meets the requirements as specified in a prior phase. This can be done through rigorous testing or code inspection. 2. Type: E 3. 26. Generally, describe software quality metrics. Please provide some examples of quality metrics. 4. Software quality metrics provide a way to measure how close software satisfies the requirements defined for the project. Software quality metrics specifically measure the degree of compliance to these requirements. It is imperative for quality metrics to be quantifiable and measurable in a clear way. An example of a quality metric might be, the system response time when loading cannot exceed 5 seconds. This example is a measurable quality attribute of a system. 5. Type: E 6. 27. What are software defects and what is their effect on the quality of the software project? 7. Software defects are defined as a deviation from what’s required for the software development life cycle phase. Software defects cause quality degradation due to the fact that they cause the software to behave in an unintended manner. Defects are the clearest manifestation of a quality shortfall. Finding software defects as soon as possible within the software development life-cycle is imperative to keeping project costs to a minimum. As the later defects are found within the software development life-cycle the more costly it is to fix the defect. 8. Type: E 9. 28. Describe the cost of detecting and repairing a defect during the maintenance phase of the software development life-cycle. How important is it to find defects earlier in the software development life-cycle? 10. Students’ answers may vary. However all answers should include the following. The cost of detecting and repairing a defect late in the software development life-cycle can be exponentially costly. In short the later in the development life-cycle a defect is found, the more costly it will be to repair it. Figure 2.4 describes the cost of a defect throughout the software development life-cycle. As you can see, per each phase of the software development life cycle, the cost continues to grow, being the most expensive during the maintenance phase of the project. Therefore, it is imperative to find defects © 2010 John Wiley & Sons Ltd. www.wiley.com/college/braude


Full file at http://testbank360.eu/test-bank-software-engineering-2nd-edition-braude as early on as possible within the software development life-cycle due to the fact that irrespective of quality perception, the actual cost of finding defects late in the SDLC can be staggering. 11. Type: E 12. 29. What is a Software Quality Assurance Plan? Please describe the purpose of a SQAP. 13. A SQAP is a document for expressing an overall approach to quality that is conducted throughout the entire software development life-cycle. The purpose of SQAP is to define all aspects of quality for the project. The document should cover: 14. The organizational structure of the quality team 15. A list of documentation to be created governing the development, verification and validation, use and 16. maintenance of the software (e.g., software requirements specification, verification and validation plan, 17. software design specification, etc.) 18. The definition and schedule of inspections to be conducted and how they are to be conducted 19. The metrics to be collected, monitored, and analyzed 20. References to software test plans 21. How problem reporting is to be managed and conducted 22. Type: E 23. Describe some of the quality metrics listed in this chapter. Please add onto this list and think of other quality metrics. Why do you feel these are important to measure? a. Students answers should include the following quality metrics: 1. Defect density 2. Mean time to failure 3. Customer problems 4. Customer satisfaction ii. Students answers will vary on other quality metrics, and example might be Critical defects. However, their explanation will vary as to why they are important to measure. Their focus should be on how the metrics can measure code quality in relationship to resources, features and time.

Š 2010 John Wiley & Sons Ltd. www.wiley.com/college/braude

Test bank software engineering 2nd edition braude  

test bank software engineering 2nd edition braude. Full file at http://testbank360.eu/test-bank-software-engineering-2nd-edition-braude

Read more
Read more
Similar to
Popular now
Just for you