adplus-dvertising
frame-decoration

Question

The context free grammar S → SS | 0S1 | 1S0 | ɛ generates

a.

Equal number of 0’s and 1’s

b.

Unequal number of 0’s and 1’s

c.

Number of 0’s followed by any number of 1’s

d.

None of the mentioned

Answer: (a).Equal number of 0’s and 1’s

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 → SS | 0S1 | 1S0 | ɛ generates