Question

Which of the following statements is/are true?

Choose every correct option
Official answer and solution
Official answer
C
From
Official GATE 2026 answer key

Solution

Recall the necessary conditions and expressive power of predictive LL(1) top-down parsers.

  • Option (A) is false: An LL(1) parser is a predictive top-down parser that selects productions deterministically using 1 lookahead symbol without backtracking.
  • Option (B) is false: A left-recursive grammar can never be LL(1).
  • Option (C) is true: For a grammar to be LL(1), no two productions for the same non-terminal may share a common non-empty prefix (it must be left-factored), otherwise their FIRST sets would overlap.
  • Option (D) is false: SLR(1) (bottom-up) parsers are strictly more powerful than LL(1) parsers on unambiguous grammars.
Final answer

Option (C)

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2026 Computer Science and Information Technology - Session 1 (CS1)
Question
28 of 65
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.