1,624 views
2 votes
2 votes

Not able to understand whether it is CFL or not due to the condition 'm>=481'.

3 Answers

1 votes
1 votes

L= {a^n b^m |n<= m & 481<=m}

lets take small version of this language

L= {a^n b^m |n<= m & 1<=m}

then strings in above lang are {b,ab,abb,abbbbb, abbbbb.......}

DPDA for lang is given below.

0 votes
0 votes

since a value of m is defined on a certain number which is finite and the comparison of n and m is possible using the stack. So it is CNF

Related questions

1 votes
1 votes
1 answer
1
4 votes
4 votes
1 answer
3
1 votes
1 votes
2 answers
4
atulcse asked Jan 21, 2022
716 views
Is the following language a DCFL? Please explain your reasoning.