The Gateway to Computer Science Excellence
0 votes
114 views
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 by (165 points) | 114 views
+1
it look like incomplete question
+1
i think its B recursive but not CFL
0
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)
0
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,306 answers
198,314 comments
105,010 users