Consider the control flow graph shown. Which one of the following choices…
GATE · 2023 · CS · Computer Science & IT
Consider the control flow graph shown.

Which one of the following choices correctly lists the set of live variables at the exit point of each basic block?
- A.
B1: {}, B2: {a}, B3: {a}, B4: {a}
- B.
B1: {i, j}, B2: {a}, B3: {a}, B4: {i}
- C.
B1: {a, i, j}, B2: {a, i, j}, B3: {a, i}, B4: {a}
- D.
B1: {a, i, j}, B2: {a, j}, B3: {a, j}, B4: {a, i, j}
Attempted by 87 students.
Show answer
Correct answer: D
Explore the full course: Iocl Engineers Officers Grade A Paper 2
Loading lesson…