1.

Which of the following are non essential while simplifying a grammar?(a) Removal of useless symbols(b) Removal of unit productions(c) Removal of null production(d) None of the mentionedThis question was addressed to me by my college director while I was bunking the class.Origin of the question is DPDA and Ambiguous Grammars in section Push Down Automata of Automata Theory

Answer»

Right CHOICE is (d) None of the mentioned

Explanation: Here are some process used to simplify a CFG but to produce an equivalent grammar:

a) REMOVAL of useless symbols(non TERMINAL) b) Removal of Unit productions and C) Removal of Null productions.



Discussion

No Comment Found

Related InterviewSolutions