440 views

1 Answer

0 votes
0 votes
For any PDA, make a new state and do an epsilon transition to the start state and change the start state to the new state.

Similarly make a new state and make an epsilon transition from all accept states to this new state. Now, make another new state and make an epsilon transition from the new state to this one and make this final new state the only accept state.

Thus we get a simple PDA for any given PDA (thanks to epsilon transitions). Now, is this possible without epsilon transition?

Related questions

0 votes
0 votes
0 answers
1
iarnav asked Sep 22, 2017
1,353 views
State T/Fif a language is deterministic context free it can always be accepted by a PDA?
1 votes
1 votes
1 answer
2
manisha11 asked May 13, 2019
652 views
The language accepted by a DPDA with a final state is more compared to the DPDA with empty stack.DPDA with empty stack accepts LR(0) grammar.Can someone explain in depth/...
0 votes
0 votes
0 answers
3
Satbir asked Dec 10, 2018
453 views
Consider the following PDA:The language accepted by the given PDA is: L = {(b^n a b^n a )^m | m, n >= 0} L = {b^n a b^n a | n >= 0} {bn | n >= 0} L = {b^n a b^n a | n >= ...
0 votes
0 votes
0 answers
4
eyeamgj asked Oct 25, 2018
257 views
https://gateoverflow.in/679/gate2000-8IN FIRST PART IS POSSIBLE THAT WE ONLY REQUIRED TWO MORE TRANSITIONS.FOR EXAMPLe TAKE SOME STRINGS 1) 22)020HOW TO SATISFYING THEM W...