A computer is an electronic device that can receive data (input), process it according to a set of instructions (software), store it, and produce results (output). It operates under a program and performs arithmetic, comparison, logical, control flow , decision making, and iteration operations at high speed and accuracy.