GATE CS 2021, set 1 · Question 61 · Theory of Computation · Numerical answer (NAT) · 2 marks · no negative marks
In a pushdown automaton P = (Q, Σ, Γ, δ, q₀, F), a transition of the form,
where p, q ∈ Q, a ∈ Σ ∪ {ε}, and X, Y ∈ Γ ∪ {ε}, represents
(q, Y) ∈ δ(p, a, X).
Consider the following pushdown automaton over the input alphabet Σ = {a, b} and stack alphabet Γ = {#, A}.
The number of strings of length 100 accepted by the above pushdown automaton is ______.


Answer
Answer 50
Answer from the official GATE CS 2021 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes