Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged pushdown-automata
8
votes
3
answers
151
True or False Question regarding DPDA and prefix property
a) A DPDA which accepts by empty stack cannot accept all Regular Languages? b) All Regular Languages doesn't satisfy prefix property?
a) A DPDA which accepts by empty stack cannot accept all Regular Languages?b) All Regular Languages doesn't satisfy prefix property?
iarnav
5.5k
views
iarnav
asked
Sep 16, 2017
Theory of Computation
theory-of-computation
regular-language
pushdown-automata
dpda
context-free-language
finite-automata
+
–
2
votes
3
answers
152
What is Prefix Property in TOC?
Can someone explain what's this prefix property, there's no proper explanation on google and may you please explain with taking some examples. Thanks.
Can someone explain what's this prefix property, there's no proper explanation on google and may you please explain with taking some examples. Thanks.
iarnav
4.7k
views
iarnav
asked
Sep 15, 2017
Theory of Computation
theory-of-computation
pushdown-automata
context-free-language
+
–
0
votes
2
answers
153
How to draw PDA for given Language?
$L=\{a^nb^n\mid n≥0\}$ Kindly draw a PDA for this, I'm confused, how to deal with epsilon string?
$L=\{a^nb^n\mid n≥0\}$ Kindly draw a PDA for this, I'm confused, how to deal with epsilon string?
iarnav
990
views
iarnav
asked
Sep 15, 2017
Theory of Computation
theory-of-computation
pushdown-automata
+
–
0
votes
2
answers
154
General Topic Doubt Theory of Computation: Context Free Language
I am confused in understanding DPDA and NPDA..........Also DCFL and CFL......bcz these are quit similar in looking so please explain in such a way that I 'm able to understand them well......thanks
I am confused in understanding DPDA and NPDA..........Also DCFL and CFL......bcz these are quit similar in looking so please explain in such a way that I 'm able to und...
sudhir singh
380
views
sudhir singh
asked
Sep 9, 2017
Theory of Computation
context-free-language
pushdown-automata
general-topic-doubt
+
–
0
votes
1
answer
155
TOC PDA
construct a pda fora^mb^n such that m=2n+1?
construct a pda fora^mb^n such that m=2n+1?
akshat16
1.2k
views
akshat16
asked
Sep 7, 2017
Theory of Computation
pushdown-automata
context-free-language
+
–
1
votes
3
answers
156
PDA =FA+1stack??
we know that PDA = FA+1stack so why we use the stack data structure in PDA, we have much more data structure like linked liste,queue, array or tree/hashing???
we know that PDA = FA+1stack so why we use the stack data structure in PDA, we have much more data structure like linked liste,queue, array or tree/hashing???
Hira Thakur
794
views
Hira Thakur
asked
Sep 1, 2017
Theory of Computation
pushdown-automata
+
–
2
votes
0
answers
157
Prefix property and DPDA
Construct the DPDA with empty stack and final state method for the language L = ${ a^n b^n / n>= 0}$.
Construct the DPDA with empty stack and final state method for the language L = ${ a^n b^n / n>= 0}$.
Shubhanshu
2.6k
views
Shubhanshu
asked
Aug 28, 2017
Theory of Computation
theory-of-computation
pushdown-automata
context-free-language
+
–
1
votes
1
answer
158
Deterministic Push Down Automata
What is main difference between Deterministic Push down automata and simple Push down automata ?
What is main difference between Deterministic Push down automata and simple Push down automata ?
ashutoshaay26
1.2k
views
ashutoshaay26
asked
Aug 15, 2017
Theory of Computation
theory-of-computation
dpda
pushdown-automata
+
–
1
votes
0
answers
159
Push Down AUTOMATA
which PDA is more Powerful Deterministic or Non Deterministic and why?
which PDA is more Powerful Deterministic or Non Deterministic and why?
Sunil8860
348
views
Sunil8860
asked
Aug 12, 2017
Theory of Computation
theory-of-computation
pushdown-automata
+
–
2
votes
2
answers
160
Test by Bikram | Theory of Computation | Test 2 | Question: 24
Consider the following Pushdown Automata Transition Function $\delta$ : 1. $\delta ( q_0 , \epsilon, z_0 ) = ( q_0 , \epsilon)$ 2. $\delta ( q_0 , 0, z_0 ) = ( q_0 , xz_0 )$ 3. $\delta ( q_0 , 0, x ) = ( q_1 , x)$ ... $\{0^{2n} 1^n \mid n \geq 0\}$ $\{0^{2n} 1^{2n} \mid n \geq 0\}$
Consider the following Pushdown Automata Transition Function $\delta$ :1. $\delta ( q_0 , \epsilon, z_0 ) = ( q_0 , \epsilon)$2. $\delta ( q_0 , 0, z_0 ) = (...
Bikram
544
views
Bikram
asked
Aug 12, 2017
Theory of Computation
tbb-toc-2
theory-of-computation
pushdown-automata
+
–
1
votes
0
answers
161
How to construct a PDA for the language {a^mb^n:m<2n<3m}
Durgesh Singh
1.2k
views
Durgesh Singh
asked
Aug 11, 2017
Theory of Computation
theory-of-computation
context-free-language
pushdown-automata
+
–
1
votes
1
answer
162
Design PDA for
Design PDA for i) L={a^n b^m c^n|m,n>=1} ii) L={a^m b^n c^p|m+n=p} iii) L={a^i b^i c^j|i,j=1} iv) L={a^i b^j c^j|i,j>=1} I have made an attempt to draw pda Please can someone crosscheck the answer?
Design PDA for i) L={a^n b^m c^n|m,n>=1}ii) L={a^m b^n c^p|m+n=p}iii) L={a^i b^i c^j|i,j=1}iv) L={a^i b^j c^j|i,j>=1}I have made an attempt to draw pda Please can someone...
pricool84
2.1k
views
pricool84
asked
Aug 6, 2017
Theory of Computation
theory-of-computation
pushdown-automata
context-free-language
dcfl
+
–
1
votes
1
answer
163
TOC PDA
True/False 1. In PDA, if Final state = phi(empty) ,then language accepted =phi. 2. In PDA, if Final state != phi(empty) ,then PDA will always accept at least one string..
True/False1. In PDA, if Final state = phi(empty) ,then language accepted =phi.2. In PDA, if Final state != phi(empty) ,then PDA will always accept at least one string..
rahul sharma 5
613
views
rahul sharma 5
asked
Aug 2, 2017
Theory of Computation
theory-of-computation
pushdown-automata
context-free-language
+
–
1
votes
1
answer
164
Basic Dount in PDA functioning
Assume my language is WW^R (Palidromes) Now when we use PDA for this,we will guess middle everytime.It can be middle or it cant be middle,so a new branch is created everytime.Now each branch will get the current stack picture and starts its ... that branch fails,we need to proceed further but how single stack is able to manage this scenerio? Can some one explain this?
Assume my language is WW^R (Palidromes)Now when we use PDA for this,we will guess middle everytime.It can be middle or it cant be middle,so a new branch is created everyt...
rahul sharma 5
186
views
rahul sharma 5
asked
Aug 2, 2017
Theory of Computation
theory-of-computation
pushdown-automata
+
–
1
votes
1
answer
165
TOC DPDA vs NPDA
How many stacks are available with DPDA and NPDA? I assume it is 1 with DPDA and n with NPDA where n is some constant. Assume i have a language ,over alphabet a,b,c,dL=( W |n(a)=n(b) and n(c)=n(d) ),where n(a) is number if a in words. It is a CFL. Now can DPA handle this ?If yes,then how?If not,then why?
How many stacks are available with DPDA and NPDA? I assume it is 1 with DPDA and n with NPDA where n is some constant.Assume i have a language ,over alphabet a,b,c,dL=( W...
rahul sharma 5
2.0k
views
rahul sharma 5
asked
Jul 31, 2017
Theory of Computation
pushdown-automata
npda
theory-of-computation
context-free-language
deterministic-context-free-grammars
+
–
3
votes
3
answers
166
Following language: L = {a^n b^n c^n d^n , n ≥ 1} ,How it is CSL and not CFL?
My understanding : We can create PDA as follows for every 'a' push operation and on 'b' pop operation and again on 'c' push operation and on seeing 'd' pop operation. please correct me , if i am wrong. I am sorry, if it is not important. Thanks lot :)
My understanding :We can create PDA as followsfor every 'a' push operation and on 'b' pop operation and again on 'c' push operation and on seeing 'd' pop operation.pleas...
sunil sarode
10.7k
views
sunil sarode
asked
Jul 11, 2017
Theory of Computation
theory-of-computation
context-free-language
pushdown-automata
+
–
2
votes
1
answer
167
Peter Linz Edition 4 Exercise 7.1 Question 3.c,3.d,4.f,4.j (Page No. 183)
Q3) Given, $L_1 = (aaa^*b)$ $L_2 = (aab^*aba^*)$ Find (c) the union of $L_1$ and $L_2$, and also find (d) $L_1 - L_2$. Q4) Find the npda's of the following: f) $L = \{ a^nb^m :n \leq m \leq 3n\}$ j) $L = \{w : 2n_a(w) \leq n_b(w)) \leq 3n_a(w) \}$.
Q3) Given,$L_1 = (aaa^*b)$$L_2 = (aab^*aba^*)$Find (c) the union of $L_1$ and $L_2$, and also find (d) $L_1 - L_2$.Q4) Find the npda's of the following:f) $L = \{ a^nb^m...
Shubhanshu
1.9k
views
Shubhanshu
asked
Jul 8, 2017
Theory of Computation
theory-of-computation
context-free-language
peter-linz
peter-linz-edition4
pushdown-automata
npda
+
–
2
votes
2
answers
168
Doubt whether given language is CFL?
L={a^n b^(2n+1) | n>=1} Also can you give acceping PDA diagram...plz
L={a^n b^(2n+1) | n>=1}Also can you give acceping PDA diagram...plz
Veeplob Singh
887
views
Veeplob Singh
asked
Jul 6, 2017
Theory of Computation
theory-of-computation
context-free-language
pushdown-automata
+
–
0
votes
2
answers
169
NPDA and DPDA
Can we make NPDA? L= {anbn| n>=0,a,b are input variables} if yes then make it .
Can we make NPDA? L= {anbn| n>=0,a,b are input variables}if yes then make it .
akankshadewangan24
2.5k
views
akankshadewangan24
asked
Jul 6, 2017
Theory of Computation
pushdown-automata
npda
+
–
1
votes
0
answers
170
#pda #tm #deterministic
How can a DTM can simulate a NTM, but a DPDA can not simulate a NPDA. ? Reason? I read the proedure for a DTM to simulate a NTM but can not get why its not so with pda. Any clue ?
How can a DTM can simulate a NTM, but a DPDA can not simulate a NPDA. ? Reason?I read the proedure for a DTM to simulate a NTM but can not get why its not so with pda. A...
Shivansh Gupta
354
views
Shivansh Gupta
asked
Jul 6, 2017
Theory of Computation
turing-machine
pushdown-automata
non-determinism
+
–
0
votes
1
answer
171
Language which is not a CSL but can be accepted by TM
Can anyone give me an example of a language which is not a CSL but can be accepted using a Halting TM?
Can anyone give me an example of a language which is not a CSL but can be accepted using a Halting TM?
Xylene
1.6k
views
Xylene
asked
Jun 15, 2017
Theory of Computation
theory-of-computation
context-free-language
pushdown-automata
context-sensitive
recursive-and-recursively-enumerable-languages
turing-machine
+
–
4
votes
1
answer
172
Peter Linz Edition 4 Exercise 7.1 Question 4.h(Page No. 183)
Construct npda for the following languages on $∑ =$ {$a,b,c$} $L =$ { $w : n_a(w) = 2*n_b(w)$ }
Construct npda for the following languages on $∑ =$ {$a,b,c$} $L =$ { $w : n_a(w) = 2*n_b(w)$ }
Vishal Goel
1.9k
views
Vishal Goel
asked
Apr 30, 2017
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
+
–
12
votes
1
answer
173
ISI 2015 PCB C4 A
Design a context free grammar for the language consisting of all strings over $\mathbf{\{a,b\}}$ that are not the form $\mathbf{ww}$ for any string $\mathbf{w}$
Design a context free grammar for the language consisting of all strings over $\mathbf{\{a,b\}}$ that are not the form $\mathbf{ww}$ for any string $\mathbf{w}$
Devasish Ghosh
1.4k
views
Devasish Ghosh
asked
Mar 9, 2017
Theory of Computation
pushdown-automata
theory-of-computation
isi2015
+
–
1
votes
1
answer
174
PDA..
Plz describe your ans too
Plz describe your ans too
srestha
387
views
srestha
asked
Jan 28, 2017
Theory of Computation
pushdown-automata
+
–
1
votes
1
answer
175
TestBook
How to interpret the transitions? I interpreted as L={a*}
How to interpret the transitions? I interpreted as L={a*}
Sushant Gokhale
289
views
Sushant Gokhale
asked
Jan 16, 2017
Theory of Computation
pushdown-automata
+
–
1
votes
1
answer
176
If L is any language accepted by DPDA with stack containing only one symbol. Then L can be
Ami Ladani
1.9k
views
Ami Ladani
asked
Jan 13, 2017
Theory of Computation
theory-of-computation
context-free-language
pushdown-automata
+
–
1
votes
1
answer
177
Pda question
Is WcW CFG?
Is WcW CFG?
Adiaspirant
1.7k
views
Adiaspirant
asked
Jan 11, 2017
Theory of Computation
pushdown-automata
+
–
0
votes
1
answer
178
MadeEasy Subject Test: Theory of Computation - Pushdown Automata
Here aa is accepted, in which number of a's and b's is not equal. So, shouldn't option D is correct.
Here aa is accepted, in which number of a's and b's is not equal. So, shouldn't option D is correct.
Lucky sunda
469
views
Lucky sunda
asked
Jan 7, 2017
Theory of Computation
made-easy-test-series
theory-of-computation
pushdown-automata
+
–
2
votes
1
answer
179
Working with PDA transitions
Either I dont understand PDA at all or this question is wrong or I am missing something very basic:
Either I dont understand PDA at all or this question is wrong or I am missing something very basic:
Mahesha999
347
views
Mahesha999
asked
Jan 1, 2017
Theory of Computation
pushdown-automata
+
–
0
votes
1
answer
180
Non deterministic PDA
Can the NPDA constructed to accept L, such that L = L1 U L2 , L1 = {1n 0n | n > 0} and L2 = {0n 12n | n > 0} be drawn like this? This is an informal representation of NPDA. Is this correct? Or should the NPDA accepting language L should have 2 final states?
Can the NPDA constructed to accept L, such that L = L1 U L2 , L1 = {1n 0n | n 0} and L2 = {0n 12n | n 0} be drawn like this?This is an informal representation of NPDA. ...
Nithish
1.7k
views
Nithish
asked
Dec 14, 2016
Theory of Computation
pushdown-automata
theory-of-computation
+
–
Page:
« prev
1
2
3
4
5
6
7
8
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register