ISTQB CTFL-2018 Practice Test - Questions Answers, Page 5
List of questions
Related questions
Question 41
What type of test design technique is the most effective in testing screen-dialog flows?
Explanation:
Screen-dialog flows are sequences of screens and dialogs that represent the user interface and interaction of a system.Use case testing is a technique that uses use cases as a test basis to derive test cases1.A use case is a description of interactions between actors and a system to achieve a goal1. Use case testing is the most effective technique in testing screen-dialog flows, as it can capture the user requirements, scenarios, and expected outcomes of the system.Boundary value testing is a technique that uses boundary values as a test basis to derive test cases1.A boundary value is an input value or output value on the edge of an equivalence partition or at the smallest or largest value of a range1. Boundary value testing is not the most effective technique in testing screen-dialog flows, as it is more suitable for testing numerical inputs and outputs.Statement testing and coverage is a technique that uses statements in the source code as a test basis to measure the coverage achieved by a test suite1.A statement is a minimal executable unit of source code1. Statement testing and coverage is not the most effective technique in testing screen-dialog flows, as it is more suitable for testing the internal logic and structure of the code.State transition testing is a technique that uses state transition diagrams as a test basis to derive test cases1.A state transition diagram shows the states of a system and the transitions between them triggered by events or conditions1. State transition testing is not the most effective technique in testing screen-dialog flows, as it is more suitable for testing systems that have complex or dynamic behavior based on different states.
Question 42
What content would be in an incident report if that incident report was based on the IEEE 829 Standard for SoftwareTest Documentation?
(i) Identification of configuration items of the software or system.
(ii) Software or system lifecycle process in which the incident was observed.
(iii) Description of the anomaly to enable reproduction of the incident.
(iv) Number of occurrences of the incident.
(v) Classification of the cause of the incident for metrics and for reporting purposes.
Number of correct answers: 1
Explanation:
According to the IEEE 829 Standard for Software Test Documentation, an incident report should contain the following information:
Identifier: A unique identifier for the incident report
Summary: A brief summary of the incident
Incident description: A description of the incident, including:
Date: The date when the incident was observed
Author: The name of the person who reported the incident
Source: The software or system lifecycle process in which the incident was observed
Test case: The identification of the test case that caused the incident
Execution phase: The phase of test execution when the incident was observed
Environment: The hardware and software environment in which the incident was observed
Description: A description of the anomaly to enable reproduction of the incident
Expected result: The expected result of the test case
Actual result: The actual result of the test case
Reproducibility: An indication of whether the incident can be reproduced or not
Impact analysis: An analysis of the impact of the incident on other aspects of the software or system
Incident resolution: A description of how the incident was resolved, including:
Resolution date: The date when the incident was resolved
Resolver: The name of the person who resolved the incident
Resolution summary: A brief summary of how the incident was resolved
Status: The current status of the incident (e.g., open, closed, deferred)
Classification information: A classification of the cause and effect of the incident for metrics and reporting purposes
Therefore, among the options given in this question, only (i), (iii), and (iv) are part of an incident report based on IEEE 829.
Question 43
''Experience based' test design techniques, typically...
Explanation:
Experience-based test design techniques are techniques that use the skill, intuition, and experience of testers to derive test cases, using error guessing and exploratory testing1.Error guessing is a technique that uses common sense and previous experience to guess where defects might occur in a system1.Exploratory testing is an approach that involves simultaneous learning, test design, and test execution1.Experience-based test design techniques are typically used when there is insufficient information or time to apply other more formal techniques1. They do not use decision tables, identify the structure of the system or software, or establish traceability from test conditions back to the specifications and requirements.
Question 44
Testers are often seen as the bearer of unwanted news regarding defects. What are effective ways to improve the communication and relationship between testers and others?
a) Communicate factual information in a constructive way.
b) Try to understand how the other person feels and why they react the way they do.
c) Always outsource testing activities.
d) Never record information that could be used to apportion blame to an individual or team.
Explanation:
The effective ways to improve the communication and relationship between testers and others are A. a and b. Communicating factual information in a constructive way and trying to understand how the other person feels and why they react the way they do are both important skills for testers to have. Testers often have to report defects and problems that may not be well received by developers or users. Therefore, testers should communicate in a clear, objective, and respectful manner, avoiding personal attacks or blame. Testers should also empathize with the other person's perspective and emotions, and try to resolve any conflicts or misunderstandings in a positive way. A detailed explanation of communication skills for testers can be found in [A Study Guide to the ISTQB Foundation Level 2018 Syllabus], pages 107-108.
Question 45
Which of the following is a valid reason for writing test cases based on experience and intuition? [K1]
Explanation:
A valid reason for writing test cases based on experience and intuition is C. Tests based on experience and intuition can supplement formal techniques. Experience and intuition are valuable sources of test ideas that can help testers to identify potential risks, errors, or scenarios that may not be covered by formal techniques. Formal techniques are systematic methods that use rules or algorithms to derive test cases from the test basis (such as specifications, code, etc.). Formal techniques include black-box techniques (such as equivalence partitioning, boundary value analysis, etc.) and white-box techniques (such as statement coverage, decision coverage, etc.). Formal techniques can provide a high level of coverage and consistency, but they may not be able to capture all possible situations or behaviors of the system or component under test. Therefore, tests based on experience and intuition can supplement formal techniques by adding more diversity and creativity to the test cases. A detailed explanation of experience-based testing techniques can be found in [A Study Guide to the ISTQB Foundation Level 2018 Syllabus], pages 74-76.
Question 46
Which of the following test design techniques is classified as a structure-based (white box) technique? [K1]
Explanation:
A white box testing design technique is D. Statement testing. Statement testing is a white box testing technique that is based on an analysis of the structure of the component or system. Statement testing aims to cover every executable statement in the code at least once by the test cases. Statement testing can help to detect syntax errors, logic errors, or unreachable code in the system or component under test. Statement testing is usually performed at lower levels of testing, such as unit testing or component testing. A detailed explanation of statement testing can be found in [A Study Guide to the ISTQB Foundation Level 2018 Syllabus], pages 68-69.
Question 47
Why is independent testing important? [K1]
Explanation:
Independent testing is important because C. Independent testers can verify assumptions made during specification and implementation of the system. Independent testing refers to testing performed by testers who are not involved in the development or use of the system or component under test. Independent testers can provide an unbiased and objective view of the quality of the system or component under test. Independent testers can also verify assumptions made by developers or users during specification and implementation of the system or component under test. Assumptions are statements that are believed to be true without proof or verification. Assumptions can lead to errors or defects if they are incorrect or inconsistent with reality. Independent testers can help to identify and validate assumptions by using different sources of information, such as requirements, specifications, standards, regulations, etc., and by applying different testing techniques, such as black-box techniques, white-box techniques, etc. A detailed explanation of independent testing can be found in [A Study Guide to the ISTQB Foundation Level 2018 Syllabus], pages 9-10.
Question 48
Which of the following errors CANNOT be found with structure-based testing techniques?
Explanation:
Memory leaks are errors that occur when a program does not release memory that it has allocated, causing the system to run out of memory and slow down or crash. Memory leaks cannot be detected by structure-based testing techniques, which are based on the code structure and logic. Structure-based testing techniques can only find errors that are related to the control flow, data flow, or logic of the program. For example, they can find errors such as features that are only partially implemented, data structures that are used before initialization, or division by zero. To detect memory leaks, you need dynamic analysis tools that monitor the memory usage of the program during execution. You can find more information about structure-based testing techniques and dynamic analysis tools inA Study Guide to the ISTQB Foundation Level 2018 Syllabus, Chapter 4, Sections 4.2 and 4.31.
Question 49
Which of the following is correct?
Explanation:
Testing tools can be used by both developers and testers for different purposes and at different stages of the software development life cycle. For example, developers can use tools such as unit testing frameworks, code coverage tools, debugging tools, static analysis tools, etc., to improve the quality of their code and find defects early. Testers can use tools such as test management tools, test design tools, test execution tools, test data preparation tools, performance testing tools, etc., to support their testing activities and increase their efficiency and effectiveness. The use of testing tools does not necessarily imply test automation, which is the use of software to perform or support test activities that would otherwise require manual intervention. Test automation is a complex and costly process that requires careful planning, design, implementation, maintenance, and evaluation. The use of testing tools also does not change the role of the test team, which is still responsible for defining the test strategy, designing the test cases, analyzing the test results, reporting the defects, etc. You can find more information about testing tools and test automation inA Study Guide to the ISTQB Foundation Level 2018 Syllabus, Chapter 61.
Question 50
The following sentences refer to the Standard for Software Test Documentation' specification (IEEE 829). Which sentence is correct?
Explanation:
The 'Standard for Software Test Documentation' specification (IEEE 829) is a standard that defines a set of documents that can be used to document the test process and its outcomes. The standard provides an outline for each document, specifying its purpose, content, and format. However, the standard does not prescribe how to apply it in different contexts or projects. It is up to each organization or project to decide how to adapt the standard to their specific needs and situation. Therefore, the standard is not a rigid or mandatory requirement that must be followed strictly by all testers. Rather, it is a flexible and adaptable guideline that can be used as a reference or a starting point for creating test documentation regimes. You can find more information about IEEE 829 and test documentation inA Study Guide to the ISTQB Foundation Level 2018 Syllabus, Chapter 51.
Question