A computer is a general purpose device that can be programmed to carry out arithmetic and logical operations. It consists of at least one processing element and some form of memory. The processing element performs operations and is controlled by a sequencing unit that can change the order of operations based on stored information. Peripheral devices allow information to be retrieved from an external source and results saved. A computer's processing unit executes instructions that make it read, manipulate, and store data, with conditional instructions changing the sequence as a function of the machine's state. Programmers developed user interfaces to accept human input and return results for human consumption.