ExamGecko
Question list
Search
Search

Related questions











Question 27 - CTFL-2018 discussion

Report
Export

Which of the following is a defect that is more likely to be found by a static analysis tool than by other testing techniques?

A.
Omission of a major requirement
Answers
A.
Omission of a major requirement
B.
Inadequate decision coverage
Answers
B.
Inadequate decision coverage
C.
Component memory leakage
Answers
C.
Component memory leakage
D.
Variables that are not used improperly declared
Answers
D.
Variables that are not used improperly declared
Suggested answer: D

Explanation:

Variables that are not used or improperly declared are defects that are more likely to be found by a static analysis tool than by other testing techniques, because they are syntactic or structural errors in the code that can be detected without executing the software13.A static analysis tool can analyse the code or design of the software under test and identify errors such as missing declarations, undefined variables, unused variables, or unreachable code13. The other options are not defects that are more likely to be found by a static analysis tool than by other testing techniques.Option A is not a defect that can be found by a static analysis tool, but rather by a requirements review or specification-based testing technique1.Option B is not a defect that can be found by a static analysis tool, but rather by a structure-based testing technique or a coverage measurement tool1.Option C is not a defect that can be found by a static analysis tool, but rather by a dynamic analysis tool or a monitoring tool1.

asked 18/09/2024
janet phillips
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first