42 views

Consider the language defined as L = { $a^pb^qa^r$ | p = q or q = r} .

L complement is

1. Regular
2. CFL but not regular
3. CSL but not CSL
4. DCFL

reshown | 42 views
+1
Complement shall be p!=q and q!=r

CSL it must be

+1 vote
Actually the language L is CFL, and we know that CFL are not closed under Compliment and Intersection.

So compliment of given language will be CSL.
by Junior (865 points)
selected
0
L is Non-deterministic context free right?
0

@balchandar reddy san Yes L is Non-Deterministic Context Free Language.

We generally use NDCFL as CFL only and Deterministic Context Free Language as DCFL.

1
2