ISTQB-CTFL Online Practice Questions

Home / ISTQB / ISTQB-CTFL

Latest ISTQB-CTFL Exam Practice Questions

The practice questions for ISTQB-CTFL exam was last updated on 2025-10-03 .

Viewing page 1 out of 27 pages.

Viewing questions 1 out of 137 questions.

Question#1

Which of the following is the main difference between quality assurance (QA) and quality control <QC)?

A. A is the responsibility of everyone on a project, while QC is the responsibility of a dedicated team.
B. A is a process-oriented approach, while QC is a product-oriented approach.
C. A is focused on implementation, while QC is focused on improvement.
D. A is preventive, while QC is corrective.

Question#2

Which is an advantage of using testers that are independent from the development team?

A. Independent testers support the developers with their feedback on coding rules and architecture design.
B. Developers can delegate their sense of responsibility for quality to testers.
C. Independent testers have a different perspective and can find defects that developers miss.
D. Independent testers will identify themselves more with the project and the project goals and have good relations with the development team.

Question#3

Which of the following statements is assigned correctly as a project or product risk?

A. The software does not perform its intended functions according to the specification: this is a project risk.
B. The gradual expansion of the project scope result in significant rework: this is a product risk.
C. The system architecture does not adequately support some of the non-functional requirements: this is a product risk.
D. User experience feedback does not meet product expectations: this is a project risk.

Question#4

A program is used to control a manufacturing line (turn machines on and off. start and stop conveyer belts, add raw materials to the flow. etc.). Not all actions are possible at all times. For example, there are certain manufacturing stages that cannot be stopped - unless there is an emergency. A tester attempts to evaluate if all such cases (where a specific action is not allowed) are covered by the tests.
Which coverage metric will provide the needed information for this analysis?

A. Code coverage
B. Data flow coverage
C. Statement coverage
D. Branch Coverage

Explanation:
Branch coverage is a type of structural coverage metric that measures the percentage of branches or decision outcomes that are executed by the test cases. A branch is a point in the code where the control flow can take two or more alternative paths based on a condition. For example, an if-else statement is a branch that can execute either the if-block or the else-block depending on the evaluation of the condition. Branch coverage ensures that each branch is taken at least once by the test cases, and thus reveals the behavior of the software under different scenarios. Branch coverage is also known as decision coverage or all-edges coverage.
Branch coverage is suitable for testing the cases where a specific action is not allowed, because it can verify that the test cases cover all the possible outcomes of the conditions that determine the action. For example, if the program has a condition that checks if the manufacturing stage can be stopped, then branch coverage can ensure that the test cases cover both the cases where the stage can be stopped and where it cannot be stopped. This way, branch coverage can help identify any missing or incorrect branches that may lead to undesired or unsafe actions.
The other options are not correct because they are not suitable for testing the cases where a specific action is not allowed. Code coverage is a general term that encompasses various types of coverage metrics, such as statement coverage, branch coverage, data flow coverage, etc. Code coverage does not specify which type of coverage metric is used for the analysis. Data flow coverage is a type of structural coverage metric that measures the percentage of data flow paths that are executed by the test cases. A data flow path is a sequence of statements that define, use, or kill a variable. Data flow coverage is useful for testing the correctness and completeness of the data manipulation in the software, but not for testing the conditions that determine the actions. Statement coverage is a type of structural coverage metric that measures the percentage of statements or lines of code that are executed by the test cases. Statement coverage ensures that each statement is executed at least once by the test cases, but it does not reveal the behavior of the software under different scenarios. Statement coverage is a weaker criterion than branch coverage, because it does not account for the branches or decision outcomes in the code. Reference = ISTQB Certified Tester Foundation Level (CTFL) v4.0 syllabus, Chapter 4: Test Techniques, Section 4.3: Structural Testing Techniques, Pages 51-54.

Question#5

Which of the following statements about statement coverage is TRUE?

A. Achieving 90% statement coverage ensures that 90% branch coverage is achieved.
B. Achieving 100% statement coverage ensures that no variable within the code has been used without being initialised.
C. Achieving 100% statement coverage ensures that 100% branch coverage is achieved
D. Achieving 80% statement coverage ensures that 80% of all executable statements within the code have been exercised.

Explanation:
Statement coverage measures the percentage of executable statements that have been exercised by a test suite. Achieving 80% statement coverage means that 80% of the executable code lines have been tested. This metric helps in understanding how much of the code has been covered during testing. However, it does not guarantee branch coverage, variable initialization, or detection of all possible defects. The ISTQB CTFL Syllabus v4.0 explains statement coverage as a measure of the extent to which the code has been tested, without implying other types of coverage or testing goals.

Exam Code: ISTQB-CTFLQ & A: 400 Q&AsUpdated:  2025-10-03

 Get All ISTQB-CTFL Q&As