The CPU is the brain of the computer and carries out program instructions. Common CPU speeds are 3.1 GHz for desktops and 2.1 GHz for laptops, with faster CPUs producing more heat. Memory in a computer includes RAM for editable data storage, ROM for non-editable data, flash memory for electrical erasing/reprogramming, DRAM and SDRAM for faster data storage in capacitors, and EPROM for retaining data when powered off. A computer also contains adapter cards like PCI and PCIe for external communication, an NIC for network connectivity, an HDD for data storage using ribbon cables, and input/output devices like keyboards, monitors, printers and speakers. Internal cables include SATA, SC