ISTQB-CTFL ISTQB Certified Tester Foundation Level v4.0 Exam Practice Test

Page: 1 / 14
Total 327 questions
Question 1

Which of the following CORRECTLY matches the roles and responsibilities in a formal review?



Answer : B

In formal reviews, the scribe's role is to collate potential defects and other findings during the review process. This position is crucial as it ensures all observations and defects are recorded accurately, facilitating efficient analysis and resolution of issues identified during the review.


ISTQB Certified Tester Foundation Level Syllabus v4.0, Section 3.2.4 'Roles and Responsibilities in a Formal Review'.

Question 2

After being in operation for many years, a document management system must be decommissioned as it has reached its end of life. This system will not be replaced by any other new system. A legal obligation provides that all documents within the system must be kept for at least 20 years in a state archive. Which of the following statements about maintenance testing for decommissioning of this system is TRUE?



Answer : B

Data migration testing is a critical part of maintenance testing during the decommissioning of a system. When a system is decommissioned, data often needs to be transferred to another system or archived securely. This process ensures that the data remains intact, accessible, and secure in its new location. Therefore, statement B is true as it aligns with the ISTQB CTFL syllabus guidelines on handling system decommissioning and data preservation.


Question 3

Scenario 1 ''Happy Tomatoes'' (used for questions 20-22):

An intelligent application for agricultural use incorporates temperature sensors located at different points of an enclosure. The sensors measure and record the temperature at regular intervals and extract the statistical values for these measurements. These values include the average daily temperature.

A new variety of tomatoes is currently being grown and the ''World Organization for Happy Tomatoes'' has established temperature ranges related to vegetative development.

When the system establishes that the average temperature is within a specific range, it emits a value that will be used to monitor and control the crop.

Using the equivalence partitioning technique, identify the set of input values that provides the HIGHEST coverage.



Answer : C

Comprehensive and Detailed In-Depth Explanation:

Equivalence partitioning (EP) divides input values into classes where test cases represent all possible values of each partition. The partitions in this scenario are:

7 (too cold W)

8-21 (standstill X)

22-29 (ideal Y)

30 (too hot Z)

Option C ({7,10,25,29}) covers all partitions by selecting representative values:

7 Too cold (W)

10 Standstill (X)

25 Ideal (Y)

29 Upper boundary of ideal (Y)

Other options do not cover all partitions adequately.


Question 4

Use Scenario 1 ''Happy Tomatoes'' (from the previous question).

Using the Boundary Value Analysis (BVA) technique (in its two-point variant), identify the set of input values that provides the HIGHEST coverage.



Answer : A

Comprehensive and Detailed In-Depth Explanation:

Boundary Value Analysis (BVA) focuses on test cases at the edges of partitions because defects often occur at boundaries. The temperature ranges are:

7 (Too cold W)

[8-21] (Standstill X)

[22-29] (Ideal Y)

30 (Too hot Z)

A two-point BVA means testing both the lower and upper boundary values of each partition.

The correct selection {7,8,21,22,29,30} includes:

7 Boundary of Too Cold (W)

8 Lower boundary of Standstill (X)

21 Upper boundary of Standstill (X)

22 Lower boundary of Ideal (Y)

29 Upper boundary of Ideal (Y)

30 Lower boundary of Too Hot (Z)

This ensures maximum boundary coverage.


Question 5

Scenario 2 ''Big Drop'':

A company ''The Big Drop'' provides bulk discounts and frequent customer discounts as follows:

How many possible decision rules can be extracted from this table?



Answer : B

Comprehensive and Detailed In-Depth Explanation:

Decision rules define possible combinations of conditions and outcomes.

For this scenario:

Bulk discount has 3 categories (0%, 5%, 10%)

Frequent customer discount has 2 categories (Yes = +5%, No = 0%)

The total number of decision rules is:

3 bulk discount options 2 frequent customer options = 6 rules.

Thus, the correct answer is 6 decision rules (B).


Question 6

Which of the following is a CORRECT statement about how a tester should communicate about defects, test results, and other test information?



Answer : B

Communication from testers about defects, test results, and other test information should emphasize the benefits of testing such as increased quality and reduced risk. This positive framing helps in reinforcing the value of testing and ensuring stakeholders understand the contribution of testing to the overall project success (ISTQB not-for-profit association).


ISTQB Certified Tester Foundation Level Syllabus v4.0: https://istqb-main-web-prod.s3.amazonaws.com/media/documents/ISTQB_CTFL_Syllabus-v4.0.pdf

Question 7

During component testing of a program if 100% decision coverage is achieved, which of the following coverage criteria is also guaranteed to be 100%?



Answer : D

Statement coverage is a structural coverage metric that measures the percentage of executable statements in the source code that are executed by a test suite1. Decision coverage is another structural coverage metric that measures the percentage of decision outcomes (such as branches or conditions) in the source code that are executed by a test suite1. Decision coverage is a stronger metric than statement coverage, because it requires that every possible outcome of each decision is tested, while statement coverage only requires that every statement is executed at least once2. Therefore, if a test suite achieves 100% decision coverage, it also implies that it achieves 100% statement coverage, because every statement in every branch or condition must have been executed. However, the converse is not true: 100% statement coverage does not guarantee 100% decision coverage, because some branches or conditions may have multiple outcomes that are not tested by the test suite2. For example, consider the following pseudocode:

if (x > 0) then print(''Positive'') else print(''Non-positive'') end if

A test suite that executes this code with x = 1 and x = -1 will achieve 100% statement coverage, because both print statements are executed. However, it will not achieve 100% decision coverage, because the condition x > 0 has only been tested with two outcomes: true and false. The third possible outcome, x = 0, has not been tested by the test suite. Therefore, the test suite may miss a potential bug or error in the condition or the branch.

The other options, such as stale transition coverage, equivalence class coverage, and boundary value coverage, are not guaranteed to be 100% by achieving 100% decision coverage. Stale transition coverage is a structural coverage metric that measures the percentage of transitions between states in a state machine that are executed by a test suite3. Equivalence class coverage is a functional coverage metric that measures the percentage of equivalence classes (or partitions) of input or output values that are tested by a test suite4. Boundary value coverage is another functional coverage metric that measures the percentage of boundary values (or extreme values) of input or output ranges that are tested by a test suite4. These metrics are independent of decision coverage, because they are based on different aspects of the system under test, such as its behavior, functionality, or specification. Therefore, achieving 100% decision coverage does not imply achieving 100% of any of these metrics, and vice versa. Reference = ISTQB Certified Tester Foundation Level Syllabus v4.0, Test Coverage in Software Testing - Guru99, Structural Coverage Metrics - MATLAB & Simulink - MathWorks India, Test Design Coverage in Software Testing - GeeksforGeeks.


Page:    1 / 14   
Total 327 questions