What is a computer?

A computer is an electronic device that generates output from input by the user. A computer can have a visual display to show user input as well as output. Modern computers have lot of sophisticated parts which includes a monitor for display, a keyboard for typing input, a mouse for browsing and CPU for processing the input.