ALC Answers
ALC Answers
17. Construct NFA transition diagram for transition table as given below
18. What is Push down Automata. Give formal definition of PDA
Pushdown Automata is a finite automata with extra memory called stack which helps
Pushdown automata to recognize Context Free Languages.
A Pushdown Automata (PDA) can be formally defined as :
PDA = (Q, ∑, δ, q0, F, Γ, Z) where
Q is the set of states
∑is the set of input symbols
δ is a transition function which maps Q x {Σ ∪ ∈} x Γ into Q x Γ*.
q0 is the initial state
F is the set of final states
Γ is the set of pushdown symbols (which can be pushed and popped from stack)
Z is the initial pushdown symbol (which is initially present in stack)
19. Construct a PDA that accepts the following languages by final state and empty stack and
write transition functions for that.
L={anbn|n>=1}
26. Construct DFA which checks whether a given binary number is divisible by 3