A microcomputer consists of a microprocessor as the central processing unit, memory, and input/output devices. The microprocessor contains an arithmetic logic unit to perform calculations and logic operations. Memory is used to store programs and data and comes in primary forms like RAM and ROM, as well as secondary storage like hard disks. Common input devices include keyboards and output devices include monitors. Examples of microcomputers include desktops, laptops, tablets, and smartphones.