Questions: The Halting Problem

3 questions to test your understanding

Score: 0 / 3
Question 1 Multiple Choice

Turing's proof that the halting problem is undecidable establishes that:

ANo computer can determine whether any specific program halts on a given input
BModern computers lack the memory to simulate all programs
CNo single algorithm can correctly decide, for every program-input pair, whether the program halts
DPrograms that loop forever cannot be detected before they run
Question 2 True / False

The undecidability of the halting problem means that for most program P, it is extremely difficult to determine whether P halts on any given input.

TTrue
FFalse
Question 3 Short Answer

In the diagonalization proof, why does the machine D — defined to do the opposite of what H predicts for D on itself — create a contradiction?

Think about your answer, then reveal below.