in Theory of Computation
451 views
0 votes
0 votes
let L=(a,b,c)* | the length of x is square then L is -

a)Regular

b)recursive but not context free

c)context free but not regular

d)none of these.
in Theory of Computation
451 views

3 Comments

it look like incomplete question
1
1
i think its B recursive but not CFL
1
1
Yes i think its option B recursive but not CFL
0
0

1 Answer

0 votes
0 votes
Yes It will be Recursive and can't be CFL  bcz if the length is in square i.e power is non-linear and whenever the length is non linear like factorial, underoot etc then it can't be CFL

1 comment

L = (a+b+c)* , isn't it regular ?
0
0