GATE CS 2016 Set 1 — Question 41

Numerical answer 2 marks Question 41 2016

Question 41

NAT 2 marks · no negative Compiler Design

Consider the following code segment:

x = u - t;
y = x * v;
x = y + w;
y = t - z;
y = x * y;

The minimum number of total variables required to convert the above code segment to static single assignment form is ______.

Answers and explanations are free — they just need an account.

Where this question comes from

Source: GATE 2016 Computer Science and Information Technology, Set 1, Q41 (question number approximate)