a) S->e|0S1|1S0|SS
b) S->0B|1A|e A->0S B->1S
c) All of the mentioned
d) None of the mentioned
Which among the following is a CFG for the given Language: L={x∈{0,1}*|number of zeroes in x=number of one’s in x}
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which among the following is a CFG for the given Language: L={x∈{0,1}*|number of zeroes in x=number of one’s in x}
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!