1.

Which of the following does not have left recursions?(a) Chomsky Normal Form(b) Greibach Normal Form(c) Backus Naur Form(d) Allof the mentionedI have been asked this question in a national level competition.Enquiry is from Chomsky Normal Form in portion Properties of Context Free Languages of Automata Theory

Answer»

Right answer is (b) Greibach Normal Form

To ELABORATE: The normal form is of the format:

A->aB where the right hand side PRODUCTION tends to BEGIN with a terminal symbo, thus having no left RECURSIONS.



Discussion

No Comment Found

Related InterviewSolutions