ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 88 - CTFL4 discussion

Report
Export

Which of the following issues cannot be identified by static analysis tools?

A.
Very low MTBF (Mean Time Between failure)
Answers
A.
Very low MTBF (Mean Time Between failure)
B.
Potentially endless loops
Answers
B.
Potentially endless loops
C.
Referencing a variable with an undefined value
Answers
C.
Referencing a variable with an undefined value
D.
Security vulnerabilities
Answers
D.
Security vulnerabilities
Suggested answer: A

Explanation:

Static analysis tools are software tools that examine the source code of a program without executing it.They can detect various types of issues, such as syntax errors, coding standards violations, security vulnerabilities, and potential bugs12.However, static analysis tools cannot identify issues that depend on the runtime behavior or performance of the program, such as very low MTBF (Mean Time Between failure)3. MTBF is a measure of the reliability of a system or component. It is calculated by dividing the total operating time by the number of failures. MTBF reflects how often a system or component fails during its expected lifetime. Static analysis tools cannot measure MTBF because they do not run the program or observe its failures.MTBF can only be estimated by dynamic testing, which involves executing the program under various conditions and collecting data on its failures4. Therefore, very low MTBF is an issue that cannot be identified by static analysis tools. The other options, such as potentially endless loops, referencing a variable with an undefined value, and security vulnerabilities, are issues that can be identified by static analysis tools.Static analysis tools can detect potentially endless loops by analyzing the control flow and data flow of the program and checking for conditions that may never become false5.Static analysis tools can detect referencing a variable with an undefined value by checking the scope and initialization of variables and reporting any use of uninitialized variables6. Static analysis tools can detect security vulnerabilities by checking for common patterns of insecure code, such as buffer overflows, SQL injections, cross-site scripting, and weak encryption.Reference=What Is Static Analysis? Static Code Analysis Tools - Perforce Software,How Static Code Analysis Works | Perforce,Static Code Analysis: Techniques, Top 5 Benefits & 3 Challenges,What is MTBF? Mean Time Between Failures Explained | Perforce,Static analysis tools - Software Testing MCQs - CareerRide,ISTQB_Chapter3 | Quizizz, [Static Code Analysis for Security Vulnerabilities | Perforce].

asked 18/09/2024
Venkat Burri
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first