Software Error Handling

FertileHope avatar
FertileHope
·
·
Download

Start Quiz

Study Flashcards

Questions and Answers

Who can perform debugging according to the text?

Both insider and outsider

What is an incorrect statement about testing based on the text?

Testing is always automated

When does debugging usually commence as per the given information?

With the execution of a test case

Which statement about debugging is FALSE based on the text?

<p>Debugging is a stage of software development life cycle</p> Signup and view all the answers

What is an essential aspect of software review according to the text?

<p>Usually undertaken by project personnel, managers, users, customers</p> Signup and view all the answers

Which process leads to error correction by matching symptoms with causes according to the information provided?

<p>Debugging</p> Signup and view all the answers

What is the primary purpose of generating software test metrics?

<p>To estimate the schedule of future projects</p> Signup and view all the answers

Which of the following is considered a test metric example?

<p>Total number of defects</p> Signup and view all the answers

What does the Test Lead/Manager's responsibility primarily involve regarding test metrics?

<p>Generating software test metrics</p> Signup and view all the answers

Why are test metrics important for software projects?

<p>To estimate project costs and schedules</p> Signup and view all the answers

How does measuring 'Test coverage %' contribute to software testing?

<p>By understanding the percentage of code tested by the test cases</p> Signup and view all the answers

Which action is facilitated by the test report generated from software test metrics?

<p>Determining if any process or technology changes are required</p> Signup and view all the answers

What is the main difference between errors and failures in software development?

<p>Errors are unintended behaviors while failures are accumulation of defects.</p> Signup and view all the answers

What may lead to an error in software according to the provided text?

<p>Lack of resources</p> Signup and view all the answers

How can faults in software affect the program if left untreated?

<p>Cause system unresponsiveness</p> Signup and view all the answers

What is the primary reason for failure in software development according to the text?

<p>Accumulation of defects</p> Signup and view all the answers

How can failure be detected in software according to the provided text?

<p>By end-users facing issues</p> Signup and view all the answers

What preventive measures are suggested in the text to avoid faults in software?

<p>Adopting programming techniques</p> Signup and view all the answers

What is the main purpose of a walkthrough as described in the text?

<p>To achieve a common understanding and gather feedback</p> Signup and view all the answers

Who typically leads a walkthrough according to the text?

<p>Authors of the document</p> Signup and view all the answers

Why are walkthroughs especially useful for people not from the software discipline?

<p>To help them understand the software development process</p> Signup and view all the answers

What does a walkthrough involve according to the text?

<p>Gathering feedback and achieving a common understanding</p> Signup and view all the answers

Which type of documents are walkthroughs especially useful for, as mentioned in the text?

<p>Requirement specifications</p> Signup and view all the answers

What is the primary purpose of software review during the early stages of the Software Development Life Cycle (SDLC)?

<p>To identify and resolve errors in the software</p> Signup and view all the answers

Why is software review considered cost-effective during the initial stages of development?

<p>It helps in identifying defects early, reducing later-stage costs</p> Signup and view all the answers

What does training technical authors for the defect detection process in software review help achieve?

<p>Improve the quality of the final software product</p> Signup and view all the answers

How does software review contribute to improving the productivity of the development team?

<p>By identifying and resolving defects early</p> Signup and view all the answers

What is a key benefit of eliminating inadequacies during software review?

<p>Reducing the overall cost of software development</p> Signup and view all the answers

How does frequent checking of work samples help in software review?

<p>It speeds up defect identification and resolution</p> Signup and view all the answers

Study Notes

Software Review

  • Software review is a systematic examination of a document to find and resolve errors and defects in the software during the early stages of SDLC.
  • It is usually performed manually to verify documents like requirements, system designs, codes, test plans, and test cases.
  • It improves the productivity of the development team, makes testing time and cost-effective, and reduces the cost of the whole process.

Importance of Software Review

  • It helps reduce the cost of rectifying defects in the later stages.
  • It trains technical authors for defect detection and prevention processes.
  • It eliminates inadequacies and defects, leading to a technically sound document.
  • It results in a dramatic reduction of time taken to produce a technically sound document.

Testing vs. Debugging

  • Testing is a stage of SDLC, composed of validation and verification of software.
  • Testing is initiated after the code is written and can be done manually or automated.
  • Debugging is a consequence of testing, seeking to match symptoms with causes to correct errors.
  • Debugging is always manual and cannot be automated.

Metrics and Measurement

  • Metrics are used to measure attributes like weight (e.g., "Kilogram" measures weight).
  • In software, metrics are used to measure attributes like "How many issues are found in a thousand lines of code?"
  • Measurements are used to generate metrics, and test metrics are used to take decisions for the next phase of activities.

Test Metrics

  • Examples of test metrics include "How many defects exist within the module?" and "What is Test coverage %?"
  • Test metrics are used to estimate the cost and schedule of future projects, understand the improvements required to succeed, and take decisions on process or technology modifications.

Test Report

  • A test report can be generated to show the number of test cases designed per requirement.
  • It is calculated by differentiating between expected and actual results.
  • It raises due to design issues, coding issues, or system specification issues.

Error, Fault, and Failure

  • Error occurs due to design issues, coding issues, or system specification issues.
  • Fault occurs due to lack of resources or not following proper steps, leading to unintended behavior.
  • Failure is the accumulation of several defects, leading to software failure and loss of information.

Walkthrough

  • Walkthrough is an informal process led by the authors to achieve a common understanding and gather feedback.
  • It is useful for people not from the software discipline, who are not used to understanding software development processes.
  • The goals of a walkthrough include presenting documents to gather information, explaining or transferring knowledge, and evaluating the contents of the document.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

More Quizzes Like This

Use Quizgecko on...
Browser
Browser