GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2021 set2

GATE 2021 set2 · CS · MCQ · 2 marks · Compiler Design › Code Optimization

GATE 2021 set2 Computer Science and Information Technology question: For a statement S in a program, in the context of liveness analysis, the following sets…

For a statement in a program, in the context of liveness analysis, the following sets are defined:

: the set of variables used in

: the set of variables that are live at the entry of

: the set of variables that are live at the exit of

Consider a basic block that consists of two statements, followed by . Which one of the following statements is correct?

  1. (A)

  2. (B)

  3. (C)

  4. (D)

Show answer

Official answer: A

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion