AP Computer Science Principleshardmcq1 pt
Which problem is undecidable?
A.deciding whether any given program will halt
B.sorting a list of numbers
C.searching a sorted list
D.adding two numbers
The halting problem has no general algorithm.
Adeciding whether any given program will halt
Practice more AP Computer Science Principles questions with full explanations
Practice Unit 3: Algorithms and Programming Questions →