PDA and instantaneous description

December 4, 2026 · Team EasyExamNotes · 1 min read (est.) · 0 comments

Share on WhatsApp

← RGPV CS-501-CBGS Theory of Computation June 2020 Solved Paper

Question

What is PDA? Explain instantaneous description of PDA.

Asked in: CS-501 | June 2020 | 6(a)

Answer

A PDA is (Q,Σ,Γ,δ,q₀,Z₀,F), with stack alphabet Γ and initial stack symbol Z₀. Its ID is (q,w,γ): current state, unread input and stack contents (top at left). If (r,β)∈δ(q,a,X), then (q,aw,Xγ)⊢(r,w,βγ). An ε move leaves unread input unchanged. For aⁿbⁿ, push A for each a, then pop A for each b. Example for aabb: (p,aabb,Z)⊢(p,abb,AZ)⊢(p,bb,AAZ)⊢(r,b,AZ)⊢(r,ε,Z)⊢(f,ε,Z). The final transition checks the bottom marker. Acceptance requires all input consumed and the chosen acceptance condition satisfied. NPDA can have multiple possible successor IDs.

← RGPV CS-501-CBGS Theory of Computation June 2020 Solved Paper

Discussion

Ask a question, share your thoughts or report an error.

Sign in to participate in the discussion.

Join the discussion