Let = {0,1}. Let C 1 be the language of all strings that contain a 1

Question:

Let Σ = {0,1}. Let C1 be the language of all strings that contain a 1 in their middle third. Let Cbe the language of all strings that contain two 1s in their middle third. So C1 = {xyz| x, z ∈ Σand y ∈ Σ**, where |x| = |z| ≥ |y|} and C2 = {xyz| x, z ∈ Σ* and y ∈ Σ***, where |x| = |z| ≥ |y|}.

a. Show that C1 is a CFL.

b. Show that C2 is not a CFL.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: