307 views
0 votes
0 votes
{a^n b^kn | k>=1,n>=0} which language

(a) DCFL

(b)CFL

(c)DCFL hence CFL

(d)CSL

(e)out of CSL

1 Answer

0 votes
0 votes
L = { a^nb^n , a^nb^2n ,a^nb^3n -------} ,n>=0

L = { epsilon, ab, ab^2, ab^3 -------,a^2b^4, a^2b^6,-------}

DCFL Hence CFL.

Option C is true.

Related questions

0 votes
0 votes
1 answer
1
dinesh4756 asked Jul 4, 2018
435 views
I'm having doubt with this. The dfa designed here accepts the string "b" which violates the condition in question. Also the trap state was given as q1. I thought the trap...
1 votes
1 votes
0 answers
2
0 votes
0 votes
0 answers
4