Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computer
science, a deterministic algorithm is an algorithm which, in informal
terms, behaves predictably. Given a particular input, it will always
produce the same output, and the underlying machine will always pass
through the same sequence of states. Deterministic algorithms are by far
the most studied and familiar kind of algorithm, as well as one of the
most practical, since they can be run on real machines
efficiently.Formally, a deterministic algorithm computes a mathematical
function; a function has a unique value for any given input, and the
algorithm is a process that produces this particular value as output.