GATE CS 2026, set 1 · Question 28 · Compiler Design · Multiple select (MSQ) · 1 mark · no negative marks

Which of the following statements is/are true?

  1. (A) LL(1) parser uses backtracking
  2. (B) For a grammar to be LL(1), it must be left-recursive
  3. (C) For a grammar to be LL(1), it must be left-factored
  4. (D) The LL(1) parsers are more powerful than the SLR parsers
Answer

Answer (C)

Answer from the official GATE CS 2026 answer key.

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