Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
462 views
in General by (114k points)
closed by
Context free grammar is not closed under:
1. Concatenation
2. Complementation
3. Kleene Star
4. Union

1 Answer

0 votes
by (113k points)
selected by
 
Best answer
Correct Answer - Option 2 : Complementation

Concept:

Context free languages are closed under Union, Concatenation and Kleene Closure (star)

CFLs are NOT closed under intersection and not closed under complementation

Example:

L1 = pn qn rm | m, n > 0 → CFL

L2 = pm qn rn  | m, n > 0 → CFL

L = pn qn rm ∩ pm qn rn  | m, n > 0. L = pn qn rn it is not accepted by pushdown automaton and hence it is not a CFL. and hence it is not closed under intersection.

Important Point:

Context free languages

Only Deterministic Context free languages

Closed under

  • Union
  • Concatenation
  • Kleene Closure
  • Homomorphism
  • Inverse Homomorphism
  • Reversal of language
  • Intersection with Regular language

Closed under

  • Complementation
  • Inverse Homomorphism

Not Closed under

  • Complementation
  • Intersection

Not Closed under

  • Union
  • Intersection
  • Concatenation
  • Kleene closure
  • Homomorphism
  • Reversal of language

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...