adplus-dvertising
frame-decoration

Question

The production Grammar is {S->aSbb, S->abb} is

a.

type-3 grammar

b.

type-2 grammar

c.

type-1 grammar

d.

type-0 grammar

Answer: (b).type-2 grammar

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The production Grammar is {S->aSbb, S->abb} is