GATEverse
← GATE CSE 2021 Set 1

Q51

NAT2 marks

In a pushdown automaton P=(Q,Σ,Γ,δ,q0,F)P=(Q, \Sigma, \Gamma, \delta, q_0, F), a transition of the form,

Figure 1

where p,q∈Qp,q \in Q, a∈Σ∪{ϵ}a \in \Sigma \cup \{ \epsilon \}, and X,Y∈Γ∪{ϵ}X,Y \in \Gamma \cup \{ \epsilon \}, represents

(q,Y)∈δ(p,a,X).(q,Y) \in \delta(p,a,X).

Consider the following pushdown automaton over the input alphabet Σ={a,b}\Sigma = \{a,b\} and stack alphabet Γ={#,A}\Gamma = \{ \#, A\}.

Figure 2

The number of strings of length 100100 accepted by the above pushdown automaton is ___________

Sign in to save attempts.

Loading…