• edited by
1,448 views
0 0 votes
assume pda stack is limited to 210 symbols .now stack can contain maximum of 2^10 symbols The language Accepted by such pda is

a)regular lang but not finite

b)dcfl but not regular

c)cfl but not dcfl

d)non of these

actually my doubt is that pda with finite stack is equivalent to finite automata so it will accept regular language is fine but not finite how???

1 Answer

1 1 vote
Finite automata means that it has the finite amount of memory ...so suppose here it is 2^10....so for every language we are not going to use the whole memory...sometimes we may use or may not.

for example,

the language which we can generate here is  1.(the string containing ab) or (string at least two a) or (string of 0* or 1* ) or (string of (0 + 1)*  ) ...........

so this all languages are regular but these can generate infinite strings in the language .....so not finite
Position:
Show:

Related questions

0 0 votes
1 1 answer
1.1k
1.1k views
anujs asked Oct 2, 2024
1,105 views
1) is $\Sigma = \{a,b, \epsilon\}$ possible?2) is $L = \{ab,ba, \epsilon\}$ possible?3) is $\{ \epsilon \}$ a subset of all alphabets or languages?4) is $\phi = \{ \}$ a ...
0 0 votes
0 0 answers
456
456 views
shekabhi.as asked Sep 8, 2024
456 views
given language aibj / i = 2j+1 how to design PDA?
0 0 votes
0 0 answers
215
215 views
arpit.jha asked Jul 31, 2024
215 views
Can we have multiple stack operation on 1 input symbol in PDA ? Like below, here we are pushing 2 a's for 1 i/p aPS: This PDA is a solution to this GATE question https://...
3 3 votes
2 2 answers
1.1k
1.1k views
Jiten008 asked Oct 24, 2023
1,118 views
Can anyone explain $\overline{ww}$ is $CFL$ or $CSL$ And if $CFL$ can you write the equivalent $CFG$ for this ?