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 578 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…