in Theory of Computation
671 views
0 votes
0 votes
L= {a*b*c* – (a^nb^nc^n : n>=0)}

Explain whether it is Regular, CFL,DCFL.,CSL
in Theory of Computation
671 views

17 Comments

csl i think
0
0

@

I think it should be CFL

0
0
how cfl ??
my view -----------regular- CSL = csl -csl =csl
0
0
yes it is CFL but not DCFL ===> CSL also
0
0
CSL ?

L = {a^p b*q c^r | p = q or q = r or p = r} + {a^p b^q c^r | p != q != r}
0
0
it is not cfl i think, please check
0
0
the question indirectly asking,

L = {$a^m . b^n .c^p \;|\; m = n\; and\; n = p$} ===> CSL

then L' is _______
1
1
csl
0
0
I think it is CSL

L={a^i.b^j,C^k | i=j and j!=k or i!=j and j=k or i!=j!=k}

to recognize this language we will need 2 stacks at least thus it in not CFL
0
0

IT WILL BE CSL   REG $\cap$ (CSL)${}'$

CSL IN COMPLEMENT IS CSL SO REG $\cap$ (CSL)  IT WILL BE CSL

0
0
no, will be NCFL
0
0
edited by

@srestha mam, will you please explain a bit more

0
0
edited by
$\text{CFL but not DCFL}.$

Check what kind of strings are present in the language-
$L = L_1 \cup L_2 \cup L_3\\L_1 = \{a^ p b^ q c^r | p\neq q \ and \ p,q,r \geq 0 \}\\L_2 = \{a^ p b^ q c^r | p\neq r \ and \ p,q,r \geq 0 \}\\L_3 = \{a^ p b^ q c^r | q\neq r \ and \ p,q,r \geq 0 \}$
All are $CFL's$ so their $union$ is also $CFL.$
4
4

Good point @Soumya29 👍

1
1

 if it is cfl then it is csl also na.......

0
0

@

brother strongest answer should be CFL

if it is CFL ,then it is CSL,recursive, recursive enumerable also!

1
1
hmm :)
0
0

Please log in or register to answer this question.