In the simplest terms, a computer is a machine that accepts some kind of input, performs actions and calculations according to a set of instructions, and returns the result of its calculations. All computers, regard-less of their size, purpose, or type, follow this defi nition.