Push Down Automata (PDA) | TOC (Theory of Computation) | NPDA | DPDA

AshishDuggal5 6,208 views 8 slides Dec 03, 2019
Slide 1
Slide 1 of 8
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8

About This Presentation

Push Down Automata (PDA) is part of TOC (Theory of Computation)
From this presentation you will get all the information related to PDA also it will help you to easily understand this topic. There is also one example.
This PPT is very helpful for Computer science and Computer Engineer
(B.C.A., M.C...


Slide Content

Topic :- Pushdown Automata Name :- Ashish Duggal Qualification :- M.C.A.

Pushdown Automata Introduction A PDA is more powerful than FA. Any language which can be acceptable by FA can also be acceptable by PDA. PDA also accepts a class of language which even cannot be accepted by FA. Thus PDA is much more superior to FA . Basically a pushdown automaton is − " Finite state machine" + "a stack" A pushdown automaton has three components − an input tape, a control unit, and a stack with infinite size. T he stack head scans the top symbol of the stack .

A stack does two operations − Push − a new symbol is added at the top. Pop − the top symbol is read and removed. A PDA may or may not read an input symbol, but it has to read the top of the stack in every transition.

7 Components of DPDA M = (Q, Σ, Γ, δ, q0, Z0, F), where Q — finite set of states Σ — finite input alphabet Γ — finite alphabet of pushdown symbols q0 ∈ Q — starting/initial state Z0 ∈ Γ — start symbol on the pushdown F ⊆ Q — set of final states δ — mapping Q × ( Σ ∪ {ε}) × Γ → Q× Γ

7 Components of NON- DPDA / NPDA M = (Q, Σ, Γ, δ, q0, Z0, F), where Q — finite set of states Σ — finite input alphabet Γ — finite alphabet of pushdown symbols δ — transition function -> Q × ( Σ ∪ {ε}) × Γ → 2 ^(Q× Γ ) q0 ∈ Q — starting/initial state Z0 ∈ Γ — start symbol on the pushdown F ⊆ Q — set of final states

E xample

Thank You