Skip to content
Official PYQ · 2005

GATE CS 2005 Q56 — Undecidability

Explain with AI

Let L1L_1 be a recursive language, and let L2L_2 be a recursively enumerable but not a recursive language. Which one of the following is TRUE?

Choose one option
View worked solution

Answer: B

To determine the correct statement, let's analyze the properties of the given languages:

  1. For L1L_1 (Recursive Language):
    • The class of recursive languages is closed under complementation.
    • Since L1L_1 is recursive, its complement L1′L_1' is also recursive.
  2. For L2L_2 (Recursively Enumerable but not Recursive):
    • According to a fundamental theorem in computability theory, a language LL is recursive if and only if both LL and its complement L′L' are recursively enumerable (RE).
    • We are given that L2L_2 is RE but not recursive. Therefore, its complement L2′L_2' cannot be recursively enumerable (if L2′L_2' were RE, then L2L_2 would have to be recursive, which is a contradiction).

Combining these two results:

  • L1′L_1' is recursive.
  • L2′L_2' is not recursively enumerable.

This matches Option B.

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

Published
Report a correction
Keep exploringMore Undecidability questions