ISTQB CTFL v4.0 Practice Test 39
Question 380
A tester and product owner review the following behavior: A purchase discount feature gives a bonus only when both a valid coupon and active membership are present, yet the team never tests one-condition-only cases. Which TWO complementary steps together provide the most appropriate response and a direct test of its effectiveness? Select TWO answers.
- Construct a two-condition decision table covering all four possible true and false combinations and the expected action for each rule.
- Design at least one test that executes the surcharge or adjustment statement and another where needed for other branches, measuring statement execution.
- Assume testing only both-true and both-false combinations fully covers the behavior of two independent Boolean conditions.
- Compare responses to the six selected input values against the stated integer range and expected error handling.
- Check each of the four membership-by-threshold or membership-by-coupon condition combinations and expected qualification result.
Explanation
Correct Answers
A:This is the appropriate testing Recommended action: Construct a two-condition decision table covering all four possible true and false combinations and the expected action for each rule. The case involves A purchase discount feature gives a bonus only when both a valid coupon and active membership are present, yet the team never tests one-condition-only cases.
E:This check addresses the issue: Check each of the four membership-by-threshold or membership-by-coupon condition combinations and expected qualification result. The test should distinguish observed facts from the assumption that assume testing only both-true and both-false combinations fully covers the behavior of two independent Boolean conditions. The intended testing outcome is: Only cases satisfying both required conditions receive the benefit, and the other three combinations are rejected appropriately.
Incorrect Answers
B:This is a misconception related to a different testing issue, namely Statement coverage of a conditional branch, and is not the most direct assumption behind this case. Here, A purchase discount feature gives a bonus only when both a valid coupon and active membership are present, yet the team never tests one-condition-only cases.
C:This shortcut is unsafe: Assume testing only both-true and both-false combinations fully covers the behavior of two independent Boolean conditions. It neglects the relevant behavior: Decision tables systematically expose condition interactions and missing rules instead of validating only the successful conjunction. In this scenario: ing behavior: A purchase discount feature gives a bonus only when both a valid coupon and active membership are present, yet the team never tests one-condition-only cases.
D:This is a misconception related to a different testing issue, namely Three-value boundary value analysis around each edge, and is not the most direct assumption behind this case. Here, A purchase discount feature gives a bonus only when both a valid coupon and active membership are present, yet the team never tests one-condition-only cases.
Question 381
During test preparation, a team encounters the following issue: A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable. Which testing action BEST addresses the stated issue? Select ONE best answer.
- For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
- Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
- Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states.
- Select tests that force both true and false outcomes for relevant decisions and measure each executable branch outcome.
Explanation
Correct Answer
B:This is the appropriate testing action: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules. The case involves A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable.
Incorrect Answers
A:This is an appropriate consideration for a different situation (Three-value boundary value analysis around each edge), but it does not directly resolve the one given here. Here, A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable. The necessary control or test is: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
C:That option would assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states, but it addresses a different concern. It follows the principle that Decision tables can contain logically impossible or contradictory combinations, which should be marked rather than treated as reachable scenarios.
D:This is an appropriate consideration for a different situation (Branch coverage of both conditional outcomes), but it does not directly resolve the one given here. Here, A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable. The necessary control or test is: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
Question 382
During iteration planning and quality review, this issue appears: A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable. Which principle of software testing BEST explains the problem? Select ONE best answer.
- Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states.
- Three-value BVA covers the boundary and its immediately adjacent values on both sides, including valid and invalid values.
- Boundary choices depend on data domain, precision and whether a mathematical limit is included; a strict limit differs from an inclusive one.
- Decision tables can contain logically impossible or contradictory combinations, which should be marked rather than treated as reachable scenarios.
Explanation
Correct Answer
D:This is the relevant underlying rule: Decision tables can contain logically impossible or contradictory combinations, which should be marked rather than treated as reachable scenarios. In the situation described, A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable.
Incorrect Answers
A:That option would assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states, but it addresses a different concern. The practical response is to enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
B:This is an appropriate consideration for a different situation (Three-value boundary value analysis around each edge), but it does not directly resolve the one given here. Here, A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable.
C:This is an appropriate consideration for a different situation (Boundary analysis with decimal precision and open limits), but it does not directly resolve the one given here. Here, A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable. The necessary control or test is: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
Question 383
A project team is deciding how to test this condition: A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable. Which specific test or review evidence MOST directly establishes what happened? Select ONE best answer.
- Compare the transition graph and visited state list with executed ordered state-event pairs and identify uncovered edges.
- Inspect business constraints, each condition combination and the documented basis for omitting infeasible rules from executable coverage.
- Compare responses to the six selected input values against the stated integer range and expected error handling.
- Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states.
Explanation
Correct Answer
B:This directly verifies the issue: Inspect business constraints, each condition combination and the documented basis for omitting infeasible rules from executable coverage. The test should distinguish observed facts from the assumption that assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states.
Incorrect Answers
A:This is an appropriate consideration for a different situation (Transition coverage versus state coverage), but it does not directly resolve the one given here. Here, A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable.
C:This is an appropriate consideration for a different situation (Three-value boundary value analysis around each edge), but it does not directly resolve the one given here.
D:This shortcut is unsafe: Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states. It neglects the relevant behavior: Decision tables can contain logically impossible or contradictory combinations, which should be marked rather than treated as reachable scenarios.
Question 384
A foundation-level tester investigates: A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable. Which observed result BEST demonstrates that the testing activity met its stated objective? Select ONE best answer.
- Every feasible decision-rule combination is exercised and each excluded combination has an explicit justified constraint.
- Only cases satisfying both required conditions receive the benefit, and the other three combinations are rejected appropriately.
- Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states.
- Both inclusive edge values are accepted and the immediately adjacent excluded values are rejected.
Explanation
Correct Answer
A:This is the observable acceptance result: Every feasible decision-rule combination is exercised and each excluded combination has an explicit justified constraint. It follows from the testing approach: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
Incorrect Answers
B:This is an appropriate consideration for a different situation (Decision table complete rule combination coverage), but it does not directly resolve the one given here. Here, A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable. The necessary control or test is: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
C:This shortcut is unsafe: Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states. It neglects the relevant behavior: Decision tables can contain logically impossible or contradictory combinations, which should be marked rather than treated as reachable scenarios. For the scenario (A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable.), the required evidence is: Inspect business constraints, each condition combination and the documented basis for omitting infeasible rules from executable coverage.
D:This is an appropriate consideration for a different situation (Two-value boundary value analysis for inclusive range), but it does not directly resolve the one given here. Here, A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable. The necessary control or test is: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
Question 385
A test analyst considers this real project scenario: A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable. Which misleading assumption about decision table infeasible conditions and rule reduction MOST directly contributes to this problem and should be rejected? Select ONE best answer.
- Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states.
- Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly.
- Assume executing the main function many times means every executable statement has run at least once.
- Assume several examples from the valid age range provide coverage of both invalid equivalence partitions.
Explanation
Correct Answer
A:The correct principle is: Decision tables can contain logically impossible or contradictory combinations, which should be marked rather than treated as reachable scenarios.
Incorrect Answers
B:This is a misconception related to a different testing issue, namely State transition testing allowed and invalid events, and is not the most direct assumption behind this case. Here, A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable.
C:This is a misconception related to a different testing issue, namely Statement coverage of a conditional branch, and is not the most direct assumption behind this case. Here, A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable.
D:This is a misconception related to a different testing issue, namely Equivalence partitioning valid and invalid classes, and is not the most direct assumption behind this case. Here, A payment approval rule has three conditions, but a business constraint makes one pair of states mutually impossible and test designers count all eight as reachable.
Question 386
In a software test-design exercise, the following case arises: A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules. Which testing action BEST addresses the stated issue? Select ONE best answer.
- Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
- Identify valid and invalid equivalence classes for each relevant input and combine representatives deliberately according to interaction risk.
- Select black-box techniques for specified input-output behavior, white-box techniques for accessible implementation structure and experience-based approaches to complement gaps.
- Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states.
Explanation
Correct Answer
A:This is the appropriate testing action: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules. The case involves A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.
Incorrect Answers
B:This is an appropriate consideration for a different situation (Multiple-input equivalence classes without exhaustive product), but it does not directly resolve the one given here. Here, A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules. The necessary control or test is: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
C:This is an appropriate consideration for a different situation (Selecting black-box white-box and experience approaches), but it does not directly resolve the one given here. Here, A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules. The necessary control or test is: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
D:This shortcut is unsafe: Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states. It neglects the relevant behavior: Decision tables can contain logically impossible or contradictory combinations, which should be marked rather than treated as reachable scenarios. For the scenario (A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.), the required evidence is: Inspect business constraints, each condition combination and the documented basis for omitting infeasible rules from executable coverage.
Question 387
A release manager requests independent testing evidence: A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules. Which principle of software testing BEST explains the problem? Select ONE best answer.
- Decision tables can contain logically impossible or contradictory combinations, which should be marked rather than treated as reachable scenarios.
- Visiting every state does not imply exercising every transition, because multiple events and edges can lead into or out of the same state.
- Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states.
- White-box metrics reveal exercised structure but cannot prove the implementation meets every requirement or lacks incorrect logic.
Explanation
Correct Answer
A:This is the relevant underlying rule: Decision tables can contain logically impossible or contradictory combinations, which should be marked rather than treated as reachable scenarios. In the situation described, A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.
Incorrect Answers
B:This is an appropriate consideration for a different situation (Transition coverage versus state coverage), but it does not directly resolve the one given here. Here, A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules. The necessary control or test is: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
C:This shortcut is unsafe: Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states.
D:This is an appropriate consideration for a different situation (White-box coverage limits and black-box complement), but it does not directly resolve the one given here. Here, A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules. The necessary control or test is: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
Question 388
A software quality workshop reviews this situation: A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules. Which specific test or review evidence MOST directly establishes what happened? Select ONE best answer.
- Check each of the four membership-by-threshold or membership-by-coupon condition combinations and expected qualification result.
- Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states.
- Inspect business constraints, each condition combination and the documented basis for omitting infeasible rules from executable coverage.
- Run 9, 10, 50 and 51 with stated expected reject, accept, accept and reject outcomes, and record observed differences.
Explanation
Correct Answer
C:This check addresses the issue: Inspect business constraints, each condition combination and the documented basis for omitting infeasible rules from executable coverage. The test should distinguish observed facts from the assumption that assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states.
Incorrect Answers
A:This is an appropriate consideration for a different situation (Decision table complete rule combination coverage), but it does not directly resolve the one given here. Here, A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.
B:This shortcut is unsafe: Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states. For the scenario (A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.), the required evidence is: Inspect business constraints, each condition combination and the documented basis for omitting infeasible rules from executable coverage.
D:This is an appropriate consideration for a different situation (Two-value boundary value analysis for inclusive range), but it does not directly resolve the one given here. Here, A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.
Question 389
A defect investigation documents this situation: A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules. Which observed result BEST demonstrates that the testing activity met its stated objective? Select ONE best answer.
- The chosen tests explicitly address functional rules, structural paths and historically error-prone behaviors with a stated rationale.
- The system follows defined legal transitions and rejects events prohibited in the current state without silently changing state.
- Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states.
- Every feasible decision-rule combination is exercised and each excluded combination has an explicit justified constraint.
Explanation
Correct Answer
D:This is the observable acceptance result: Every feasible decision-rule combination is exercised and each excluded combination has an explicit justified constraint. It follows from the testing approach: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules. The case is: A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.
Incorrect Answers
A:This is an appropriate consideration for a different situation (Selecting black-box white-box and experience approaches), but it does not directly resolve the one given here. Here, A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.
B:This is an appropriate consideration for a different situation (State transition testing allowed and invalid events), but it does not directly resolve the one given here. Here, A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules. The necessary control or test is: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
C:It neglects the relevant behavior: Decision tables can contain logically impossible or contradictory combinations, which should be marked rather than treated as reachable scenarios. For the scenario (A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.), the required evidence is: Inspect business constraints, each condition combination and the documented basis for omitting infeasible rules from executable coverage.
Question 390
A tester and product owner review the following behavior: A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules. Which TWO complementary steps together provide the most appropriate response and a direct test of its effectiveness? Select TWO answers.
- Compare the transition graph and visited state list with executed ordered state-event pairs and identify uncovered edges.
- Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states.
- Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
- Translate strict or inclusive comparison and input precision into explicit adjacent representable boundary values before deriving expected results.
- Inspect business constraints, each condition combination and the documented basis for omitting infeasible rules from executable coverage.
Explanation
Correct Answers
C:This is the appropriate testing Recommended action: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules. The case involves A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.
E:This check addresses the issue: Inspect business constraints, each condition combination and the documented basis for omitting infeasible rules from executable coverage. The test should distinguish observed facts from the assumption that assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states. The intended testing outcome is: Every feasible decision-rule combination is exercised and each excluded combination has an explicit justified constraint.
Incorrect Answers
A:This is a misconception related to a different testing issue, namely Transition coverage versus state coverage, and is not the most direct assumption behind this case. Here, A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.
B:This shortcut is unsafe: Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states. It neglects the relevant behavior: Decision tables can contain logically impossible or contradictory combinations, which should be marked rather than treated as reachable scenarios. In this scenario: review the following behavior: A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.
D:This is a misconception related to a different testing issue, namely Boundary analysis with decimal precision and open limits, and is not the most direct assumption behind this case. Here, A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.