The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+12 votes
1.2k views

Context-free languages are closed under:

  1. Union, intersection

  2. Union, Kleene closure

  3. Intersection, complement

  4. Complement, Kleene closure

asked in Theory of Computation by Veteran (59.6k points)
edited by | 1.2k views

2 Answers

+16 votes
Best answer

Cfl are not closed under intersection and complement now choose the correct option, so (B) union and klenne closure.

answered by Boss (14.3k points)
edited by
+8
Yes. That is correct. But DCFL is not closed under Kleene closure.

http://gatecse.in/wiki/Closure_Property_of_Language_Families
0
thanks for that vital information which i did not know
+3

You are welcome smiley

0
Sir,
May I know why is DCFL not closed under Kleene Closure ?
+1 vote

The context-free languages are closed under union, concatenation and Kleene closure.

so option B

answered by Active (1.7k points)


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

41,079 questions
47,675 answers
147,469 comments
62,393 users