Question: Consider the following grammar. S ::= a B b | b C a B ::= a B | B b | D C ::= b
Consider the following grammar. S ::= a B b | b C a B ::= a B | B b | D C ::= b C | C a | D D ::= x
Which of the following strings can NOT be generated by the grammar?
1. aabx
2. aaxbbb
3. aaabxbb
4. bbxaaaa
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
