COMPILER DESIGN

SEMANTIC ANALYSIS

TYPE CHECKING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
For DAG interior nodes represents
A
Names
B
Identifiers
C
Constants
D
Operator
Explanation: 

Detailed explanation-1: -In a DAG, Interior nodes always represent the operators. Exterior nodes (leaf nodes) always represent the names, identifiers or constants.

Detailed explanation-2: -DAG can be understood here: Leaf nodes represent identifiers, names or constants. Interior nodes represent operators.

Detailed explanation-3: -The Directed Acyclic Graph (DAG) is used to represent the structure of basic blocks, to visualize the flow of values between basic blocks, and to provide optimization techniques in the basic block.

There is 1 question to complete.