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
0
0 answers
371
371 views
Peter Linz Edition 4 Exercise 7.2 Question 3 (Page No. 195)
Construct an npda that accepts the language generated by the grammar $S\rightarrow aSbb|aab$.
Naveen Kumar 3
371
views
asked
Jun 22, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
+
–
0
0 votes
0
0 answers
317
317 views
Peter Linz Edition 4 Exercise 7.2 Question 2 (Page No. 195)
Prove that the pda in Example 7.6 accepts the language $L =$ {$a^{n+1}b^{2n} : n ≥ 0$ }.
Naveen Kumar 3
317
views
asked
Jun 22, 2019
Theory of Computation
theory-of-computation
peter-linz
peter-linz-edition4
pushdown-automata
+
–
0
0 votes
0
0 answers
340
340 views
Peter Linz Edition 4 Exercise 7.2 Question 1 (Page No. 195)
Show that the pda constructed in Example 7.6 accepts the string $aaabbbb$ that is in the languagegenerated by the given grammar.Example 7.6: Construct a pda that accepts...
Naveen Kumar 3
340
views
asked
Jun 22, 2019
Theory of Computation
theory-of-computation
peter-linz
peter-linz-edition4
pushdown-automata
+
–
0
0 votes
0
0 answers
910
910 views
Peter Linz Edition 4 Exercise 7.1 Question 16 (Page No. 184)
We can define a restricted npda as one that can increase the length of the stack by at most onesymbol in each move, changing Definition 7.1 so that $\...
Naveen Kumar 3
910
views
asked
Jun 22, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
+
–
0
0 votes
0
0 answers
437
437 views
Peter Linz Edition 4 Exercise 7.1 Question 14 (Page No. 184)
Find an npda with no more than two internal states that accepts the language $L (aa^*ba^*)$.
Naveen Kumar 3
437
views
asked
Jun 22, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
+
–
0
0 votes
0
0 answers
354
354 views
Peter Linz Edition 4 Exercise 7.1 Question 13 (Page No. 184)
What language is accepted by the npda in Exercise 11 if we use $F =$ {$q_0, q_1, q_2$}?
Naveen Kumar 3
354
views
asked
Jun 22, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
+
–
0
0 votes
0
0 answers
425
425 views
Peter Linz Edition 4 Exercise 7.1 Question 11 (Page No. 184)
What language is accepted by the npda $M =$ ({$q_0, q_1, q_2$}, {$a, b$}, {$a, b, z$}, $δ, q_0, z$, {$q_2$}) withtransitions $\delta(q_0,a,z)=${$(q_1...
Naveen Kumar 3
425
views
asked
Jun 22, 2019
Theory of Computation
theory-of-computation
peter-linz
peter-linz-edition4
pushdown-automata
npda
+
–
0
0 votes
0
0 answers
411
411 views
Peter Linz Edition 4 Exercise 7.1 Question 10 (Page No. 184)
What language is accepted by the pda $M= (${$q_0,q_1,q_2,q_3,q_4,q_5$},{$a,b$},{$0,1,a$},$\delta,q_0,z,${$q_5$}),with $\delta(q_0,b,z)=...
Naveen Kumar 3
411
views
asked
Jun 22, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
+
–
1
1 vote
1
1 answer
1.3k
1.3k views
pda self doubt
The language accepted by a DPDA with a final state is more compared to the DPDA with empty stack.DPDA with empty stack accepts LR(0) grammar.Can someone explain in depth/...
manisha11
1.3k
views
asked
May 13, 2019
Theory of Computation
pushdown-automata
pushdown-automata
+
–
0
0 votes
0
0 answers
588
588 views
Michael Sipser Edition 3 Exercise 2 Question 12 (Page No. 156)
Convert the $CFG$ $G$$R\rightarrow XRX \mid S$$S\rightarrow aT b \mid bT a$$T\rightarrow XT X \mid X \mid\epsilon$$X\rightarrow a \mid b$ to an eq...
admin
588
views
asked
May 1, 2019
Theory of Computation
michael-sipser
theory-of-computation
context-free-grammar
pushdown-automata
+
–
0
0 votes
0
0 answers
527
527 views
Michael Sipser Edition 3 Exercise 2 Question 11 (Page No. 155)
Convert the $CFG$ $G_{4}$ $E\rightarrow E+T\mid T$$T\rightarrow T\times F\mid F$$F\rightarrow (E)\mid a$ to an equivalent $PDA,$ usin...
admin
527
views
asked
May 1, 2019
Theory of Computation
michael-sipser
theory-of-computation
context-free-language
pushdown-automata
+
–
0
0 votes
0
0 answers
1.3k
1.3k views
Michael Sipser Edition 3 Exercise 2 Question 10 (Page No. 155)
Give an informal description of a pushdown automaton that recognizes the language $A=\{a^{i}b^{j}c^{k}\mid i=j$ $\text{or}$ $ j=k$ $\text{where}$ $ i,j,k\geq 0\}.$
admin
1.3k
views
asked
May 1, 2019
Theory of Computation
michael-sipser
theory-of-computation
context-free-language
pushdown-automata
+
–
2
2 votes
0
0 answers
526
526 views
Michael Sipser Edition 3 Exercise 2 Question 7 (Page No. 155)
Give informal English descriptions of PDAs for the following languages.The set of strings over the alphabet $\{a,b\}$ with more $a's$ than $b's$The complement of the lang...
admin
526
views
asked
May 1, 2019
Theory of Computation
michael-sipser
theory-of-computation
context-free-language
pushdown-automata
+
–
0
0 votes
0
0 answers
1.1k
1.1k views
Michael Sipser Edition 3 Exercise 2 Question 5 (Page No. 155)
Give informal descriptions and state diagrams of pushdown automata for the languages in the following languages In all parts, the alphabet $\sum$ is $\{0,1\}.$$\text{{w| ...
admin
1.1k
views
asked
May 1, 2019
Theory of Computation
michael-sipser
theory-of-computation
context-free-language
pushdown-automata
+
–
0
0 votes
1
1 answer
893
893 views
Peter Linz Edition 4 Exercise 7.1 Question 9 (Page No. 183)
Is it possible to find a dfa that accepts the same language as the pda $M= (${$q_0,q_1$},{$a,b$},{$z$},$\delta,q_0,z,${$q_1$}),with ...
Naveen Kumar 3
893
views
asked
Apr 20, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
+
–
0
0 votes
0
0 answers
556
556 views
Peter Linz Edition 4 Exercise 7.1 Question 8 (Page No. 183)
Find an npda for the language $L =$ {$ab (ab)^n b (ba)^n : n ≥ 0$}.
Naveen Kumar 3
556
views
asked
Apr 20, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
+
–
0
0 votes
0
0 answers
649
649 views
Peter Linz Edition 4 Exercise 7.1 Question 7 (Page No. 183)
Find an npda for the concatenation of $L (a^*)$ and the language in Exercise 6.
Naveen Kumar 3
649
views
asked
Apr 20, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
+
–
0
0 votes
0
0 answers
621
621 views
Peter Linz Edition 4 Exercise 7.1 Question 6 (Page No. 183)
Find an npda on $Σ =$ {$a, b, c$} that accepts the language $L=${$w_1cw_2:w_1,w_2∈$ {$a,b$}$^*,w_1\neq w_2^R$}.
Naveen Kumar 3
621
views
asked
Apr 20, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
+
–
0
0 votes
0
0 answers
429
429 views
Peter Linz Edition 4 Exercise 7.1 Question 5 (Page No. 183)
Construct an npda that accepts the language $L =$ {$a^nb^m : n ≥ 0, n ≠ m$}.
Naveen Kumar 3
429
views
asked
Apr 20, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
+
–
0
0 votes
0
0 answers
600
600 views
Peter Linz Edition 4 Exercise 7.1 Question 4 (Page No. 183)
Construct npda's that accept the following languages on $Σ =$ {$a, b, c$}.(a) $L =$ {$a^nb^{2n} : n ≥ 0$}.(b) $L =$ {$wcw^R : w ∈$ {$a, b$}$^*$}.(c) $L =$ {$a^nb^mc^{n+m}...
Naveen Kumar 3
600
views
asked
Apr 20, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
+
–
1
1 vote
0
0 answers
822
822 views
Peter Linz Edition 4 Exercise 7.1 Question 3 (Page No. 183)
Construct npda's that accept the following regular languages.(a) $L_1 = L (aaa^*b)$.(b) $L_1 = L (aab^*aba^*)$.(c & d here)
Naveen Kumar 3
822
views
asked
Apr 20, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
+
–
0
0 votes
0
0 answers
319
319 views
Peter Linz Edition 4 Exercise 7.1 Question 2 (Page No. 183)
Prove that an npda for accepting the language $L =$ { $ww^R : w ∈$ {$a, b$}$^+$ } does not accept any string not in {$ww^R$}.
Naveen Kumar 3
319
views
asked
Apr 20, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
+
–
1
1 vote
0
0 answers
494
494 views
Peter Linz Edition 4 Exercise 7.1 Question 1 (Page No. 183)
Find a pda with fewer than four states that accepts the language $L=${$a^nb^n:n\geq 0$} $\cup$ {$a$}.
Naveen Kumar 3
494
views
asked
Apr 20, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
+
–
0
0 votes
0
0 answers
517
517 views
Ullman (TOC) Edition 3 Exercise 6.4 Question 4 (Page No. 257)
Show that the language $L=\{0^{n}1^{n}|n\geq 1\}\cup \{0^{n}1^{2n}|n\geq 1\}$is a context-free language that is not accepted by any $DPDA$ Hint$:$ Show that there must ...
admin
517
views
asked
Apr 7, 2019
Theory of Computation
ullman
theory-of-computation
pushdown-automata
context-free-language
+
–
0
0 votes
0
0 answers
292
292 views
Ullman (TOC) Edition 3 Exercise 6.4 Question 3 (Page No. 257)
We can prove Theorem $6.19$ in three parts$:$Show that if $L=N(P)$ for some $DPDA$ $P,$ then $L$ has the prefix property.Show that if $L=N(P)$ for some $DPDA$ $P,$ then...
admin
292
views
asked
Apr 7, 2019
Theory of Computation
ullman
theory-of-computation
pushdown-automata
context-free-language
+
–
2
2 votes
0
0 answers
590
590 views
Ullman (TOC) Edition 3 Exercise 6.4 Question 2 (Page No. 256 - 257)
Give deterministic pushdown automata to accept the following languages$:$$\{0^{n}1^{m}|n\leq m\}$$\{0^{n}1^{m}|n\geq m\}$$\text{\{$0^{n}1^{m}0^{n}$|n and m are arbitrary\...
admin
590
views
asked
Apr 7, 2019
Theory of Computation
ullman
theory-of-computation
pushdown-automata
context-free-language
+
–
0
0 votes
0
0 answers
950
950 views
Ullman (TOC) Edition 3 Exercise 6.4 Question 1 (Page No. 256)
For each of the following PDA's, tell whether or not it is deterministic. Either show that it meets the definition of a DPDA or find a rule or rules that violate it.$a)$ ...
admin
950
views
asked
Apr 7, 2019
Theory of Computation
ullman
theory-of-computation
pushdown-automata
context-free-grammar
+
–
0
0 votes
0
0 answers
544
544 views
Ullman (TOC) Edition 3 Exercise 6.3 Question 7 (Page No. 252)
Suppose we have a PDA with $s$ states $t$ stack symbols and no rule in which a replacement stack string has a length greater than $u.$ Give a tight upper bound on the num...
admin
544
views
asked
Apr 7, 2019
Theory of Computation
ullman
theory-of-computation
pushdown-automata
context-free-grammar
+
–
0
0 votes
0
0 answers
383
383 views
Ullman (TOC) Edition 3 Exercise 6.3 Question 6 (Page No. 252)
Show that if $P$ is a PDA, then there is a one-state PDA $,P_{1},$ such that $N(P_{1})=N(P).$
admin
383
views
asked
Apr 7, 2019
Theory of Computation
ullman
theory-of-computation
pushdown-automata
+
–
1
1 vote
0
0 answers
475
475 views
Ullman (TOC) Edition 3 Exercise 6.3 Question 5 (Page No. 252)
Below are some context-free languages.For each,devise a PDA that accepts the language by empty stack. You may ,if you wish, first construct a grammar for the language, an...
admin
475
views
asked
Apr 7, 2019
Theory of Computation
ullman
theory-of-computation
context-free-grammar
pushdown-automata
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
10
next »