ExamGecko
Question list
Search
Search

Related questions











Question 365 - CTFL-2018 discussion

Report
Export

Which of the following statements about static analysis are FALSE?

I Static analysis can be used instead of dynamic testing.

II, Static analysis can uncover defects like security vulnerabilities.

II,I Static analysis can be used to check conformance to specifications and standards.

IV Static analysis typically detects failures prior to component testing.

A.
II, Ill
Answers
A.
II, Ill
B.
I, IV
Answers
B.
I, IV
C.
I, II,
Answers
C.
I, II,
D.
II,I, IV
Answers
D.
II,I, IV
Suggested answer: C

Explanation:

I and II, are false statements about static analysis. Static analysis cannot be used instead of dynamic testing (I), as it cannot verify the behavior or performance of the system under test at runtime. Static analysis can uncover defects like security vulnerabilities (II,), as it can detect potential weaknesses or flaws in the source code that may lead to security breaches. defines static analysis as follows:

Static analysis is a type of software testing that analyzes the source code or other software artifacts without executing them. Static analysis can be used to check conformance to specifications and standards, detect syntax and logical errors, measure complexity and quality metrics, identify code smells and bad practices, find potential security vulnerabilities, and improve maintainability and readability.

II,I and IV are true statements about static analysis. Static analysis can be used to check conformance to specifications and standards (II,I), as it can compare the source code or other software artifacts against predefined rules or criteria. Static analysis typically detects failures prior to component testing (IV), as it can be performed early in the development cycle before compiling or executing the code.

asked 18/09/2024
Gaetano di Girolamo
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first