GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2026 set1

GATE 2026 set1 · CS · MSQ · 1 mark · Compiler Design › Syntax Analysis (Parsing)

GATE 2026 set1 Computer Science and Information Technology question: Which of the following statements is/are true?

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

Show answer

Official answer: C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion