Question 11942 – Image-Processing
November 27, 2023Question 6725 – Image-Processing
November 27, 2023Question 10171 – Push-Down-Automata
Let Q = ({q1,q2}, {a,b}, {a,b,Z}, δ, Z, ϕ) be a pushdown automaton accepting by empty stack for the language which is the set of all non empty even palindromes over the set {a,b}. Below is an incomplete specification of the transitions δ. Complete the specification. The top of the stack is assumed to be at the right end of the string representing stack contents.
(1) δ(q1,a,Z) = {(q1,Za)} (2) δ(q1,b,Z) = {(q1,Zb)} (3) δ(q1,a,a) = {(.....,.....)} (4) δ(q1,b,b) = {(.....,.....)} (5) δ(q2,a,a) = {(q2,ϵ)} (6) δ(q2,b,b) = {(q2,ϵ)} (7) δ(q2,ϵ,Z) = {(q2,ϵ)}
Correct Answer: A
Theory Explanation.
Subscribe
Login
0 Comments