ExamGecko
Home / ISTQB / CTFL-2018 / Practice Test 5
Ask Question

ISTQB CTFL-2018 Practice Test 5

00:00:00
Show Answer
Report Issue   Restart test

Question 1 / 40

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

Infinite loops
Infinite loops
Wrong business rules
Wrong business rules
Syntax errors of the code
Syntax errors of the code
Undefined variables
Undefined variables
Comment (0)
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
44 questions