Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged pushdown-automata
1
1 vote
1
1 answer
43
43 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
43
views
asked
2 days
ago
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
48
48 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
48
views
asked
2 days
ago
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
45
45 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
45
views
asked
2 days
ago
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
31
31 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
31
views
asked
2 days
ago
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-370
goclasses-toc-practice-questions
pushdown-automata
multiple-selects
+
–
1
1 vote
1
1 answer
23
23 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
23
views
asked
2 days
ago
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-370
goclasses-toc-practice-questions
pushdown-automata
+
–
1
1 vote
2
2 answers
79
79 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
79
views
asked
4 days
ago
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
40
40 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
40
views
asked
4 days
ago
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
36
36 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
36
views
asked
4 days
ago
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
75
75 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
75
views
asked
5 days
ago
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
46
46 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
46
views
asked
5 days
ago
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
50
50 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
50
views
asked
5 days
ago
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
49
49 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
49
views
asked
5 days
ago
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
55
55 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
55
views
asked
5 days
ago
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
63
63 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
63
views
asked
6 days
ago
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
58
58 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
58
views
asked
6 days
ago
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
85
85 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
85
views
asked
6 days
ago
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
58
58 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
58
views
asked
6 days
ago
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
69
69 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
69
views
asked
6 days
ago
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-368
goclasses-toc-practice-questions
pushdown-automata
multiple-selects
+
–
2
2 votes
1
1 answer
114
114 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
114
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
78
78 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
78
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
55
55 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
55
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
67
67 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
67
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
68
68 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
68
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
109
109 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
109
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
470
470 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
470
views
asked
Sep 23, 2025
Theory of Computation
theory-of-computation
pushdown-automata
context-free-language
+
–
0
0 votes
0
0 answers
305
305 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
305
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
99
99 views
NIELIT Scientific Assistant June 2025 | Question: 86
What does a Push-Down Automaton $\text{(PDA)}$ use to make decisions?StackQueueTapeRegister
Shubham Sharma 2
99
views
asked
Jul 24, 2025
Theory of Computation
nielit-sta-2025
pushdown-automata
theory-of-computation
+
–
0
0 votes
1
1 answer
467
467 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
467
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
398
398 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
398
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 »