Consider the following code segment : x = u - t; y = x * v; x = y + w; y = t -…

PYQ TPSC Computer/IT Posts 2025

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

  1. A.

    6

  2. B.

    8

  3. C.

    9

  4. D.

    10

Attempted by 307 students.

Sign up free to check your answer

Sign up free

Explore the full course: Tpsc Assistant Technical Officer

Loading lesson…