Which of the following statements is/are
GATE CSE 2022Theory of Computation › Decidability, Turing Machines & ComputabilityVerified
GATE CSE 2022 PYQ: Which of the following statements is/are TRUE ? \text{TRUE}? TRUE ?
- AEvery subset of a recursively enumerable language is recursive.
- BIf a language and its complement are both recursively enumerable, then must be recursive.Correct answer
- CComplement of a context-free language must be recursive.Correct answer
- DIf and are regular, then must be deterministic context-free.Correct answer
Answer
(B, C, D) If a language L \textit{L} L and its complement L ‾ \overline{\textit{L}} L are both recursively enumerable, then L \textit{L} L must be recursive.; Complement of a context-free language must be recursive.; If L 1 \textit{L}_{1} L 1 and L 2 \textit{L}_{2} L 2 are regular, then L 1 ∩ L 2 \textit{L}_{1} \cap \textit{L}_{2} L 1 ∩ L 2 must be deterministic context-free.
Approach
Use standard language-class inclusions and closure properties: recursive languages are decidable and closed under complement; if both L and complement are recursively enumerable, then L is recursive; every CFL is recursive, hence its complement is recursive; regular languages are closed under intersection and every regular language is deterministic context-free. Statement A is disproved by taking Σ* (which is RE) and a non-recursive subset, such as a non-recursive language over the same alphabet.
The true statements are B, C, and D. A is false because Σ* is RE but has non-recursive subsets. B is the standard characterization of recursive languages. C follows from CFL ⊆ recursive and closure of recursive languages under complement. D follows from REG being closed under intersection and REG ⊆ DCFL.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.