Software Testing Quality Control & Assurance 4 — Questions and Answers
Question 1: Which CMMI process area focuses on establishing and maintaining an understanding of requirements to minimize misinterpretation?
- Requirements Development
- Requirements Management (Correct answer)
- Technical Solution
- Validation
Correct answer: Requirements Management
Requirements Management ensures that requirements are understood, agreed upon, and changes are controlled throughout the project lifecycle.
Question 2: A QA manager wants to assess the effectiveness of the testing process itself. Which metric is most appropriate?
- Number of test cases executed per day
- Defect detection percentage (DDP) (Correct answer)
- Lines of code written per sprint
- Number of open defects
Correct answer: Defect detection percentage (DDP)
Defect Detection Percentage (DDP) measures how many defects were found by testing versus all defects found (including those found post-release), indicating testing effectiveness.
Question 3: In software quality, what does 'fitness for use' primarily refer to?
- The software passes all automated unit tests
- The software meets user needs and expectations in its intended context (Correct answer)
- The software is free of all known defects
- The software conforms to its specification document
Correct answer: The software meets user needs and expectations in its intended context
Joseph Juran defined quality as 'fitness for use,' meaning the product effectively satisfies the actual needs of the user in real-world conditions.
Question 4: A software team implements mandatory code reviews before merging to the main branch. This practice primarily belongs to which quality activity?
- Quality Control (QC)
- Quality Assurance (QA) (Correct answer)
- Quality Planning
- Quality Improvement
Correct answer: Quality Assurance (QA)
Mandatory code reviews are a process-focused practice that prevents defects from entering the codebase, making them a Quality Assurance activity.
Question 5: Which testing approach is most effective for discovering defects in business logic that unit tests typically miss?
- Integration testing (Correct answer)
- Performance testing
- Unit testing with 100% coverage
- Security scanning
Correct answer: Integration testing
Integration testing verifies the interactions between components and often reveals defects in business logic flows that unit tests cannot expose in isolation.
Question 6: What does the 'test oracle' concept refer to in software testing?
- An automated tool that generates test cases
- A mechanism for determining whether a test passed or failed (Correct answer)
- A database of known software defects
- A senior tester who reviews all test plans
Correct answer: A mechanism for determining whether a test passed or failed
A test oracle is any mechanism—specification, expected output, comparison system, or human judgment—used to determine whether the actual result matches the expected result.
Question 7: In process improvement, a 'baseline' measurement is taken primarily to:
- Set the maximum allowable defect count for a release
- Establish a reference point for measuring future improvements (Correct answer)
- Define the minimum test coverage required
- Identify the most experienced team members
Correct answer: Establish a reference point for measuring future improvements
A process baseline captures current performance metrics so that the impact of improvements can be objectively measured against a known starting point.
Which CMMI process area focuses on establishing and maintaining an understanding of requirements to minimize misinterpretation?