GATE CSE · Compiler Design · Quiz

Compiler Design — quick quiz

5 real GATE CSE questions on Compiler Design. Instant scoring and solutions, no signup — see where you stand in ~3 minutes.

Question 1 of 5

MEDIUM

Consider the three-address code: t1 = a + b, t2 = c * d, t3 = t1 - t2, t4 = t3 / e. Assuming all variables are live at the end, what is the minimum number of registers required to generate code without spilling to memory?