Which of the following provides the BEST description of statement coverage?
Correct Answer: C
Explanation Statement coverage is a white-box test technique which focuses on the percentage of executable statements that has been executed by a test suite. This is the best description of statement coverage, as it measures how many statements in the source code have been covered by one or more test cases. Option A is incorrect, as it describes state transition testing, which is a black-box test technique that uses a state table to derive test cases. Option B is incorrect, as it describes error guessing, which is an experience-based test technique in which test cases are based on the tester's knowledge of past failures. Option D is incorrect, as it describes decision coverage, which is a white-box test technique that covers the decision results which determine the next statement to be executed. References: , Section 4.2.2
CTFL_Syll2018 Exam Question 37
What are metrics NOT used for?
Correct Answer: C
Explanation To apply to the RAD development model. Metrics are quantitative measures that can be used to monitor, control, and improve the test process and the quality of the system. Metrics can be used for various purposes, such as to identify the percentage of work done in test environment preparation or test case preparation, to measure whether dates of test milestones were met, to compare actual results with expected results, to evaluate the effectiveness and efficiency of testing, etc. However, metrics are not specific to any development model, such as RAD (Rapid Application Development), and can be applied to any type of software development project. A detailed explanation of metrics can be found in [A Study Guide to the ISTQB Foundation Level 2018 Syllabus], pages 103-105.
CTFL_Syll2018 Exam Question 38
Which of the following BEST describes error guessing?
Correct Answer: A
Explanation The correct answer is A, as it describes error guessing. Error guessing is an experience-based test technique that involves designing tests based on experience, defect data, or common knowledge about why software fails1. Error guessing can be used to complement other more formal test techniques by focusing on areas that are more likely to contain defects1. Option B is incorrect, as error guessing does not involve building test cases based on the various experiences of developers, architects, users, and other stakeholders on project teams, but based on the tester's own experience and knowledge1. Option C is incorrect, as error guessing is not a suitable test technique that can be used effectively in place of more formal techniques, but a supplementary technique that can be used in addition to more formal techniques1. Option D is incorrect, as error guessing is not a valid and useful white-box test technique due to its high degree of statement coverage, but an experience-based test technique that does not rely on the structure of the software1. References: 1, Section 4.2.6
CTFL_Syll2018 Exam Question 39
"Statement Testing" is part of;
Correct Answer: D
Explanation Statement testing is part of structure-based testing, which is a type of testing that verifies the internal structure or implementation of a software system, such as code, architecture, design, etc. Statement testing is a structure-based test technique that involves testing every statement in the code at least once to ensure that there are no syntax errors, logical errors, or hidden defects in the code. Statement testing requires some knowledge of the internal structure or implementation of the software system; it focuses on how the system does what it does rather than what it does. The other types of testing mentioned in the question are not related to statement testing because they do not verify the internal structure or implementation of a software system. For example: A). Experience-based testing: This type of testing relies on the skills, knowledge, intuition, and creativity of testers to design and execute test cases based on their experience with similar systems or situations. B). Decision testing: This type of testing verifies every decision point in the code by testing all possible outcomes or branches of each decision point to ensure that there are no logical errors or hidden defects in the code. C). Specification-based testing: This type of testing verifies the external behavior or functionality of a software system based on its requirements, specifications, design documents, or other sources of information. You can find more information about statement testing and structure-based testing in [A Study Guide to the ISTQB Foundation Level 2018 Syllabus], Chapter 4, Section 4.3.
CTFL_Syll2018 Exam Question 40
A software company adopts the V-model as their development life cycle. Which of the following contains roles of a tester in this company?
Correct Answer: C
Explanation The V-model is a development life cycle model that shows the relationship between each phase of development and its corresponding phase of testing. In this model, each level of testing (unit testing, integration testing, system testing, acceptance testing) has a corresponding level of development (component design, component integration, system design, requirements analysis). The model also shows that testing activities should start as early as possible in the development process and that each level of testing should be planned and designed in parallel with its corresponding level of development. Therefore, one of the roles of a tester in a software company that adopts the V-model is to coordinate the test strategy with the project managers who are responsible for planning and managing each phase of development. This role involves defining the scope, objectives, approach, resources, schedule, risks, and deliverables of each level of testing in alignment with the development plan and the project requirements. You can find more information about the V-model and test planning in Software Testing Foundations: A Study Guide for the Certified Tester Exam, Chapter 22.