Gate CS-2016-1 Question Paper With Solutions

Q. 29 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

(A) 6

(B) 8

(C) 9

(D) 10

Answer: (D)

Explanation:

Gate CS-2016-1 Question Paper With Solutions

Learn More:   Gate CS-2015-3 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here