Test bank for software engineering modern approaches 2nd edition by braude and bernstein

6 100 0
Test bank for software engineering modern approaches 2nd edition by braude and bernstein

Đang tải... (xem toàn văn)

Thông tin tài liệu

Test Bank for Software Engineering Modern Approaches 2nd Edition by Eric J Braude and Michael E Bernstein Link full download Test Bank: https://getbooksolutions.com/download/test-bank-for-software-engineering-modernapproaches-2nd-edition-by-braude-and-bernstein/ Link full download Solutions Manual: https://getbooksolutions.com/download/solutions-manual-for-software-engineeringmodern-approaches-2nd-edition-by-braude-and-bernstein/ Chapter Introduction to Quality and Metrics in Software Engineering True/False Questions Software metrics measure the effectiveness of the processes employed and the software being constructed a T b F Implementation and unit testing are the only phases which require quality and metrics a T b F The more closely a software product meets its requirements the higher its quality a T b F There is usually no correlation between defects and quality a T b F Code inspection is the only way to detect defects within a product.] a T b F 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 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 Metrics only measure the various aspects of a project such as the quality of the software itself a T b F It is important that “software quality” has a consistent meaning within the project’s stakeholders a T b F In practice, most software systems 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 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 Multiple Choice Questions 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 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 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 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 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 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 f B and D are the correct answers 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 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 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 Short Answer Questions 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 Type: E 26 Generally, describe software quality metrics Please provide some examples of quality metrics 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 seconds This example is a measurable quality attribute of a system Type: E 27 What are software defects and what is their effect on the quality of the software project? 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 Type: E 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 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 you feel these are important to measure? a Students answers should include the following quality metrics: Defect density Mean time to failure Customer problems 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

Ngày đăng: 01/03/2019, 11:36

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan