COMPILER DESIGN

INTERMEDIATE CODE GENERATION

THREE ADDRESS CODE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A graph which is directed with flow control information added to basic blocks is
A
Flow graph
B
DAG
C
Syntax tree
D
None
Explanation: 

Detailed explanation-1: -A flow graph is a directed graph with flow control information added to the basic blocks. The basic blocks serve as nodes of the flow graph.

Detailed explanation-2: -A data-flow graph is a collection of arcs and nodes in which the nodes are either places where variables are assigned or used, and the arcs show the relationship between the places where a variable is assigned and where the assigned value is subsequently used.

Detailed explanation-3: -A directed network – also known as a flow network – is a particular type of flow graph. A network is a graph with real numbers associated with each of its edges, and if the graph is a digraph, the result is a directed network.

There is 1 question to complete.