Перейти к содержимому

PDA for a^m b^n a^m | Pushdown Automata for language a^m b^n a^m | Automata Theory | TOC

TopGATE

0:00 / 0:00

PDA for a^m b^n a^m | Pushdown Automata for language a^m b^n a^m | Automata Theory | TOC

2 193 просмотра · 3 года назад
TopGATE
1,86 тыс. подписчиков
2 193 просмотра · 3 года назад
PDA for a^m b^n a^m | Pushdown Automata for language a^m b^n a^m | Automata Theory | TOC When the first 'a' comes we will start from initial state q0 and take a self loop to push all the a's into the stack. When all the a's are pushed into the stack, we will remain on state q0. As soon as the first 'b' comes, we will move on to a new state q1 while performing the skip operation. Now at this point, several b's can come, so we will take a self loop on state q1 which will perform the skip operation for all the b's. Next, as soon as the 'a' comes, we will move from state q1 to q2 while doing the pop operation. We will pop one 'a' from the stack. Now at state q2 we will take a self loop which will pop all the a's from the stack. Now, the string is complete and the stack is empty (having only z0 in it). Next element will be epsilon for which we will perform the skip operation and move on to the next state q3 which is a final state. pda in english pushdown automata in english automata lectures in english toc lectures in english atfl lectures in english pda for language pda for ambnam pda for am bn am pda for an bm an pda pda example cse gate gate exam pushdown automata pushdown automata example topgate construction of pda design a pda top gate questions cse gate examples accept a string by pda automata gate computer science computer science lectures automata for gate theory of computation toc atfl tafl automata theory & formal languages gate lectures automata lectures automata theory toc lectures toc for gate theory of computation lectures