1. Home
  2. Computer Science MCQs
  3. Software Engineering
  4. In compiler design, which analysis determines the lifetime…

Added 12 Sep 2025

In compiler design, which analysis determines the lifetime of variables?

  1. Data flow analysis
  2. Liveness analysis Correct answer
  3. Control flow analysis
  4. Alias analysis

Correct answer

B. Liveness analysis

21 views

MCQSEXAM

Explanation

Liveness analysis determines which variables are live at each point in the program.

Reference

Asked in: GATE CS, UGC NET CS

https://www.geeksforgeeks.org/live-variable-analysis/

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Software Engineering MCQs

Practise all Software Engineering MCQs

Similar MCQs