A computer is an electronic device that processes and manipulates data, capable of executing programmed instructions. There are several types of computers based on size, including supercomputers, mainframe computers, mini computers, and microcomputers, with supercomputers being the fastest and most costly. Microcomputers, also known as personal computers, are smaller, cheaper, and widely used by the general public.