ISTQB-CTFL Dumps

ISTQB-CTFL Free Practice Test

ISTQB ISTQB-CTFL: ISTQB-Foundation Level Exam

QUESTION 66

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

Correct 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.References:ISTQB Certified Tester Foundation Level Syllabus v4.0, Section 3.2.4 "Roles and Responsibilities in a Formal Review".

QUESTION 67

Which of the following sentences describe a product risk?

Correct Answer: A
This question relates to identifying product risks, which are potential problems associated with the product itself, such as software functionality, reliability, usability, and performance. Option A describes a scenario where the application might not meet performance requirements under specific conditions (up to 300 concurrent users), which directly impacts the product's ability to perform its intended function. This is a classic example of a product risk, as it concerns the product's quality and its ability to meet user needs. Options B, C, and D, on the other hand, relate to project risks, which are concerns related to the management and execution of the project, such as tool acquisition, environment configuration, and team expertise, rather than the quality of the product itself.

QUESTION 68

Which of the following coverage criteria results in the highest coverage for state transition based test cases?

Correct Answer: B
Covering all transitions at least once is the highest coverage criterion for state transition based test cases, because it ensures that every possible change of state is tested at least once. This means that all the events that trigger the transitions, as well as the actions and outputs that result from the transitions, are verified. Covering all transitions at least once also implies covering all states at least once, but not vice versa. Therefore, option D is not the highest coverage criterion. Option C is the lowest coverage criterion, because it only tests the initial and final states of the system or component, without checking the intermediate states or transitions. Option A is incorrect, because the coverage criteria for state transition based test cases can be determined and compared based on the number of transitions and states covered. References = CTFL 4.0 Syllabus, Section 4.2.3, page 49-50.

QUESTION 69

For the following pseudo-code determine number of tests required for 100% statement coverage
IF Gender = Boy
If Age > 3 AND Age < 5 xss=removed>ELSE IF Age >=5 AND Age < 7>Shoe Size = 2 ENDIF
ELSE
IF Age > 3 AND Age < 5>Shoe Size = 0
ELSE IF Age >=5 AND Age < 7>Shoe Size = 1 ENDIF ENDIF

Correct Answer: B
To achieve 100% statement coverage, we need to design test cases that ensure every statement in the given pseudo-code is executed at least once. Analyzing the pseudo-code, we notice that there are conditions based on two variables: Gender and Age. To cover all statements, we need to consider the paths that lead to each assignment of the Shoe Size variable.
✑ Gender = Boy, Age <= 3 (Shoe Size assignment is not reached, but the condition is evaluated)
✑ Gender = Boy, Age > 3 AND Age < 5 xss=removed>✑ Gender = Boy, Age >= 5 AND Age < 7 xss=removed>✑ Gender != Boy, Age <= 3 (Again, Shoe Size assignment is not reached, but the condition is evaluated)
✑ Gender != Boy, Age > 3 AND Age < 5 xss=removed>✑ Gender != Boy, Age >= 5 AND Age < 7 xss=removed>However, upon closer inspection, we see that tests 1 and 4 do not contribute to statement coverage as they do not lead to a Shoe Size assignment. Therefore, we only need 4 test cases to achieve 100% statement coverage, making option B the correct answer.

QUESTION 70

What is 'Component Testing'?

Correct Answer: D
Component testing is a test level. A test level is a group of test activities that are organized and managed together based on some common characteristics or objectives. A test level can be defined based on various factors, such as the scope and target of testing, the phase and model of development, the stakeholders and roles involved in testing, etc. Component testing (also known as unit testing or module testing) is a test level that focuses on verifying the functionality and quality of individual software components (such as modules, classes, functions, methods, etc.). Component testing can be performed by developers or testers using various techniques and tools depending on the type and complexity of the components. The other options are not test levels. Integration testing is another test level that focuses on verifying the functionality and quality of groups of software components that interact with each other or with external systems. Functional testing is a type of black-box dynamic testing that verifies that the system under test performs its intended functions according to its requirements or specifications.
Experience-based testing is a category of test design techniques that rely on the tester’s knowledge and intuition to derive and select test cases based on their experience with similar systems, technologies, domains, risks, etc. Verified References: A Study Guide to the ISTQB® Foundation Level 2018 Syllabus - Springer, page 19.