Optimization and Data Flow questions

Q34

GATE CS 2014 CS-3Optimization and Data FlowMCQ2 marks−2/3 if wrong
Consider the basic block given below.

a = b + c
c = a + d
d = b + c
e = d - b
a = e + b

The minimum number of nodes and edges present in the DAG representation of the above basic block respectively are
Show answer without attempting

Answer: A

Q17

GATE CS 2014 CS-1Optimization and Data FlowMCQ1 mark−1/3 if wrong
Which one of the following is FALSE?
Show answer without attempting

Answer: D

0/20 correct0 marks

Related topics in Compiler Design