Computer Memory (original) (raw)

Last Updated : 29 May, 2025

Computer memory is just like the human brain. It is used to store data/information, and instructions. It is a data storage unit or a data storage device where data is to be processed, and instructions required for processing are stored. Both the input and output can be stored here.

Why is Memory Important?

Memory is the backbone of your computer’s performance. Here’s why it matters:

Think of memory as your computer’s short-term memory—it keeps everything handy for quick access, making your device fast and responsive for schoolwork, gaming, or chatting with friends.

How Does Computer Memory Work?

When you open a program, it is loaded from secondary memory into primary memory. Because there are various types of memory and storage, an example would be moving a program from a solid-state drive (SSD) to RAM. Because primary storage is accessed more quickly, the opened software can connect with the computer's processor more quickly. The primary memory is readily accessible from temporary memory slots or other storage sites.

Memory is volatile, which means that data is only kept temporarily in memory. Data saved in volatile memory is automatically destroyed when a computing device is turned off. When you save a file, it is sent to secondary memory for storage.

There are various kinds of memory accessible. Its operation will depend upon the type of primary memory used. But normally, semiconductor-based memory is more related to memory. Semiconductor memory is made up of IC (integrated circuits) with silicon-based metal-oxide-semiconductor (MOS) transistors.

Types of Computer Memory

In general, computer memory is divided into three types:

Now we discuss each type of memory one by one in detail:

**1. Primary Memory

It is also known as the main memory of the computersystem. It is used to store data and programs, or instructions during computer operations. It uses semiconductor technology and hence is commonly called semiconductor memory. Primary memory is of two types:

**2. Secondary Memory

It is also known as auxiliary memory and backup memory. It is a non-volatile memory and used to store a large amount of data or information. The data or information stored in secondary memory is permanent, and it is slower than primary memory. A CPU cannot access secondary memory directly. The data/information from the auxiliary memory is first transferred to the main memory, and then the CPU can access it.

**Characteristics of Secondary Memory

**Types of Secondary Memory

**1. Magnetic Tapes: Magnetic tape is a long, narrow strip of plastic film with a thin, magnetic coating on it that is used for magnetic recording. Bits are recorded on tape as magnetic patches called RECORDS that run along many tracks. Typically, 7 or 9 bits are recorded concurrently. Each track has one read/write head, which allows data to be recorded and read as a sequence of characters. It can be stopped, started moving forward or backwards or rewound.

**2. Magnetic Disks: A magnetic disk is a circular metal or a plastic plate and these plates are coated with magnetic material. The disc is used on both sides. Bits are stored in magnetized surfaces in locations called tracks that run in concentric rings. Sectors are typically used to break tracks into pieces.

Magnetic Disks

Hard discs are discs that are permanently attached and cannot be removed by a single user.

**3. Optical Disks: It's a laser-based storage medium that can be written to and read. It is reasonably priced and has a long lifespan. The optical disc can be taken out of the computer by occasional users.

**Types of Optical Disks

**CD - ROM

**WORM-(WRITE ONCE READ MANY)

**DVDs

**3. Cache Memory

It is a type of high-speed semiconductor memory that can help the CPU run faster. Between the CPU and the main memory, it serves as a buffer. It is used to store the data and programs that the CPU uses the most frequently.

**Advantages of Cache Memory

**Disadvantages of Cache Memory