in Theory of Computation closed by
715 views
0 votes
0 votes
closed with the note: answer a(a+b)*a is enough to understand it.

Let Ʃ = {a, b} and L = {anwan | n ≥ 1, w ∈ Ʃ*}.

Then

  1. L is context free but not regular
  2. L is not context free but regular
  3. L is context free as well as regular
  4. L is neither context free and nor regular
in Theory of Computation closed by
715 views

3 Comments

It is regular and hence CFL as well.
1
1
RE: a(a+b)*a
2
2
It is a language start and end with a
1
1

Related questions