Question: 1 . ( 4 points ) Consider the following grammar: S - > AbB | bAc A - > Ab | aBB B - >
points Consider the following grammar:
S AbB bAc
A Ab aBB
B Ac cBb c
Show how the following string aAcccbbc can be generated by the above grammar.
points Construct a PDA that accepts L anbmcn n m for aabbbcc
points Using the concept of Pumping Lemma, show that an bn cn n is not contextfree using two cases:
a The v part of the string S uvxyz contains only several a
and the y part contains several c
b The v part of the string S uvxyz contains several a and b
and the y part contains several b and c
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
