Questions: Properties of Recursively Enumerable Languages

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Suppose L₁ and L₂ are both recursively enumerable but neither is decidable. Which of the following is guaranteed to also be recursively enumerable?

AThe complement of L₁
BL₁ minus L₂ (strings in L₁ but not in L₂)
CL₁ intersected with L₂
DL₁ symmetric difference with L₂
Question 2 Multiple Choice

Why does the dovetailing argument that works for RE union fail when applied to complement?

ADovetailing requires both machines to eventually halt, which they may not do for languages in RE
BTo semi-decide the complement, you need to accept strings not in L, but you can only recognize non-acceptance if the machine halts and rejects — you cannot detect an infinite loop as a positive event
CDovetailing works for complement too; the problem is that complement is not preserved under parallel composition
DThe complement construction requires deterministic machines, but dovetailing only works for nondeterministic machines
Question 3 True / False

A language L is decidable if and only if both L and its complement are recursively enumerable.

TTrue
FFalse
Question 4 True / False

Since RE is closed under both union and intersection, it follows by De Morgan's laws that RE is expected to also be closed under complement.

TTrue
FFalse
Question 5 Short Answer

Explain why the inability to detect non-termination is the fundamental barrier to RE closure under complement.

Think about your answer, then reveal below.