recategorized by
1,302 views

3 Answers

0 votes
0 votes

It is in the form anbncwhich is CSL.

Let's see why :

On seeing a, you push to stack, on seeing b you pop out from stack essentially comparing number of b’s with a’s. When it sees a c, well, there’s nothing it could do as the one memory it had got used up.

Hence it is not CFL and cannot be accepted by a Push down automata. It needs a Linear Bounded Automata to accept it .

Related questions

1 votes
1 votes
2 answers
2
Pooja Khatri asked Jul 13, 2018
15,331 views
Two finite state machines are said to be equivalent if they:Have the same number of edgesHave the same number of statesRecognize the same set of tokensHave the same numbe...
0 votes
0 votes
2 answers
3
0 votes
0 votes
6 answers
4