Computer is an electronic device that stores and processes data according to programmed instructions. It consists of a central processing unit that executes computer programs, as well as input devices like a keyboard and mouse and output devices like a monitor, speakers, and printer. The monitor displays information visually, the keyboard allows a user to enter characters, the mouse controls functions on screen, speakers generate sound, and the printer outputs text or images onto paper.