Questions: Recursively Enumerable Languages: Semi-Decidability

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

The Halting Problem H = {(M, w) | M halts on w} is recursively enumerable but not recursive. What does this imply about its complement H̄ = {(M, w) | M does not halt on w}?

AH̄ is also recursively enumerable, since we can simulate M and accept if it runs forever
BH̄ is recursive, since a machine can detect non-halting by running for a sufficiently long time
CH̄ is not recursively enumerable, because if H̄ were RE we could combine semi-deciders for H and H̄ to decide H, contradicting its undecidability
DH̄ is recursively enumerable but harder than H to semi-decide
Question 2 Multiple Choice

A Turing machine M accepts all strings in language L and loops forever on all strings not in L. What class does L belong to?

ARecursive (decidable), because M correctly identifies all members of L
BNot even recursively enumerable, because M provides no information about non-members
CRecursively enumerable (semi-decidable), because M halts and accepts exactly the strings in L, even though it may loop on non-members
DContext-sensitive, because the looping behavior corresponds to a bounded computation
Question 3 True / False

A language L is recursive (decidable) if and only if both L and its complement L̄ are recursively enumerable.

TTrue
FFalse
Question 4 True / False

Nearly every recursively enumerable language is also recursive, because any Turing machine that accepts a language can be modified to also reject non-members by detecting loops.

TTrue
FFalse
Question 5 Short Answer

Explain why the Halting Problem is recursively enumerable but not recursive, using the definitions of semi-decidability and decidability.

Think about your answer, then reveal below.