halting problem - problem of determining whether a given program will finish running or continue forever