Lecture 7 - Halting Problem Flashcards
1
Q
The halting problem is ….
A
undecidable
2
Q
What is the erratic program?
A
- refer to slide 36
- it is a program that terminates for all instances tested, but can’t be proven to not be a halting problem
3
Q
What does it mean for an algorithm implementation to halt?
A
The program returns yes or no and isn’t stuck in a while loop
4
Q
What does HP stand for?
A
Halting problem
5
Q
If a problem can be reduced to another problem and the original problem is undecidable then?
A
The second problem must too be undecidable
6
Q
Hierarchy of decision problems:
A
- undecidable (HP,tiling)
- intractable (roadblock)
- NP-COMPLETE (SAT , HC , TSDP)
- polytime solvable
7
Q
What happens if P = NP?
A
All np complete problems are polynomial time solvable.