computer may be defined as a machine which accepts data from an input device, processes it by performing arithmetical and logic operations in accordance with a program of instructions and returns the results through an output unit. A computer is basically an electronic machine operating on current.