Recent questions tagged pushdown-automata

0 0 votes
0 0 answers
1.4k
1.4k views
2 2 votes
2 2 answers
1.5k
1.5k views
Consider the following CFG 'G'S aA/bSS/SSA aAb/bAa/AA/εThe language generated by G is:a)Set of all strings with atleast one 'a'b)Set of all strings with atleast two a's...
0 0 votes
0 0 answers
1.9k
1.9k views
$1)$"We can solve same PDA with empty stack and using final state"Can give an example of such language? Where is the difference between solving a pda with empty stak and ...
0 0 votes
0 0 answers
304
304 views
Is it required to initialize stack symbol in PDA?If yes then does this PDA have valid transitions?
0 0 votes
1 1 answer
1.9k
1.9k views
$\overline{L(M)}$ isRegular DCFL but not regularCFL but not DCFLRecursive but not CFL
0 0 votes
1 1 answer
761
761 views
L={ai bj | i ≠ 2j+1}please give PDA for this language
1 1 vote
0 0 answers
751
751 views
I read this excerpt from sipser book-We write “a,b → c” to signify that when the machine is reading ana from the input, it may replace the symbol b on the top of the stac...
0 0 votes
0 0 answers
1.5k
1.5k views
Consider following PDA WHICH OF FOLLOWING IS TRUE ABOUT LANGUAGE ACCEPTED BY IT ?A. Regular but infiniteB. Regular but finiteC. DCFL but not regularD. CFL but not DCFL
0 0 votes
0 0 answers
1.7k
1.7k views
Consider the Context free language which has equal no of as and bs. eg- ababSince a proper prefix ab also belongs to this language, this language does not satisfy prefix...
0 0 votes
0 0 answers
1.8k
1.8k views
Consider A given PDA as following Qo is the start state here. What is the language accepted by the given PDA ?1. { ( bn a bn a )m | m,n ≥ 0 }2. { ( bn a bn a )m | m,n ≥ ...
1 1 vote
1 answers 1 answer
3.9k
3.9k views
what is the DPDA for L=$a^{2n+1}b^n$ | n>1
0 0 votes
0 0 answers
570
570 views
L=$a^mb^n$ | m!=nis the following DPDA correct for the mentioned language?
0 0 votes
0 0 answers
2.6k
2.6k views
what is the PDA for {L=$a^mb^n$ |m>n}
0 0 votes
1 1 answer
934
934 views
For a grammar to be LR(k), it should have a PDA? Like a DPDA or just PDA in general?
1 1 vote
0 0 answers
2.5k
2.5k views
Is this approach of acceptance by empty stack correct ?I am confused because i have read that acceptance by empty stack may not be able to accept all regular languages.
0 0 votes
6 6 answers
4.3k
4.3k views
A pushdown automata behaves like a Turing machine when the number of auxiliary memory is011 or more2 or more
0 0 votes
3 3 answers
3.9k
3.9k views
Pushdown automata can recognize language generated by _______Only context free grammarOnly regular grammarContext free grammar or regular grammarOnly context sensitive gr...
0 0 votes
0 0 answers
1.5k
1.5k views
Please can anyone explain the PDA for reverse of a string via a transition graph
4 4 votes
2 2 answers
3.6k
3.6k views
$\left \{ a^{m+n}b^{m+n}c^{n}|m,n\geq 1 \right \}$$\left \{ a^{m+n}b^{m+n}c^{k} |m,n,k\geq 1\right \}$$\left \{ a^{m+n}b^{m+k}c^{n+k} |m,n,k\geq 1\right \}$Which one DCFL...
1 1 vote
0 0 answers
409
409 views
Why only stack data structure is used for implementing pushdown automata(pda) why not others ???
0 0 votes
1 1 answer
1.6k
1.6k views
$a^i b^j / i$ should not be equal to $2j+1$give PDA for this language
0 0 votes
1 1 answer
783
783 views
0 0 votes
0 0 answers
1.1k
1.1k views
Construct a NPDA corresponding to the grammar.$S \rightarrow AA|a$$A\rightarrow SA|b$also convert the given grammar to GNF.
0 0 votes
1 1 answer
993
993 views
Is true..? In an unambiguous grammar every string has exactly one derivation.
3 3 votes
1 1 answer
1.0k
1.0k views
Which is more powerful :- 2-way Non-Deterministic Pushdown Machine(NDPDM) or 2-way Deterministic Pushdown Machine(DPDM) ? (or) Do both machine models have the same power ...
0 0 votes
2 2 answers
807
807 views
Statement 1 : For push down automata Determinism ≠ Non-determinismStatement 2 : For Finite Automata Non-determinism = DeterminismWhich of the following is correct?Both st...
3 3 votes
0 0 answers
2.9k
2.9k views
Which of the following statement TRUE & also EXPLAIN WHY...(1) "Power of Turing Machine is Equal to Power of DFA with 2 Stack"(2) "Power of Turing Machine is Equal to Pow...
0 0 votes
0 0 answers
1.7k
1.7k views
I'm getting its equaltion {anbn | n 0} U {a} U {b}But given is {anbn | n >= 0} U {a} U {b}Whether epsilon is accepted or not??
2 2 votes
3 3 answers
2.9k
2.9k views
Not able to understand whether it is CFL or not due to the condition 'm>=481'.
1 1 vote
2 answers 2 answers
1.6k
1.6k views
$L1 = \bigl\{a^mb^nc^pd^q \mid m+q = n+p \bigr\}$$L2 = \bigl\{a^mb^nc^pd^q \mid m+p = n+q \bigr\}$1. L1 is DCFL, L2 is not2. L2 is DCFL, L1 is not3. Both are not DCFL...