Generally, a computer is any electronic data-processing device that performs tasks, such as mathematical calculations or electronic communication, under the control of a set of instructions called a program. Programs usually reside within the computer's main memory and are retrieved and processed by the computer's electronics, and the program results are stored or routed to output devices, such as video display monitors or printers. It communicates with other electronic devices to receive data, store and manipulate them (using mathematical and logical calculations specified in a sequence of instructions called a program), and transmit the results; e.g. accept a sequence of numbers typed in at a keyboard, and plot a graph of them on a visual display unit, or monitor.