ISTQB Test Analyst Prep practice questions and answers 2026. Tap an option to test yourself — you'll see the correct answer and a plain-English explanation for every question. Free, no login.
Q11For which of the following software components would statement coverage likely be INSUFFICIENT as the only white-box testing technique?
✓ Correct answer: B. Complex error handling routines
Complex error handling routines contain multiple decision points and exception paths that statement coverage alone would not adequately test, as it doesn't ensure all decision outcomes are exercised.
Q12What is the primary difference between decision testing and condition testing?
✓ Correct answer: A. Decision testing focuses on the overall decision result, while condition testing examines individual Boolean sub-expressions
Decision testing focuses on the overall decision result (true/false), while condition testing focuses on the individual Boolean sub-expressions (conditions) within a decision, providing more granular coverage.
Q13Which statement about API testing using white-box techniques is correct?
✓ Correct answer: D. It involves testing internal structures, data flow, and exception handling
API testing using white-box techniques typically focuses on testing internal structures, data flow, and exception handling by accessing and analyzing the underlying code implementation rather than just the interface behavior.
Q14A developer has written a complex function with nested if-statements and logical operators. Which white-box technique would BEST help detect logical defects in the conditions?
✓ Correct answer: C. Modified condition/decision coverage (MC/DC)
Modified condition/decision coverage (MC/DC) is specifically designed to detect logical defects by ensuring each condition independently affects the decision outcome, which is ideal for complex nested conditions with logical operators.
Q15What is the key principle of Modified Condition/Decision Coverage (MC/DC)?
✓ Correct answer: B. Each condition must independently affect the decision outcome
The key principle of MC/DC is that each condition must independently affect the decision outcome, proving that each condition has a distinct influence on the result when all other conditions remain constant.
Q16When designing white-box tests for an API that processes financial transactions, which coverage criterion would be MOST effective at identifying logic defects in the transaction validation code?
✓ Correct answer: A. Multiple condition coverage
Multiple condition coverage would be most effective as it tests all combinations of conditions in the validation logic, ensuring that all possible validation scenarios are verified, which is critical for financial transaction processing.
Q17What is a key limitation of statement coverage as a white-box testing technique?
✓ Correct answer: D. It cannot detect missing paths in the code
Statement coverage cannot detect missing paths in the code, such as error handling paths that should exist but don't, since it only measures execution of existing code statements.
Q18A code review reveals a complex decision with four conditions connected by AND and OR operators. What is the MINIMUM number of test cases needed for MC/DC coverage of this decision?
✓ Correct answer: C. 5 test cases
For MC/DC coverage of a decision with n conditions, the minimum number of test cases required is n+1. With four conditions, at least 5 test cases are needed to ensure each condition independently affects the outcome.
Q19Which of the following statements about white-box testing techniques is TRUE?
✓ Correct answer: B. They complement black-box techniques by focusing on code structure rather than specifications
White-box testing techniques complement black-box techniques by focusing on code structure rather than specifications, providing different perspectives and often finding different types of defects, resulting in more comprehensive testing when used together.
Q20What is the primary benefit of using decision testing for API validation?
✓ Correct answer: A. Ensuring all logical branches in the API implementation are exercised
Decision testing for API validation ensures that all logical branches in the API implementation are exercised, including alternate paths and error handling, which helps verify the API behaves correctly under various conditions and edge cases.
Use the free ISTQB Test Analyst Prep sample, download the PDF, then unlock web-based timed mock exams for a full exam rehearsal.