Question

Which of the following statements is/are TRUE?

Choose every correct option
Official answer and solution
Official answer
B, C and D
From
Official GATE 2022 answer key

Solution

Evaluate each language-theoretic statement using standard closure and decidability theorems.

Evaluating each statement:

  • (A) FALSE: The set of all subsets of {0,1}∗\{0, 1\}^* is uncountably infinite, whereas the set of recursive languages is countably infinite. Since {0,1}∗\{0, 1\}^* is recursively enumerable (in fact, regular), it has uncountably many subsets that are not even recursively enumerable, let alone recursive.
  • (B) TRUE: By Post's theorem, if a language LL and its complement L‾\overline{L} are both recursively enumerable, then LL is recursive (decidable).
  • (C) TRUE: Every context-free language is decidable (recursive). Since recursive languages are closed under complementation, the complement of any context-free language is recursive.
  • (D) TRUE: The class of regular languages is closed under intersection, so L1∩L2L_1 \cap L_2 is regular. Every regular language is a deterministic context-free language (DCFL).
Final answer

Options (B), (C), (D)

Common trap

Believing subsets inherit decidability from their superset, which is false.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2022 Computer Science and Information Technology (CS)
Question
23 of 65
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.