ExamGecko
Question list
Search
Search

Related questions











Question 161 - CTFL-2018 discussion

Report
Export

Which of the following defects-can NOT be found by static analysis tools?

A.
Infinite loops
Answers
A.
Infinite loops
B.
Wrong business rules
Answers
B.
Wrong business rules
C.
Syntax errors of the code
Answers
C.
Syntax errors of the code
D.
Undefined variables
Answers
D.
Undefined variables
Suggested answer: B

Explanation:

Wrong business rules are defects that cannot be found by static analysis tools, because they are logical or functional errors that depend on the context and requirements of the software13.A static analysis tool can only detect syntactic or structural errors in the code or design of the software under test, but not whether they match the intended business rules or logic13. The other options are defects that can be found by static analysis tools.Option A is a defect that can be found by a static analysis tool, because it is a structural error that causes the code to loop indefinitely without terminating13.Option C is a defect that can be found by a static analysis tool, because it is a syntactic error that causes the code to fail to compile or run13.Option D is a defect that can be found by a static analysis tool, because it is a structural error that indicates a waste of memory or a possible logic flaw

asked 18/09/2024
Hany Mohammed
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first