Context free grammar is not closed under:

This question was previously asked in
UGC NET Computer Science (Paper 3) Nov 2017 Official Paper
View all UGC NET Papers >
  1. Concatenation
  2. Complementation
  3. Kleene Star
  4. Union

Answer (Detailed Solution Below)

Option 2 : Complementation
Free
UGC NET Paper 1: Held on 21st August 2024 Shift 1
10.8 K Users
50 Questions 100 Marks 60 Mins

Detailed Solution

Download Solution PDF

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
Latest UGC NET Updates

Last updated on Jun 11, 2025

-> The UGC NET Exam Schedule 2025 for June has been released on its official website.

-> Check UPSC Prelims Result 2025, UPSC IFS Result 2025, UPSC Prelims Cutoff 2025, UPSC Prelims Result 2025 Name Wise & Rollno. Wise

-> The UGC NET Application Correction Window 2025 is available from 14th May to 15th May 2025.

-> The UGC NET 2025 online application form submission closed on 12th May 2025.

-> The June 2025 Exam will be conducted from 21st June to 30th June 2025

-> The UGC-NET exam takes place for 85 subjects, to determine the eligibility for 'Junior Research Fellowship’ and ‘Assistant Professor’ posts, as well as for PhD. admissions.

-> The exam is conducted bi-annually - in June and December cycles.

-> The exam comprises two papers - Paper I and Paper II. Paper I consists of 50 questions and Paper II consists of 100 questions. 

-> The candidates who are preparing for the exam can check the UGC NET Previous Year Papers and UGC NET Test Series to boost their preparations.

More Context Free Languages Questions

More Context Free Languages and Pushdown Automata Questions

Get Free Access Now
Hot Links: teen patti bonus teen patti rich teen patti game - 3patti poker