CAST CAST - Test Metrics and Measurement Questions and Answers 1 — Questions and Answers
Question 1: What is a software test metric?
- A tool used to automate test execution
- A quantitative measure used to evaluate some aspect of software testing (Correct answer)
- A document that describes the test strategy
- A checklist for verifying test case completeness
Correct answer: A quantitative measure used to evaluate some aspect of software testing
Test metrics are quantitative measures that help teams understand, control, and improve the testing process and product quality.
Question 2: Which of the following is an example of a process metric in software testing?
- Number of defects found per module
- Defect detection percentage
- Test case execution rate (Correct answer)
- Customer-reported defects post-release
Correct answer: Test case execution rate
Test case execution rate measures the efficiency of the testing process itself, making it a process metric.
Question 3: What does 'test coverage' measure?
- The number of testers assigned to a project
- The proportion of the system that has been exercised by tests (Correct answer)
- The ratio of passed tests to failed tests
- The total time spent on testing activities
Correct answer: The proportion of the system that has been exercised by tests
Test coverage indicates what percentage of code, requirements, or other criteria have been exercised by the test suite.
Question 4: What is 'defect density'?
- The severity level of defects found in testing
- The number of confirmed defects per unit size of the software (Correct answer)
- The time it takes to fix a defect once found
- The percentage of test cases that uncover defects
Correct answer: The number of confirmed defects per unit size of the software
Defect density is calculated as the number of defects per thousand lines of code (KLOC) or per function point.
Question 5: Which formula correctly calculates Defect Removal Efficiency (DRE)?
- DRE = Defects fixed / Total defects reported
- DRE = Defects found before release / (Defects found before + after release) × 100% (Correct answer)
- DRE = Total test cases / Defects found
- DRE = Defects reopened / Defects closed
Correct answer: DRE = Defects found before release / (Defects found before + after release) × 100%
DRE measures the percentage of total defects that were caught before product delivery to the customer.
Question 6: What is the purpose of tracking 'test execution progress' as a metric?
- To determine the salary of testers
- To monitor how many test cases have been run versus planned to predict completion (Correct answer)
- To count the total number of requirements
- To evaluate the performance of individual developers
Correct answer: To monitor how many test cases have been run versus planned to predict completion
Tracking test execution progress helps project managers forecast completion dates and identify schedule risks.
What is a software test metric?