Certified Tester Foundation Level (CTFL) v4.0 CTFL v4.0 Practice Test 61
Question 600
When responding to 'A test suite produces high statement coverage but avoids an important validation branch.', what important boundary should accompany 'Use branch analysis in addition to statement coverage for the conditional behavior.'?
- Do not use statement counts to claim full branch coverage.
- Never claim branch testing proves all Boolean subexpression combinations.
- Branch coverage is not the same as exhaustive path coverage.
- An untestable statement cannot reliably serve as a signoff condition.
Explanation
Correct Answer
A:Correct. This boundary remains necessary even after the team performs Use branch analysis in addition to statement coverage for the conditional behavior. The relevant acceptance observation is Branch reporting identifies the missing false outcome despite a high statement metric.
Incorrect Answers
B:This precaution addresses the separate condition 'A team says it has all conditions covered after testing one AND expression outcome only.', not the main collateral risk of Use branch analysis in addition to statement coverage for the conditional behavior. The applicable boundary is Do not use statement counts to claim full branch coverage.
C:The proposed safeguard concerns Branch coverage is exercised branch outcomes divided by total branch outcomes. The current case instead requires respecting Do not use statement counts to claim full branch coverage.
D:This precaution addresses the separate condition 'A team writes acceptance criteria only as 'The application should be intuitive and fast.'', not the main collateral risk of Use branch analysis in addition to statement coverage for the conditional behavior. The applicable boundary is Do not use statement counts to claim full branch coverage.
Question 601
An ISTQB Foundation Level candidate reviews this case: A service has 12 reachable branch outcomes, of which tests execute 9. Which testing concept BEST explains the main quality-control concern?
- Statement testing and coverage: Statement coverage is the fraction of executable statements exercised, not the number of passing assertions.
- Branch testing and coverage: Branch coverage is exercised branch outcomes divided by total branch outcomes.
- Statement testing and coverage: Statement coverage measures exercised executable code statements, irrespective of pass/fail test verdict counts.
- Statement testing and coverage: A high statement metric can conceal missing decision outcomes in the same code.
Explanation
Correct Answer
B:Correct. Branch coverage is exercised branch outcomes divided by total branch outcomes. This matches the official objective 'FL-4.3.2' about Branch testing and coverage. A practical response is Report nine of twelve as 75 percent and identify the three missing outcomes.
Incorrect Answers
A:“Statement testing and coverage: Statement coverage is the fraction of executable statements exercised, not the number of passing assertions” is relevant to another testing situation: A component runs 18 of 24 executable statements in its test suite, but the team reports 100 percent coverage. The current case is explained more directly by “Branch testing and coverage: Branch coverage is exercised branch outcomes divided by total branch outcomes”.
C:“Statement testing and coverage: Statement coverage measures exercised executable code statements, irrespective of pass/fail test verdict counts” is relevant to another testing situation: A developer confuses statement coverage with counting all test scripts that completed successfully. The current case is explained more directly by “Branch testing and coverage: Branch coverage is exercised branch outcomes divided by total branch outcomes”.
D:“Statement testing and coverage: A high statement metric can conceal missing decision outcomes in the same code” is relevant to another testing situation: A test suite produces high statement coverage but avoids an important validation branch. The current case is explained more directly by “Branch testing and coverage: Branch coverage is exercised branch outcomes divided by total branch outcomes”.
Question 602
An ISTQB CTFL assessment describes: A service has 12 reachable branch outcomes, of which tests execute 9. Which diagnosis fits the case most specifically?
- Statement coverage measures exercised executable code statements, irrespective of pass/fail test verdict counts.
- Structural code and branch information guide white-box testing.
- Branch coverage is exercised branch outcomes divided by total branch outcomes.
- Statement coverage is the fraction of executable statements exercised, not the number of passing assertions.
Explanation
Correct Answer
C:Correct. The causal testing rationale is Branch coverage is exercised branch outcomes divided by total branch outcomes. The relevant action is Report nine of twelve as 75 percent and identify the three missing outcomes. Evidence should show The measurement states three uncovered branches rather than claiming complete logical coverage.
Incorrect Answers
A:“Statement coverage measures exercised executable code statements, irrespective of pass/fail test verdict counts” belongs to a different testing problem with this response: Instrument code and report executed unique statements against all executable statements. The current question instead supports “Branch coverage is exercised branch outcomes divided by total branch outcomes”.
B:This describes a different testing issue: A developer selects inputs after inspecting a boolean branch that is not reached by existing tests. The actual observation is more directly explained by Branch coverage is exercised branch outcomes divided by total branch outcomes.
D:“Statement coverage is the fraction of executable statements exercised, not the number of passing assertions” belongs to a different testing problem with this response: Calculate executed statements divided by total executable statements and identify unexecuted statements. The current question instead supports “Branch coverage is exercised branch outcomes divided by total branch outcomes”.
Question 603
An ISTQB Foundation scenario states: A service has 12 reachable branch outcomes, of which tests execute 9. How should the team proceed?
- Calculate executed statements divided by total executable statements and identify unexecuted statements.
- Use explicit precondition, event and observable outcome in the scenario-based rule.
- Update the checklist using the new authentication requirement and incident history.
- Report nine of twelve as 75 percent and identify the three missing outcomes.
Explanation
Correct Answer
D:Correct. This action addresses the precise issue because Branch coverage is exercised branch outcomes divided by total branch outcomes. Its observable acceptance result is The measurement states three uncovered branches rather than claiming complete logical coverage.
Incorrect Answers
A:The suggested action addresses 'Statement coverage is the fraction of executable statements exercised, not the number of passing assertions.', a separate fault. The present situation calls for Report nine of twelve as 75 percent and identify the three missing outcomes.
B:This step would help the different situation 'A team documents 'Given a customer has verified identity, when a withdrawal is submitted, then approval is recorded.'', not the case here. The stated problem requires Report nine of twelve as 75 percent and identify the three missing outcomes.
C:The suggested action addresses 'A static checklist can become incomplete when product scope changes.', a separate fault. The present situation calls for Report nine of twelve as 75 percent and identify the three missing outcomes.
Question 604
For this condition—A service has 12 reachable branch outcomes, of which tests execute 9.—the selected response is 'Report nine of twelve as 75 percent and identify the three missing outcomes.'. Which result should validate it?
- The report accurately shows 75 percent statement coverage with six statements still unexecuted.
- The missing refund rule is identified from the test basis despite full branch coverage.
- The chosen classes follow the age specification rather than source-code paths.
- The measurement states three uncovered branches rather than claiming complete logical coverage.
Explanation
Correct Answer
D:Correct. This evidence validates the claimed response (Report nine of twelve as 75 percent and identify the three missing outcomes.). The underlying testing issue was Branch coverage is exercised branch outcomes divided by total branch outcomes.
Incorrect Answers
A:“The report accurately shows 75 percent statement coverage with six statements still unexecuted” examines the separate dependency that statement coverage is the fraction of executable statements exercised, not the number of passing assertions. The directly applicable result for this question is “The measurement states three uncovered branches rather than claiming complete logical coverage”.
B:This result may validate another scenario: A public web API has complete branch coverage but omits a legally required refund policy. It does not prove the current fix Report nine of twelve as 75 percent and identify the three missing outcomes. achieved its intended effect of The measurement states three uncovered branches rather than claiming complete logical coverage.
C:“The chosen classes follow the age specification rather than source-code paths” examines the separate dependency that specification-derived partitions are a black-box technique because they do not require internal program structure. The directly applicable result for this question is “The measurement states three uncovered branches rather than claiming complete logical coverage”.
Question 605
When responding to 'A service has 12 reachable branch outcomes, of which tests execute 9.', what important boundary should accompany 'Report nine of twelve as 75 percent and identify the three missing outcomes.'?
- Do not use statement counts to claim full branch coverage.
- Branch coverage is not the same as exhaustive path coverage.
- Running every statement once does not imply full path or requirement coverage.
- Statement coverage cannot establish that all decision outcomes were taken.
Explanation
Correct Answer
B:Correct. The safeguard prevents an unsafe or overstated outcome during Report nine of twelve as 75 percent and identify the three missing outcomes. The source issue is Branch coverage is exercised branch outcomes divided by total branch outcomes.
Incorrect Answers
A:The proposed safeguard concerns A high statement metric can conceal missing decision outcomes in the same code. The current case instead requires respecting Branch coverage is not the same as exhaustive path coverage.
C:This precaution addresses the separate condition 'A service contains a rarely used error-handling statement that no test reaches.', not the main collateral risk of Report nine of twelve as 75 percent and identify the three missing outcomes. The applicable boundary is Branch coverage is not the same as exhaustive path coverage.
D:The proposed safeguard concerns Statement coverage is the fraction of executable statements exercised, not the number of passing assertions. The current case instead requires respecting Branch coverage is not the same as exhaustive path coverage.
Question 606
An ISTQB Foundation Level candidate reviews this case: A test engineer examines component call relationships to find an integration connection never exercised by tests. Which testing concept BEST explains the main quality-control concern?
- Statement testing and coverage: Statement coverage is the fraction of executable statements exercised, not the number of passing assertions.
- Distinguishing black-box, white-box and experience-based techniques: Structural code and branch information guide white-box testing.
- Value and limitations of white-box testing: White-box understanding may cover architecture and workflows, not only source statements.
- Distinguishing black-box, white-box and experience-based techniques: Specification-derived partitions are a black-box technique because they do not require internal program structure.
Explanation
Correct Answer
C:Correct. Under CTFL terminology, White-box understanding may cover architecture and workflows, not only source statements. The associated practical testing action is Use known internal call structure to find missing interaction coverage and add cases.
Incorrect Answers
A:“Statement testing and coverage: Statement coverage is the fraction of executable statements exercised, not the number of passing assertions” is relevant to another testing situation: A component runs 18 of 24 executable statements in its test suite, but the team reports 100 percent coverage. The current case is explained more directly by “Value and limitations of white-box testing: White-box understanding may cover architecture and workflows, not only source statements”.
B:“Distinguishing black-box, white-box and experience-based techniques: Structural code and branch information guide white-box testing” is relevant to another testing situation: A developer selects inputs after inspecting a boolean branch that is not reached by existing tests. The current case is explained more directly by “Value and limitations of white-box testing: White-box understanding may cover architecture and workflows, not only source statements”.
D:“Distinguishing black-box, white-box and experience-based techniques: Specification-derived partitions are a black-box technique because they do not require internal program structure” is relevant to another testing situation: A web-service tester designs cases solely from the published allowed age bands and expected outcomes. The current case is explained more directly by “Value and limitations of white-box testing: White-box understanding may cover architecture and workflows, not only source statements”.
Question 607
An ISTQB CTFL assessment describes: A test engineer examines component call relationships to find an integration connection never exercised by tests. Which diagnosis fits the case most specifically?
- Statement coverage is the fraction of executable statements exercised, not the number of passing assertions.
- White-box understanding may cover architecture and workflows, not only source statements.
- Statement coverage measures exercised executable code statements, irrespective of pass/fail test verdict counts.
- Structural code and branch information guide white-box testing.
Explanation
Correct Answer
B:Correct. This cause directly explains the supplied situation: White-box understanding may cover architecture and workflows, not only source statements. Confirm the response by checking that A previously unobserved component interaction is exercised and measured.
Incorrect Answers
A:This describes a different testing issue: A component runs 18 of 24 executable statements in its test suite, but the team reports 100 percent coverage. The actual observation is more directly explained by White-box understanding may cover architecture and workflows, not only source statements.
C:“Statement coverage measures exercised executable code statements, irrespective of pass/fail test verdict counts” belongs to a different testing problem with this response: Instrument code and report executed unique statements against all executable statements. The current question instead supports “White-box understanding may cover architecture and workflows, not only source statements”.
D:This describes a different testing issue: A developer selects inputs after inspecting a boolean branch that is not reached by existing tests. The actual observation is more directly explained by White-box understanding may cover architecture and workflows, not only source statements.
Question 608
An ISTQB Foundation scenario states: A test engineer examines component call relationships to find an integration connection never exercised by tests. How should the team proceed?
- Classify the selection as white-box because internal control flow drives the case choice.
- Use branch analysis in addition to statement coverage for the conditional behavior.
- Set expectations for coverage and record actual tests rather than enforcing imaginary precision.
- Use known internal call structure to find missing interaction coverage and add cases.
Explanation
Correct Answer
D:Correct. CTFL expects this practical response when White-box understanding may cover architecture and workflows, not only source statements. The team can validate it by seeing A previously unobserved component interaction is exercised and measured.
Incorrect Answers
A:This step would help the different situation 'A developer selects inputs after inspecting a boolean branch that is not reached by existing tests.', not the case here. The stated problem requires Use known internal call structure to find missing interaction coverage and add cases.
B:The suggested action addresses 'A high statement metric can conceal missing decision outcomes in the same code.', a separate fault. The present situation calls for Use known internal call structure to find missing interaction coverage and add cases.
C:This step would help the different situation 'A manager expects identical test sequences from all testers using a high-level acceptance checklist.', not the case here. The stated problem requires Use known internal call structure to find missing interaction coverage and add cases.
Question 609
For this condition—A test engineer examines component call relationships to find an integration connection never exercised by tests.—the selected response is 'Use known internal call structure to find missing interaction coverage and add cases.'. Which result should validate it?
- The loop-entry decision shows both entering and skipping outcomes exercised.
- Test inputs can be mapped to specific previously unexercised control-flow branches.
- The coverage percentage changes when previously unexecuted code runs, not merely when more tests pass.
- A previously unobserved component interaction is exercised and measured.
Explanation
Correct Answer
D:Correct. The observation proves the testing activity addressed White-box understanding may cover architecture and workflows, not only source statements. This is more meaningful than a status report without evidence of A previously unobserved component interaction is exercised and measured.
Incorrect Answers
A:This result may validate another scenario: A loop has a path that skips the body, but tests always iterate at least once. It does not prove the current fix Use known internal call structure to find missing interaction coverage and add cases. achieved its intended effect of A previously unobserved component interaction is exercised and measured.
B:“Test inputs can be mapped to specific previously unexercised control-flow branches” examines the separate dependency that structural code and branch information guide white-box testing. The directly applicable result for this question is “A previously unobserved component interaction is exercised and measured”.
C:This result may validate another scenario: A developer confuses statement coverage with counting all test scripts that completed successfully. It does not prove the current fix Use known internal call structure to find missing interaction coverage and add cases. achieved its intended effect of A previously unobserved component interaction is exercised and measured.
Question 610
When responding to 'A test engineer examines component call relationships to find an integration connection never exercised by tests.', what important boundary should accompany 'Use known internal call structure to find missing interaction coverage and add cases.'?
- Checklists should be maintained as risks and functionality evolve.
- Statement coverage cannot establish that all decision outcomes were taken.
- Architecture-based testing still needs functional expected outcomes.
- Experience-based tests should complement rather than replace systematic design.
Explanation
Correct Answer
C:Correct. This boundary remains necessary even after the team performs Use known internal call structure to find missing interaction coverage and add cases. The relevant acceptance observation is A previously unobserved component interaction is exercised and measured.
Incorrect Answers
A:This precaution addresses the separate condition 'An onboarding workflow must satisfy a short list of common security, usability and accessibility checks.', not the main collateral risk of Use known internal call structure to find missing interaction coverage and add cases. The applicable boundary is Architecture-based testing still needs functional expected outcomes.
B:The proposed safeguard concerns Statement coverage is the fraction of executable statements exercised, not the number of passing assertions. The current case instead requires respecting Architecture-based testing still needs functional expected outcomes.
D:This precaution addresses the separate condition 'A veteran tester suspects passwords containing whitespace will expose defects based on past incidents.', not the main collateral risk of Use known internal call structure to find missing interaction coverage and add cases. The applicable boundary is Architecture-based testing still needs functional expected outcomes.