edited by
953 views
0 votes
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???
edited by

1 Answer

1 votes
1 votes
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

Related questions

3 votes
3 votes
2 answers
1
0 votes
0 votes
1 answer
2
gateexplore asked Jun 11, 2023
442 views
Construct an NFA that will accept string of 0's, 1's and 2's beginning with a 0's followed by an odd number of 1's and ending with any number of 2's. Please give the answ...
0 votes
0 votes
0 answers
3
vishnu777 asked Nov 24, 2022
215 views
Can anyone explain what is the meaning of saying set of some languages is another language.Ex: L1,L2,L3.....Ln are some languages then i define L={L1,L2,L3.....Ln} which ...
1 votes
1 votes
1 answer
4