A computer is an electronic machine that processes raw data to give information as output.

An electronic device that accepts data as input and transforms it under the influence of set of special instructions called programs to produce the desired output referred to as information