1.

The production Grammar is {S->aSbb, S->abb} is?(a) type-3 grammar(b) type-2 grammar(c) type-1 grammar(d) type-0 grammarI got this question in my homework.The query is from Regular Grammar topic in section Contextfree Grammar and Syntax Analysis of Compiler

Answer»

Right OPTION is (B) type-2 GRAMMAR

To explain I would say: Type 2 grammar satisfies this production grammar.



Discussion

No Comment Found

Related InterviewSolutions