fbpx

What are the types of primary memory?

·       Primary Memory

Main Memory has the largest size but the lowest cost compared to Cache Memory and Register Memory. Main memory is divided into two types: Random Access Memory (RAM) and Read-only Memory (ROM), each of which is further subdivided.

·       Random Access Memory (RAM)

It is a highly unstable type of memory, which means that when the power is turned off, the memory loses its contents. The processor both reads and writes instructions/data into it.

·       RAM (Random Access Memory) (ROM)

A non-volatile type of memory that retains its contents even when the power is turned off. According to the name, the contents of these memory locations can only be read and cannot be erased or modified.

·       Memory Cache

Addressed frequently to avoid wasting effort and time bringing it from slow main memory, directions and data are stored in a dedicated faster memory in the CPU. Cache memory is a type of storage that ranges in size from 2KB to 64 KB.

·       Memory in Registers

Registers, part of the CPU, store memory addresses for data, the next training, and results produced during program execution. It also serves as a bridge between the primary memory and the processor.