ISTQB CTFL v4.0 Practice Test 36
Question 350
A tester and product owner review the following behavior: A validation function includes 10 as valid but accidentally also accepts 51, which the team's nominal-value tests cannot reveal. Which TWO complementary steps together provide the most appropriate response and a direct test of its effectiveness? Select TWO answers.
- Run 9, 10, 50 and 51 with stated expected reject, accept, accept and reject outcomes, and record observed differences.
- Assume testing only ordinary interior values gives effective coverage of off-by-one errors at inclusive limits.
- Inspect the available specifications, structural artifacts, prior defects and coverage gaps before selecting a complementary test portfolio.
- Select tests that force both true and false outcomes for relevant decisions and measure each executable branch outcome.
- Use two-value boundary sets just below and at each inclusive boundary, explicitly testing 9 and 10 at the lower edge and 50 and 51 at the upper edge.
Explanation
Correct Answers
A:This check addresses the issue: Run 9, 10, 50 and 51 with stated expected reject, accept, accept and reject outcomes, and record observed differences. The test should distinguish observed facts from the assumption that assume testing only ordinary interior values gives effective coverage of off-by-one errors at inclusive limits. The intended testing outcome is: Both inclusive edge values are accepted and the immediately adjacent excluded values are rejected.
E:This is the appropriate testing Recommended action: Use two-value boundary sets just below and at each inclusive boundary, explicitly testing 9 and 10 at the lower edge and 50 and 51 at the upper edge. The case involves A validation function includes 10 as valid but accidentally also accepts 51, which the team's nominal-value tests cannot reveal.
Incorrect Answers
B:This shortcut is unsafe: Assume testing only ordinary interior values gives effective coverage of off-by-one errors at inclusive limits. It neglects the relevant behavior: Two-value boundary analysis targets adjacent values across each relevant transition where behavior is most likely to differ. In this scenario: A tester and product owner review the following behavior: A validation function includes 10 as valid but accidentally also accepts 51,.
C:This is a misconception related to a different testing issue, namely Selecting black-box white-box and experience approaches, and is not the most direct assumption behind this case. Here, A validation function includes 10 as valid but accidentally also accepts 51, which the team's nominal-value tests cannot reveal.
D:This is a misconception related to a different testing issue, namely Branch coverage of both conditional outcomes, and is not the most direct assumption behind this case. Here, A validation function includes 10 as valid but accidentally also accepts 51, which the team's nominal-value tests cannot reveal.
Question 351
During test preparation, a team encounters the following issue: A score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0. Which testing action BEST addresses the stated issue? Select ONE best answer.
- Select black-box techniques for specified input-output behavior, white-box techniques for accessible implementation structure and experience-based approaches to complement gaps.
- For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
- Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side.
- Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
Explanation
Correct Answer
B:This is the appropriate testing action: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit. The case involves A score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0.
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 score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0. The necessary control or test is: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
C:That option would assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side, but it addresses a different concern. It follows the principle that Three-value BVA covers the boundary and its immediately adjacent values on both sides, including valid and invalid values.
D: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 score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0. The necessary control or test is: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
Question 352
During iteration planning and quality review, this issue appears: A score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0. Which principle of software testing BEST explains the problem? Select ONE best answer.
- Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side.
- Three-value BVA covers the boundary and its immediately adjacent values on both sides, including valid and invalid values.
- Two-value boundary analysis targets adjacent values across each relevant transition where behavior is most likely to differ.
- Equivalence partitioning groups values expected to receive equivalent processing, including both valid and invalid classes.
Explanation
Correct Answer
B:This is the relevant underlying rule: Three-value BVA covers the boundary and its immediately adjacent values on both sides, including valid and invalid values. In the situation described, A score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0.
Incorrect Answers
A:That option would assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side, but it addresses a different concern. The practical response is to for a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
C: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 score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0. The necessary control or test is: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
D:This is an appropriate consideration for a different situation (Equivalence partitioning valid and invalid classes), but it does not directly resolve the one given here. Here, A score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0. The necessary control or test is: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
Question 353
A project team is deciding how to test this condition: A score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0. Which specific test or review evidence MOST directly establishes what happened? Select ONE best answer.
- Inspect the conditional expression, chosen inputs and instrumentation showing both outcomes were observed.
- Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side.
- Compare responses to the six selected input values against the stated integer range and expected error handling.
- Inspect the available specifications, structural artifacts, prior defects and coverage gaps before selecting a complementary test portfolio.
Explanation
Correct Answer
C:This directly verifies the issue: Compare responses to the six selected input values against the stated integer range and expected error handling. The test should distinguish observed facts from the assumption that assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side.
Incorrect Answers
A: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 score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0.
B:This shortcut is unsafe: Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side. It neglects the relevant behavior: Three-value BVA covers the boundary and its immediately adjacent values on both sides, including valid and invalid values.
D: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 score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0.
Question 354
A foundation-level tester investigates: A score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0. 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.
- Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side.
- Valid scores at 0, 1, 99 and 100 succeed, while -1 and 101 are rejected as outside the defined interval.
- Only cases satisfying both required conditions receive the benefit, and the other three combinations are rejected appropriately.
Explanation
Correct Answer
C:This is the observable acceptance result: Valid scores at 0, 1, 99 and 100 succeed, while -1 and 101 are rejected as outside the defined interval. It follows from the testing approach: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
Incorrect Answers
A:This is an appropriate consideration for a different situation (Decision table infeasible conditions and rule reduction), but it does not directly resolve the one given here. Here, A score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0. The necessary control or test is: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
B:This shortcut is unsafe: Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side. It neglects the relevant behavior: Three-value BVA covers the boundary and its immediately adjacent values on both sides, including valid and invalid values. For the scenario (A score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0.), the required evidence is: Compare responses to the six selected input values against the stated integer range and expected error handling.
D: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 score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0. The necessary control or test is: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
Question 355
A test analyst considers this real project scenario: A score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0. Which misleading assumption about three-value boundary value analysis around each edge MOST directly contributes to this problem and should be rejected? Select ONE best answer.
- Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side.
- Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly.
- Assume a well-formed single-sentence user story contains every rule a tester needs without collaborative clarification.
- Assume testing only ordinary interior values gives effective coverage of off-by-one errors at inclusive limits.
Explanation
Correct Answer
A:The correct principle is: Three-value BVA covers the boundary and its immediately adjacent values on both sides, including valid and invalid values.
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 score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0.
C:This is a misconception related to a different testing issue, namely Collaborative user story three Cs and examples, and is not the most direct assumption behind this case. Here, A score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0.
D:This is a misconception related to a different testing issue, namely Two-value boundary value analysis for inclusive range, and is not the most direct assumption behind this case. Here, A score entry accepts integers 0 through 100 inclusive, and a faulty check excludes the valid value 0.
Question 356
In a software test-design exercise, the following case arises: A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs. 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.
- Use two-value boundary sets just below and at each inclusive boundary, explicitly testing 9 and 10 at the lower edge and 50 and 51 at the upper edge.
- Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side.
- Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
Explanation
Correct Answer
A:This is the appropriate testing action: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit. The case involves A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs.
Incorrect Answers
B: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 score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs. The necessary control or test is: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
C:This shortcut is unsafe: Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side. It neglects the relevant behavior: Three-value BVA covers the boundary and its immediately adjacent values on both sides, including valid and invalid values. For the scenario (A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs.), the required evidence is: Compare responses to the six selected input values against the stated integer range and expected error handling.
D:This is an appropriate consideration for a different situation (Decision table infeasible conditions and rule reduction), but it does not directly resolve the one given here. Here, A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs. The necessary control or test is: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
Question 357
A release manager requests independent testing evidence: A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs. Which principle of software testing BEST explains the problem? Select ONE best answer.
- Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side.
- Statement coverage measures the proportion of executable statements exercised and does not by itself demonstrate all decisions or outcomes.
- Three-value BVA covers the boundary and its immediately adjacent values on both sides, including valid and invalid values.
- Two-value boundary analysis targets adjacent values across each relevant transition where behavior is most likely to differ.
Explanation
Correct Answer
C:This is the relevant underlying rule: Three-value BVA covers the boundary and its immediately adjacent values on both sides, including valid and invalid values. In the situation described, A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs.
Incorrect Answers
A:This shortcut is unsafe: Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side.
B:This is an appropriate consideration for a different situation (Statement coverage of a conditional branch), but it does not directly resolve the one given here. Here, A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs. The necessary control or test is: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
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 score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs.
Question 358
A software quality workshop reviews this situation: A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs. Which specific test or review evidence MOST directly establishes what happened? Select ONE best answer.
- Review class definitions per field, the chosen combination basis, omitted invalid classes and evidence for high-risk interactions.
- Inspect the conditional expression, chosen inputs and instrumentation showing both outcomes were observed.
- Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side.
- Compare responses to the six selected input values against the stated integer range and expected error handling.
Explanation
Correct Answer
D:This check addresses the issue: Compare responses to the six selected input values against the stated integer range and expected error handling. The test should distinguish observed facts from the assumption that assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side.
Incorrect Answers
A: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 score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs.
B: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 score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs.
C:This shortcut is unsafe: Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side. For the scenario (A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs.), the required evidence is: Compare responses to the six selected input values against the stated integer range and expected error handling.
Question 359
A defect investigation documents this situation: A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs. Which observed result BEST demonstrates that the testing activity met its stated objective? Select ONE best answer.
- Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side.
- Valid scores at 0, 1, 99 and 100 succeed, while -1 and 101 are rejected as outside the defined interval.
- The chosen tests explicitly address functional rules, structural paths and historically error-prone behaviors with a stated rationale.
- Representative valid ages are accepted and each invalid partition is rejected according to the age rule.
Explanation
Correct Answer
B:This is the observable acceptance result: Valid scores at 0, 1, 99 and 100 succeed, while -1 and 101 are rejected as outside the defined interval. It follows from the testing approach: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit. The case is: A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs.
Incorrect Answers
A:It neglects the relevant behavior: Three-value BVA covers the boundary and its immediately adjacent values on both sides, including valid and invalid values. For the scenario (A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs.), the required evidence is: Compare responses to the six selected input values against the stated integer range and expected error handling.
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 score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs. The necessary control or test is: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
D:This is an appropriate consideration for a different situation (Equivalence partitioning valid and invalid classes), but it does not directly resolve the one given here. Here, A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs. The necessary control or test is: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
Question 360
A tester and product owner review the following behavior: A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs. Which TWO complementary steps together provide the most appropriate response and a direct test of its effectiveness? Select TWO answers.
- Compare responses to the six selected input values against the stated integer range and expected error handling.
- Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side.
- Compare the transition graph and visited state list with executed ordered state-event pairs and identify uncovered edges.
- Design at least one test that executes the surcharge or adjustment statement and another where needed for other branches, measuring statement execution.
- For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit.
Explanation
Correct Answers
A:This check addresses the issue: Compare responses to the six selected input values against the stated integer range and expected error handling. The test should distinguish observed facts from the assumption that assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side. The intended testing outcome is: Valid scores at 0, 1, 99 and 100 succeed, while -1 and 101 are rejected as outside the defined interval.
E:This is the appropriate testing Recommended action: For a three-value boundary analysis, exercise -1, 0, 1 around the lower limit and 99, 100, 101 around the upper limit. The case involves A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs.
Incorrect Answers
B:This shortcut is unsafe: Assume the boundary itself is sufficient for three-value boundary analysis without testing the adjacent values on either side. It neglects the relevant behavior: Three-value BVA covers the boundary and its immediately adjacent values on both sides, including valid and invalid values. In this scenario: and product owner review the following behavior: A score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs.
C: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 score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs.
D: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 score validator accepts 101 by mistake and the team needs a three-value boundary set rather than random negative inputs.