In the context of abstract-syntax-tree (AST) and control-flow-graph (CFG),…
PYQ GATE 2015
In the context of abstract-syntax-tree (AST) and control-flow-graph (CFG), which one of the following is TRUE?
- A.
In both AST and CFG, let node
be the successor of node. In the input program, the code corresponding tois present after the code corresponding to - B.
For any input program, neither AST nor CFG will contain a cycle
- C.
The maximum number of successors of a node in an AST and a CFG depends on the input program
- D.
Each node in AST and CFG corresponds to at most one statement in the input program
Attempted by 156 students.
Sign up free to check your answer
Sign up freeLoading lesson…

