1.

Which one of the following statement is FALSE?(a) Context-free languages are closed under union(b) Context-free languages are closed under concatenation(c) Context-free languages are closed under intersection(d) Context-free languages are closed under Kleene closureI had been asked this question in examination.My question comes from Finite Automata and Regular Expressions in section Compiler Introduction of Compiler

Answer»

Correct OPTION is (c) Context-free languages are closed under intersection

For explanation I WOULD say: CFL is closed under KLEENE CLOSURE, concatenation, and U



Discussion

No Comment Found

Related InterviewSolutions