Which of the following suffices to convert an arbitrary CFG to an LL(1) grammar?

PYQ GATE 2003

Which of the following suffices to convert an arbitrary CFG to an LL(1) grammar?

  1. A.

    Removing left recursion alone

  2. B.

    Factoring the grammar alone

  3. C.

    Removing left recursion and factoring the grammar

  4. D.

    None of these

Attempted by 575 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…