# GATE | GATE-CS-2014-(Set-1) | Question 45

Let L be a language and L’ be its complement. Which one of the following is NOT a viable possibility?

(A) Neither L nor L’ is recursively enumerable (r.e.).
(B) One of L and L’ is r.e. but not recursive; the other is not r.e.

(C) Both L and L’ are r.e. but not recursive.
(D) Both L and L’ are recursive

Explanation: A) It is possible if L itself is NOT RE. Then L’ will also not be RE.
B) Suppose there is a language such that turing machine halts on the input. The given language is RE but not recursive and its complement is NOT RE.
C) This is not possible because if we can write enumeration procedure for both languages and it’s complement, then the language becomes recursive.
D) It is possible because L is closed under complement if it is recursive.

Thus, C is the correct choice.

Quiz of this Question

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.

Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.