Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged pushdown-automata
0
0 votes
1
1 answer
54
54 views
GO Classes DPP | GATE CS | Theory of Computation | DPDA vs NPDA
Which one of the following statements concerning pushdown automata is false?Here, "accept" means acceptance by empty stack.Every context-free language is accepted by some...
GO Classes
54
views
asked
3 days
ago
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-388
goclasses-toc-practice-questions
pushdown-automata
+
–
1
1 vote
1
1 answer
94
94 views
GO Classes DPP | GATE CS | Theory of Computation | Nondeterministic Paths
A PDA accepts exactly the strings over $\{a,b\}$ whose middle symbol is $a$. Which strings are accepted?$aba$ $aa$ $abb$ $baa$ $bab$ $baaaa$
GO Classes
94
views
asked
Sep 14
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-371
goclasses-toc-practice-questions
pushdown-automata
multiple-selects
+
–
1
1 vote
1
1 answer
101
101 views
GO Classes DPP | GATE CS | Theory of Computation | PDA Trace
A PDA accepts $L=\{0^{2n}1^n\mid n>0\}$. Which strings are accepted?$001$ $000011$ $0001$ $000000111$ $\epsilon$
GO Classes
101
views
asked
Sep 14
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-371
goclasses-toc-practice-questions
pushdown-automata
multiple-selects
+
–
1
1 vote
1
1 answer
100
100 views
GO Classes DPP | GATE CS | Theory of Computation | PDA Empty-Stack
Let $M$ be a PDA that accepts by empty stack. Every transition reads exactly one input symbol, and every transition either pushes one stack symbol or pops one stack symbo...
GO Classes
100
views
asked
Sep 14
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-371
goclasses-toc-practice-questions
pushdown-automata
+
–
1
1 vote
1
1 answer
81
81 views
GO Classes DPP | GATE CS | Theory of Computation | PDA Trace Analysis
A PDA accepts the language $L=\{a^n b^m \mid m>n\ge 0\}$. Which of the following strings are accepted?$aabbb$ $bbbb$ $aaab$ $abb$ $\epsilon$
GO Classes
81
views
asked
Sep 14
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-370
goclasses-toc-practice-questions
pushdown-automata
multiple-selects
+
–
2
2 votes
1
1 answer
62
62 views
GO Classes DPP | GATE CS | Theory of Computation | Empty-Stack Reasoning
Let $M$ be a PDA that accepts by empty stack. Suppose every transition of $M$ reads exactly one input symbol, and every transition either pushes one stack symbol or pops ...
GO Classes
62
views
asked
Sep 14
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-370
goclasses-toc-practice-questions
pushdown-automata
+
–
2
2 votes
2
2 answers
133
133 views
GO Classes DPP | GATE CS | Theory of Computation | Acceptance Conversion
A PDA $P$ accepts a language by final state. We want to construct another PDA $P_1$ such that $N(P_1)=L(P)$, meaning $P_1$ accepts by empty stack exactly the language acc...
GO Classes
133
views
asked
Sep 12
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-370
goclasses-toc-practice-questions
pushdown-automata
+
–
1
1 vote
1
1 answer
78
78 views
GO Classes DPP | GATE CS | Theory of Computation | Trace Accepted Strings
States $q_1$ and $q_4$ are final states. The PDA pushes one $a$ for every input $a$, pops one $a$ for every input $b$, and then reads any number of $c$'s. Which strings a...
GO Classes
78
views
asked
Sep 12
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-370
goclasses-toc-practice-questions
pushdown-automata
+
–
1
1 vote
1
1 answer
78
78 views
GO Classes DPP | GATE CS | Theory of Computation | PDA Language Analysis
The PDA first pushes either two or three $\#$ symbols for every input $0$, then pops one $\#$ for every input $1$. Which language is accepted? $\{0^n1^m \mid 2n\le m\le 3...
GO Classes
78
views
asked
Sep 12
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-370
goclasses-toc-practice-questions
pushdown-automata
+
–
1
1 vote
1
1 answer
117
117 views
GO Classes DPP | GATE CS | Theory of Computation | Nested matching
A PDA accepts properly nested strings over $\{(,),[,]\}$ by pushing every opening symbol and popping only when the closing symbol matches the top of stack. Which strings ...
GO Classes
117
views
asked
Sep 11
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-369
goclasses-toc-practice-questions
pushdown-automata
multiple-selects
+
–
1
1 vote
1
1 answer
83
83 views
GO Classes DPP | GATE CS | Theory of Computation | Nondeterministic Matching
Let $L=\{a^m b^n \mid m\le n\le 2m,\ m,n\ge 0\}$. Which strings belong to $L$?$\epsilon$ $ab$ $abb$ $aabbb$ $aabbbbb$ $aaabb$
GO Classes
83
views
asked
Sep 11
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-369
goclasses-toc-practice-questions
pushdown-automata
multiple-selects
+
–
2
2 votes
1
1 answer
88
88 views
GO Classes DPP | GATE CS | Theory of Computation | PushDown Automata
For $L=\{w\in{a,b}^* \mid n_a(w)=2n_b(w)\}$, which invariant should a PDA maintain using stack symbols $A$ and $B$ for surplus?$n_a(\text{read})-2n_b(\text{read})=\#A-\#B...
GO Classes
88
views
asked
Sep 11
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-369
goclasses-toc-practice-questions
pushdown-automata
+
–
1
1 vote
1
1 answer
84
84 views
GO Classes DPP | GATE CS | Theory of Computation | PushDown Automata Design
Let $L=\{x?y \mid x,y\in{0,1}^*$ and $y=x^R\}$. Which of the following strings belong to $L$?$01?10$ $01?01$ $10?01$ $110?110$ $?$
GO Classes
84
views
asked
Sep 11
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-369
goclasses-toc-practice-questions
pushdown-automata
multiple-selects
+
–
1
1 vote
1
1 answer
94
94 views
GO Classes DPP | GATE CS | Theory of Computation | PushDown Automata Design
For the language $L=\{w\in{a,b}^* \mid n_a(w)=n_b(w)\}$, which statements describe a correct PDA design idea?Use the stack to store the currently unmatched majority symbo...
GO Classes
94
views
asked
Sep 11
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-369
goclasses-toc-practice-questions
pushdown-automata
multiple-selects
+
–
0
0 votes
1
1 answer
109
109 views
GO Classes DPP | GATE CS | Theory of Computation | PushDown Automata
Let $L=\{w\in{a,b}^*\mid w$ has even length and $w$ is not a palindrome$\}$. Which PDA idea correctly recognizes $L$?Push the first half of the input, nondeterministicall...
GO Classes
109
views
asked
Sep 10
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-368
goclasses-toc-practice-questions
pushdown-automata
+
–
1
1 vote
1
1 answer
95
95 views
GO Classes DPP | GATE CS | Theory of Computation | PushDown Automata
Which PDA strategy correctly accepts $L=\{a^i b^j c^k\mid i=j \text{ or } j=k\}$?Nondeterministically choose one of two branches.In branch $1$, compare $a$'s with $b$'s a...
GO Classes
95
views
asked
Sep 10
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-368
goclasses-toc-practice-questions
pushdown-automata
+
–
1
1 vote
1
1 answer
117
117 views
GO Classes DPP | GATE CS | Theory of Computation | PushDown Automata
For the language $L=\{a^n b^m\mid n\ge m\ge 0\}$, a PDA pushes one $A$ for every $a$ and pops one $A$ for every $b$. Which acceptance condition is correct?Accept when inp...
GO Classes
117
views
asked
Sep 10
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-368
goclasses-toc-practice-questions
pushdown-automata
+
–
1
1 vote
1
1 answer
93
93 views
GO Classes DPP | GATE CS | Theory of Computation | Extra-Symbol Design
A PDA is designed for $L=\{a^n b^{n+1}\mid n\ge 0\}$. It pushes one $A$ for every $a$, pops one $A$ for every matching $b$, and consumes one extra $b$ when the stack top ...
GO Classes
93
views
asked
Sep 10
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-368
goclasses-toc-practice-questions
pushdown-automata
multiple-selects
+
–
1
1 vote
1
1 answer
104
104 views
GO Classes DPP | GATE CS | Theory of Computation | Stack Counting
Consider a PDA with transitions $:$$\delta(q_0,a,Z)=\{(q_0,AZ)\}$ $\delta(q_0,a,A)=\{(q_0,AA)\}$ $\delta(q_0,b,A)=\{(q_1,\epsilon)\}$ $\delta(q_1,b,A)=\{(q_1,\epsilon)\}...
GO Classes
104
views
asked
Sep 10
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-368
goclasses-toc-practice-questions
pushdown-automata
multiple-selects
+
–
4
4 votes
1
1 answer
170
170 views
GO Classes DPP | GATE CS | Theory of Computation | PDA Trace Analysis
Consider the PDA $P=(\{q,p\},\{0,1\},\{Z_0,X\},\delta,q,Z_0,\{p\})$ with transition rules:$\delta(q,0,Z_0)=\{(q,XZ_0)\}$ $\delta(q,0,X)=\{(q,XX)\}$ $\delta(q,1,X)=\{(q,...
GO Classes
170
views
asked
Sep 9
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-367
goclasses-toc-practice-questions
pushdown-automata
multiple-selects
+
–
1
1 vote
1
1 answer
125
125 views
GO Classes DPP | GATE CS | Theory of Computation | Final-State Acceptance
Suppose $D$ is a DPDA that accepts $L(D)$ by final state. Let $D'$ be the same DPDA, but with final states changed from $F$ to $Q-F$. Is it always true that $L(D')=\overl...
GO Classes
125
views
asked
Sep 9
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-367
goclasses-toc-practice-questions
pushdown-automata
+
–
1
1 vote
1
1 answer
94
94 views
GO Classes DPP | GATE CS | Theory of Computation | Competing Epsilon Move
Suppose a PDA has the transition rules $\delta(q_1,a,c)=\{(q_3,c)\}$ and $\delta(q_1,\epsilon,c)=\{(q_1,c)\}$. From the current configuration $(q_1,acbc,c\#Z)$, where the...
GO Classes
94
views
asked
Sep 9
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-367
goclasses-toc-practice-questions
pushdown-automata
+
–
1
1 vote
1
1 answer
126
126 views
GO Classes DPP | GATE CS | Theory of Computation | N-PDA
Consider an NPDA $(Q,\Sigma,\Gamma,\delta,q_0,z,F)$ where$Q=\{q_0,q_1,q_2,q_3\}$$\Sigma=\{a,b\}$$\Gamma=\{0,1\}$$z=0$$F=\{q_3\}$Suppose the transition rules include $\del...
GO Classes
126
views
asked
Sep 9
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-367
goclasses-toc-practice-questions
pushdown-automata
+
–
1
1 vote
1
1 answer
117
117 views
GO Classes DPP | GATE CS | Theory of Computation | PDA Transition
Suppose an NPDA has the transition rule $\delta(q_1,a,b)=\{(q_2,cd),(q_3,\epsilon)\}$. If the current configuration is $(q_1,abb,bZ)$, where the stack is written top to b...
GO Classes
117
views
asked
Sep 9
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-367
goclasses-toc-practice-questions
pushdown-automata
multiple-selects
+
–
1
1 vote
1
1 answer
124
124 views
UGC NET CSE | December 2025 | Part 2 | Question: 56
Which of the following languages cannot be accepted by push down automata?$\mathrm{L}=\left\{\mathrm{a}^\mathrm{n} \mathrm{b}^{n} c^\mathrm{n}: \mathrm{n} \geq 0\right\}$...
Shubham Sharma 2
124
views
asked
Apr 19
Theory of Computation
ugcnetcse-dec2025
theory-of-computation
pushdown-automata
context-free-language
identify-class-language
+
–
0
0 votes
0
0 answers
484
484 views
Test Series
$$L = \{\, a^{n} b^{m} c^{k} \mid n,m,k 0 \text{ and } k = |n-m| \,\}$$Is it dcfl or cfl ?my approachWe can split the condition \(k = |n - m|\) into two cases:Case 1:\(n...
JHighlight
484
views
asked
Sep 23, 2025
Theory of Computation
theory-of-computation
pushdown-automata
context-free-language
+
–
0
0 votes
0
0 answers
311
311 views
NIELIT Scientific Assistant June 2025 | Question: 116
Which of the following is the most powerful computational model?Finite AutomatonPush-Down AutomatonTuring MachineLinear Bounded Automaton
Shubham Sharma 2
311
views
asked
Jul 24, 2025
Theory of Computation
nielit-sta-2025
theory-of-computation
turing-machine
finite-automata
pushdown-automata
linear-bounded-automata
+
–
1
1 vote
0
0 answers
107
107 views
NIELIT Scientific Assistant June 2025 | Question: 86
What does a Push-Down Automaton $\text{(PDA)}$ use to make decisions?StackQueueTapeRegister
Shubham Sharma 2
107
views
asked
Jul 24, 2025
Theory of Computation
nielit-sta-2025
pushdown-automata
theory-of-computation
+
–
0
0 votes
1
1 answer
478
478 views
#TOC #PDA #CFL
Question:LetL = { a^i b^j / i != 2j+1 } where i,j >=1 (a) Is LLL a deterministic context-free language (DCFL)?(b) Justify your answer with reasoning.
PRAFFUL_CHAMOLI
478
views
asked
Jul 14, 2025
Theory of Computation
theory-of-computation
finite-automata
pushdown-automata
non-determinism
turing-machine
+
–
2
2 votes
1
1 answer
415
415 views
TIFR CSE 2025 | Part B | Question: 4
Consider the following languages:$L_{1}$ is the set of languages recognised by a deterministic pushdown automaton.$L_{2}$ is the set of languages recognised by a nondeter...
Shubham Sharma 2
415
views
asked
Jun 16, 2025
Theory of Computation
tifr2025
theory-of-computation
pushdown-automata
turing-machine
recursive-and-recursively-enumerable-languages
+
–
Page:
1
2
3
4
5
6
...
10
next »