edited by
220 views

1 Answer

0 votes
0 votes
S->aaAb | aBbbb | C | D

A->aAb | aA | a

B->aBb | a

C->aA | a

D->bB | b

Related questions

0 votes
0 votes
1 answer
1
admin asked May 4, 2019
621 views
Let $G$ be a $CFG$ in Chomsky normal form that contains $b$ variables$.$ Show that if $G$ generates some string with a derivation having at least $2^{b}$ steps$, L(G)$ is...
0 votes
0 votes
2 answers
3
0 votes
0 votes
0 answers
4
admin asked May 4, 2019
389 views
For any language $A,$ let $SUFFIX(A) = \{v\mid uv \in A$ $\text{for some string u\}}.$ Show that the class of context-free languages is closed under the $\text{SUFFIX ope...