Which of the following statements is/are
GATE CSE 2023Theory of Computation › Language Classification, Closure Properties & ProofsVerified
GATE CSE 2023 PYQ: Which of the following statements is/are CORRECT ? \text{CORRECT}? CORRECT ?
- AThe intersection of two regular languages is regular.Correct answer
- BThe intersection of two context-free languages is context-free.
- CThe intersection of two recursive languages is recursive.Correct answer
- DThe intersection of two recursively enumerable languages is recursively enumerable.Correct answer
Answer
(A, C, D) The intersection of two regular languages is regular.; The intersection of two recursive languages is recursive.; The intersection of two recursively enumerable languages is recursively enumerable.
Approach
Use standard closure properties of language classes. Regular, recursive, and recursively enumerable languages are closed under intersection; context-free languages are not closed under intersection. Therefore evaluate each statement by its class and provide a counterexample for the CFL case.
The correct statements are A, C, and D. Regular, recursive, and recursively enumerable languages are closed under intersection, while context-free languages are not; statement B is false because intersecting two CFLs can yield a non-CFL.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.