Computer Science EngineeringHard

Context-free languages are NOT closed under which operation?

  1. A. Intersection
  2. B. Union
  3. C. Concatenation
  4. D. Kleene star

Correct answer: A. Intersection

For example {a^n b^n c^m} and {a^m b^n c^n} are context-free but their intersection {a^n b^n c^n} is not.

More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions

Exams that ask this topic