• edited by
1,182 views

1 Answer

Best answer
2 2 votes
Here last statement will not be executed. The main motive of DAG is elimination of common sub-expression.So, By only first two statements, I think your answer is also 4 nodes.
• selected by
Answer:
Position:
Show:

Related questions

–2 –2 votes
1 1 answer
775
775 views
0 0 votes
3 answers 3 answers
2.8k
2.8k views
radha gogia asked Dec 9, 2015
2,791 views
In this one I am unable to follow in the above node marked as "-" ,it has two edges one upward and one downward for "+" node so then how to proceed with this ?Consider th...
2 2 votes
1 1 answer
1.2k
1.2k views
Balaji Jegan asked Jan 20, 2018
1,213 views
Please answer this!Consider the basic block given below:\[\begin{array}{l}b=b+c \\d=b+d \\b=b-d \\e=d+b\end{array}\]The minimum number of nodes and edges present in the D...
0 0 votes
1 1 answer
1.2k
1.2k views
phprashanthans asked Dec 3, 2017
1,164 views
What will be the DAG representation of a=b+c , b= b+c