adplus-dvertising
frame-decoration

Question

The context free grammar S → A111|S1, A → A0 | 00 is equivalent to

a.

{0ⁿ1ᵐ | n=2, m=3}

b.

{0ⁿ1ᵐ | n=1, m=5}

c.

{0ⁿ1ᵐ | n should be greater than two and m should be greater than four}

d.

None of the mentioned

Answer: (a).{0ⁿ1ᵐ | n=2, m=3}

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The context free grammar S → A111|S1, A → A0 | 00 is equivalent to