← Quiz: CFG and PDA: all 10 questions
Quiz: CFG and PDA · Question 4 of 10
Context-free languages are NOT closed under:
Context-free languages are NOT closed under:
- A.Union
- B.Concatenation
- C.Kleene star
- D.Intersection
Answer & explanation
Correct answer: Intersection
a^n b^n c^m ∩ a^m b^n c^n = a^n b^n c^n, which is not context-free.
Can you get the rest right without peeking?
Take the timed Quiz: CFG and PDA quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →