ExamGecko
Home Home / ISTQB / CTFL4

ISTQB CTFL4 Practice Test - Questions Answers, Page 6

Question list
Search
Search

Related questions











Which of the following statements contradicts the general principles of testing?

A.
Most defects are found in a small subset of a system's modules.
A.
Most defects are found in a small subset of a system's modules.
Answers
B.
If new defects are to be found we should run the same test set more often.
B.
If new defects are to be found we should run the same test set more often.
Answers
C.
Testing is better if it starts at the beginning of a project.
C.
Testing is better if it starts at the beginning of a project.
Answers
D.
How testing is done, is based on the situation in a particular project.
D.
How testing is done, is based on the situation in a particular project.
Answers
Suggested answer: B

Explanation:

Statement B contradicts the general principles of testing, because running the same test set more often will not increase the chances of finding new defects, unless there are some changes in the system or environment that affect the test results. Running different test sets with different inputs, outputs or conditions would be more effective in finding new defects. Statements A, C and D are consistent with the general principles of testing. Statement A states that most defects are found in a small subset of a system's modules, which is true according to the defect clustering principle. Statement C states that testing is better if it starts at the beginning of a project, which is true according to the early testing principle. Statement D states that how testing is done, is based on the situation in a particular project, which is true according to the context-dependent testing principle. Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, pages 4-6.

Which of the following is true about Oracles?

A.
Sometimes old version of a product can be used as an Oracle
A.
Sometimes old version of a product can be used as an Oracle
Answers
B.
Oracles help in reproducing the irreproducible bugs
B.
Oracles help in reproducing the irreproducible bugs
Answers
C.
Oracles are derived from the design
C.
Oracles are derived from the design
Answers
D.
Oracles can be generated automatically using data generators
D.
Oracles can be generated automatically using data generators
Answers
Suggested answer: A

Explanation:

An oracle is a mechanism or source that can provide the expected result for a given test input or situation. Sometimes old version of a product can be used as an oracle, if it is assumed that the old version behaves correctly for the test cases that are executed on the new version. This is also known as back-to-back testing. Oracles do not help in reproducing the irreproducible bugs, as they only provide the expected results, not the actual results. Oracles are not derived from the design, but from the requirements or specifications. Oracles cannot be generated automatically using data generators, as data generators only provide test inputs, not test outputs. Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, page 9.

Which type of software development product can undergo static testing?

A.
Any software development product can undergo static testing, including requirements specifications, design specifications and code.
A.
Any software development product can undergo static testing, including requirements specifications, design specifications and code.
Answers
B.
Static tests should be performed on the installation and user guide documents as these documents are used by the end user.
B.
Static tests should be performed on the installation and user guide documents as these documents are used by the end user.
Answers
C.
Static testing is done only on the code as part of the 'code review' sessions Other documents are reviewed, but not by static testing.
C.
Static testing is done only on the code as part of the 'code review' sessions Other documents are reviewed, but not by static testing.
Answers
D.
Static testing is done only on the requirements You need to execute the software in order to find defects in the code.
D.
Static testing is done only on the requirements You need to execute the software in order to find defects in the code.
Answers
Suggested answer: A

Explanation:

Static testing is a form of testing that does not involve executing the software, but rather analyzing it for defects, errors, or violations of standards. Static testing can be applied to any software development product, including requirements specifications, design specifications, code, test cases, test plans, user manuals, etc. Static testing can be done by using various techniques such as reviews, inspections, walkthroughs, checklists, static analysis tools, etc. Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, page 7.

The following incident report that was generated during test of a web application.

What would you suggest as the most important report improvement?

Defect detected date: 15 8.2010

Defect detected by: Joe Smith

Test level System test

Test case: Area 5/TC 98

Build version: 2011-16.2

Defect description After having filled out all required fields in screen 1, t click ENTER to continue to screen 2 Nothing happens, no system response at all.

A.
Add information about which web browser was used
A.
Add information about which web browser was used
Answers
B.
Add information about which developer should fix the bug
B.
Add information about which developer should fix the bug
Answers
C.
Add the time stamp when the incident happened
C.
Add the time stamp when the incident happened
Answers
D.
Add an impact analysis
D.
Add an impact analysis
Answers
Suggested answer: A

Explanation:

The most important report improvement for the given incident report would be to add information about which web browser was used when the defect was detected. This information is relevant for reproducing and debugging the defect, as different web browsers may have different behaviors or compatibility issues with the web application. The other options are less important or irrelevant for the incident report. The developer who should fix the bug can be assigned by the project manager or the defect tracking system, not by the tester who reports the defect. The time stamp when the incident happened is not very useful, as it does not indicate the cause or the frequency of the defect. The impact analysis is not part of the incident report, but rather of the risk assessment or prioritization process. Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, page 140.

Which of the following statements is LEAST likely to be describing component testing?

A.
It identifies defects in modules and classes.
A.
It identifies defects in modules and classes.
Answers
B.
Simulators and stubs may be required.
B.
Simulators and stubs may be required.
Answers
C.
It mainly tests interfaces and interaction between components.
C.
It mainly tests interfaces and interaction between components.
Answers
D.
It may be applied using a test-first approach.
D.
It may be applied using a test-first approach.
Answers
Suggested answer: C

Explanation:

Component testing (also known as unit testing or module testing) is a level of testing that focuses on verifying the functionality and quality of individual software components (such as modules, classes, functions, methods, etc.). Component testing mainly tests interfaces and interaction between components, as well as internal logic and data structures of the components. Component testing may be applied using a test-first approach (such as test-driven development or behavior-driven development), where tests are written before the code is implemented. Component testing does not identify defects in modules and classes, as this is a result of component testing, not an objective. Simulators and stubs may be required for component testing, as they can simulate or replace missing or incomplete components or external systems that are needed for testing. Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, page 19.

Which of the following is NOT a common objective of testing?

A.
Finding defects in the software
A.
Finding defects in the software
Answers
B.
Preventing defects
B.
Preventing defects
Answers
C.
Debugging the software to find the reason for defects
C.
Debugging the software to find the reason for defects
Answers
D.
Providing information on the status of the system
D.
Providing information on the status of the system
Answers
Suggested answer: C

Explanation:

Debugging the software to find the reason for defects is not a common objective of testing, but rather a task of development or maintenance. Debugging is a process of locating and fixing errors in the software code, while testing is a process of finding and reporting defects in the software behavior or quality. Testing does not aim to fix defects, but rather to provide information on their existence and impact. The other options are common objectives of testing. Finding defects in the software is one of the main objectives of testing, as it helps to improve the quality and reliability of the software. Preventing defects is another objective of testing, as it helps to avoid rework and reduce costs and risks. Providing information on the status of the system is another objective of testing, as it helps to support decision making and risk management. Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, page 3.

A Static analysis tool analyzes a given program's CONTROL FLOW among other things. Which of the following options represents the most likely outcome of the control flow analysis:

A.
Identification of unreachable code
A.
Identification of unreachable code
Answers
B.
Report on adherence to the coding standards
B.
Report on adherence to the coding standards
Answers
C.
Number of comment lines
C.
Number of comment lines
Answers
D.
Number of source code lines
D.
Number of source code lines
Answers
Suggested answer: A

Explanation:

A static analysis tool is a tool that analyzes a given program's source code or executable code without executing it. A static analysis tool can perform various types of analysis on a program's code, such as syntax checking, data flow analysis, control flow analysis, complexity measurement, coding standards compliance checking, etc. Control flow analysis is a type of analysis that examines how a program's statements are executed in different paths or branches. One of the most likely outcomes of control flow analysis is identification of unreachable code, which is code that can never be executed due to logical errors or design flaws. Unreachable code can reduce readability and maintainability of the code, as well as increase complexity and size. The other options are not outcomes of control flow analysis, but rather outcomes of other types of analysis. Report on adherence to coding standards is an outcome of coding standards compliance checking. Number of comment lines and number of source code lines are outcomes of complexity measurement. Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, page 8.

Which of the following tools is most likely to detect defects in functions or methods in source code?

A.
configuration management tool
A.
configuration management tool
Answers
B.
unit test framework tool
B.
unit test framework tool
Answers
C.
test design tool
C.
test design tool
Answers
D.
monitoring tool
D.
monitoring tool
Answers
Suggested answer: B

Explanation:

A unit test framework tool is a tool that supports the creation, execution, and reporting of unit tests, which are tests that verify the functionality and quality of individual software components (such as functions or methods) in source code. A unit test framework tool can help to detect defects in functions or methods in source code by providing features such as test case generation, test case execution, test result comparison, test coverage measurement, etc. Some examples of unit test framework tools are JUnit, NUnit, TestNG, etc. The other options are not tools that are likely to detect defects in functions or methods in source code. A configuration management tool is a tool that supports the management and control of different versions and variants of software products or components. A test design tool is a tool that supports the design and generation of test cases based on some criteria or rules. A monitoring tool is a tool that monitors the behavior or performance of a system or component under test. Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, page 10.

A system has valid input numbers ranging between 1000 and 99999 (both inclusive). Which of the following inputs are a result of designing tests for all valid equivalence classes and their boundaries?

A.
999.1000.23232.99999.100000
A.
999.1000.23232.99999.100000
Answers
B.
999.1000.50000.100000.100001
B.
999.1000.50000.100000.100001
Answers
C.
999.100000
C.
999.100000
Answers
D.
1000,50000,99999
D.
1000,50000,99999
Answers
Suggested answer: B

Explanation:

A correct list of boundary values for the P input should include the minimum and maximum values of the valid range (15 and 350), as well as the values just below and above the boundaries (14 and 351). Boundary value analysis is a test design technique that involves testing the values at or near the boundaries of an input domain or output range, as these values are more likely to cause errors than values in the middle. Option B satisfies this condition, as it has all four boundary values (14, 15, 350, 351). Option A has two values from the same equivalence class (1000 and 99999), option C has two values outside the range (999 and 100000), and option D has no boundary values at all. Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, page 34.

Which of the following is the most important task of a typical test leader?

A.
To automate tests.
A.
To automate tests.
Answers
B.
To prepare and acquire test data.
B.
To prepare and acquire test data.
Answers
C.
To set up the test environment.
C.
To set up the test environment.
Answers
D.
To coordinate the test strategy with project managers.
D.
To coordinate the test strategy with project managers.
Answers
Suggested answer: D

Explanation:

The most important task of a typical test leader is to coordinate the test strategy with project managers. The test strategy is a high-level document that defines the general approach and objectives of testing for a project or an organization. The test leader is responsible for defining, documenting, communicating, and implementing the test strategy in alignment with the project goals and constraints. The test leader also needs to coordinate with project managers and other stakeholders to ensure that the test strategy is feasible, effective, and efficient. The other options are not the most important tasks of a typical test leader. To automate tests is a task of a test automation engineer or a test automation specialist. To prepare and acquire test data is a task of a test analyst or a test engineer. To set up the test environment is a task of a test environment manager or a test environment specialist. Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, page 13.

Total 288 questions
Go to page: of 29