retagged by
764 views

2 Answers

2 votes
2 votes
L={a^m b^n / m=n*10}

When a's come, push one 'a' for every 10 a's. When b's come pop one 'a' for each 'b',.if at the end stack is empty and input is finished accept the language, hence this language is DCFL!
edited
–1 votes
–1 votes

Yes, it is CFL

{a^m b^n | (m/n)=10 }

We can implement it using PDA. Here, there is only one comparison between variables m and n. It is division that is nothing but subtraction that a PDA can perform using infinite stack.

Related questions

0 votes
0 votes
0 answers
1
saptarshiDey asked Jan 22, 2019
538 views
L = {a^(p+q) b^(p+q) a^p , p,q>=0}Which one of the following is true about L?L is a regularL is CFL but not regularL is not a CFL
2 votes
2 votes
3 answers
2
3 votes
3 votes
1 answer
3
shivangi5 asked Oct 1, 2017
372 views
For A, B ⊆ Σ*, defineA/B = {x ∈ Σ* | ∃y ∈ B, xy ∈ A}If L is a CFL and R is regular, then L/R is(A) Regular(B) CFL but not regular(C) Recursive but not CFL(D)...