The Gateway to Computer Science Excellence
0 votes
let L=(a,b,c)* | the length of x is square then L is -


b)recursive but not context free

c)context free but not regular

d)none of these.
in Theory of Computation by (165 points) | 114 views
it look like incomplete question
i think its B recursive but not CFL
Yes i think its option B recursive but not CFL

1 Answer

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
by Active (3.3k points)
L = (a+b+c)* , isn't it regular ?
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,292 answers
104,910 users