Skip to content
Related Articles

Related Articles

GATE | GATE-CS-2003 | Question 16
  • Last Updated : 04 Oct, 2014

Which of the following suffices to convert an arbitrary CFG to an LL(1) grammar?
(A) Removing left recursion alone
(B) Factoring the grammar alone
(C) Removing left recursion and factoring the grammar
(D) None of these


Answer: (D)

Explanation: Removing left recursion and factoring the grammar do not suffice to convert an arbitrary CFG to LL(1) grammar.
http://pages.cpsc.ucalgary.ca/~robin/class/411/LL1.3.html

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :