Skip to content
Official PYQ · 2014

GATE CS 2014 Set 1 Q35 — Undecidability

Explain with AI

Let LL be a language and Lˉ\bar{L} be its complement. Which one of the following is NOT a viable possibility?

Choose one option
View worked solution

Answer: C

To determine which option is NOT a viable possibility, we use a fundamental theorem in the theory of computation:

Theorem: A language LL is recursive (decidable) if and only if both LL and its complement Lˉ\bar{L} are recursively enumerable (r.e.).

Let's analyze each option based on this theorem:

  • Option A: Neither LL nor Lˉ\bar{L} is r.e.
    This is a viable possibility. For example, if we take a language that is highly undecidable (beyond the class of r.e. and co-r.e. languages), neither the language nor its complement will be recursively enumerable.
  • Option B: One of LL and Lˉ\bar{L} is r.e. but not recursive; the other is not r.e.
    This is a viable possibility. For example, the Halting Problem language HPH_P is r.e. but not recursive, whereas its complement HP‾\overline{H_P} is not r.e.
  • Option C: Both LL and Lˉ\bar{L} are r.e. but not recursive.
    According to the theorem, if both LL and Lˉ\bar{L} are r.e., then LL (and consequently Lˉ\bar{L}) must be recursive. Therefore, they cannot be "r.e. but not recursive". This is not a viable possibility.
  • Option D: Both LL and Lˉ\bar{L} are recursive.
    This is a viable possibility. The class of recursive languages is closed under complementation. For example, any regular or context-free language is recursive, and its complement is also recursive.

Thus, Option C is the only non-viable scenario.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Undecidability questions