Consider the control flow graph given below. Which one of the following…

PYQ GATE 2026

Consider the control flow graph given below.

image.png

Which one of the following options is the set of live variables at the exit point of each basic block?

  1. A.

    B1:{a, b, c, e, f}, B2:{d, e}, B3:{b, c, e, f}, B4:∅

  2. B.

    B1:∅, B2:{d, e}, B3:{a, c, f}, B4:∅

  3. C.

    B1:{a, b, c, e, f}, B2:{d, e}, B3:{c, e, f}, B4:∅

  4. D.

    B1:∅, B2:{d, e, f}, B3:{a, b, c, e, f}, B4:∅

Attempted by 63 students.

Sign up free to check your answer

Sign up free

Explore the full course: Compiler Design

Loading lesson…