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

Which one of the following is FALSE ?

  1. (A) A basic block is a sequence of instructions where control enters the sequence at the beginning and exits at the end.
  2. (B) Available expression analysis can be used for common subexpression elimination.
  3. (C) Live variable analysis can be used for dead code elimination.
  4. (D) x = 4 ∗ 5 ⇒ x = 20 is an example of common subexpression elimination.
Answer

Answer (D)

Answer from the official GATE CS 2014 answer key.

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