ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 57 - CTFL4 discussion

Report
Export

A Static analysis tool analyzes a given program's CONTROL FLOW among other things. Which of the following options represents the most likely outcome of the control flow analysis:

A.
Identification of unreachable code
Answers
A.
Identification of unreachable code
B.
Report on adherence to the coding standards
Answers
B.
Report on adherence to the coding standards
C.
Number of comment lines
Answers
C.
Number of comment lines
D.
Number of source code lines
Answers
D.
Number of source code lines
Suggested answer: A

Explanation:

A static analysis tool is a tool that analyzes a given program's source code or executable code without executing it. A static analysis tool can perform various types of analysis on a program's code, such as syntax checking, data flow analysis, control flow analysis, complexity measurement, coding standards compliance checking, etc. Control flow analysis is a type of analysis that examines how a program's statements are executed in different paths or branches. One of the most likely outcomes of control flow analysis is identification of unreachable code, which is code that can never be executed due to logical errors or design flaws. Unreachable code can reduce readability and maintainability of the code, as well as increase complexity and size. The other options are not outcomes of control flow analysis, but rather outcomes of other types of analysis. Report on adherence to coding standards is an outcome of coding standards compliance checking. Number of comment lines and number of source code lines are outcomes of complexity measurement. Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, page 8.

asked 18/09/2024
Rob Versteeg
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first