1.

Which of the following is false for a grammar G in Chomsky Normal Form:(a) G has no useless symbols(b) G has no unit productions(c) G has no epsilon productions(d) None of the mentionedI got this question in an internship interview.The origin of the question is Inferences to Trees, Trees to Derivations in chapter Context Free Grammars and Languages of Automata Theory

Answer»

Correct choice is (d) None of the mentioned

For explanation I would say: G, a CFG is said to be in Chomsky normal FORM if all its productions are in ONE of the following form:

A->BC or A->a



Discussion

No Comment Found

Related InterviewSolutions