edited by
257 views

1 Answer

0 votes
0 votes
but, the given expression is context-free where we can prove it by using PDA in which we push every kth a onto the stack and will pop a for every b. thus, proving it to be context-free.

Related questions

0 votes
0 votes
1 answer
1
admin asked May 4, 2019
626 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
2 votes
2 votes
1 answer
4
admin asked May 4, 2019
1,472 views
Let $B$ be the language of all palindromes over $\{0,1\}$ containing equal numbers of $0's$ and $1's.$ Show that $B$ is not context free$.$