GATE CS 2025, set 1 · Question 13 · Compiler Design · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

Which ONE of the following techniques used in compiler code optimization uses live variable analysis?

  1. (A) Run-time function call management
  2. (B) Register assignment to variables
  3. (C) Strength reduction
  4. (D) Constant folding
Answer

Answer (B)

Answer from the official GATE CS 2025 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes