Computer is an electronic device which gets the data and instructions from the user. It processes the data as per given instructions and gives the result in the desired form.
Computer can be defined as :
A computer is an electronic machine that accepts data as input from the user and processes the data under the control of a set of instructions and gives the result as an output.