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 2
Which of the following test cases will ensure that the statement ‘Print ‘Hold’’ is exercised? [K3]
Refer to the exhibit
Options:
A.
X=2, Y=2, Z=2
B.
X=2, Y=3, Z=4
C.
X=2, Y=4, Z=3
D.
X=4, Y=3, Z=2
Answer:
C
Explanation:
Explanation:
The question asks which of the test cases will ensure that the statement ‘Print ‘Hold’’ is exercised. The statement ‘Print ‘Hold’’ is executed when X > Y and Z < Y. Therefore, to exercise this statement, we need to choose a test case that satisfies these conditions. Among the options given in this question, only C satisfies these conditions. X = 42 > Y =43 and Z =42 < Y =43. Therefore, C is the correct answer.
Question 3
Which of the following errors CANNOT be found with structure-based testing techniques?
Options:
A.
Memory is leaking
B.
Features are only partially implemented
C.
Data structures that are used before initialization
D.
Division by zero
Answer:
A
Explanation:
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 in A Study Guide to the ISTQB® Foundation Level 2018 Syllabus, Chapter 4, Sections 4.2 and 4.31.