Decidability
Decidability is a property of a decision problem. A problem is decidable if there exists an algorithm that, for every possible input instance, terminates with the correct answer yes or no. If no such algorithm exists, the problem is undecidable. In the standard theory of computation, decidability is studied using abstract machines, most commonly Turing machines; a problem is decidable if a deterministic Turing machine halts on every input and outputs the correct result.
Decidable problems include many basic questions about formal languages and computation. For example, given a string
Some problems are semi-decidable (recursively enumerable): there exists an algorithm that will halt and accept on