SYNTAX ANALYSIS
ROLE OF THE PARSER
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
The graph that shows basic blocks and their successor relationship is called ____
|
DAG
|
|
Flow chart
|
|
Control graph
|
|
Hamilton graph
|
Explanation:
Detailed explanation-1: -The graph that shows the basic blocks and their successor relationship is called control graph.
Detailed explanation-2: -Basic Blocks and Flow Graphs in Compiler design-Basic block is a set of statements that always executes in a sequence one after the other. Flow Graph is a directed graph with flow control information added to the basic blocks.
Detailed explanation-3: -Flow graph is defined as a function in a program that can be represented as a control flow graph and the nodes in the flow graph are defined as program statements while the directed edges are the flow of control. A flow graph consists of nodes and edges.
There is 1 question to complete.