Britannica AI Icon

Quick Summary

Computer memory is a device used to store data or programs for a digital computer. Information is stored in binary code, represented by 0s and 1s, called bits. These bits can be stored using systems like electrical capacitors or transistors, which act as tiny switches.

Computer memory is divided into two main types:
* Main memory (primary memory): This holds instructions and data while a program is actively running. Early forms included mercury delay lines and electron tubes. Modern main memory primarily uses semiconductor memory, such as Dynamic RAM (DRAM), which stores data in electrical capacitors.
* Auxiliary memory (secondary memory): This stores data and programs not currently in use, providing long-term storage. Common examples include magnetic disks (like hard drives) and optical discs (like CDs and DVDs). Solid-state drives (SSDs), which use flash memory, are also increasingly used for secondary storage due to their speed and durability.

Summary created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

Ask Britannica AI about this topic

Britannica doesn't have a full article on this topic, so we've curated a list of our relevant coverage.