Types of Memory
Types of Memory
Jaya Sharma
Senio r Executive Co ntent
In this article, we will be taking a look at the different types of memory in computer
systems.
Disclaim e r: This PDF is auto -generated based o n the info rmatio n available o n Shiksha as
o n 29 -Dec-20 23.
Let us get started by learning what is memory and its types in computer.
Memory in computers is an essential element of the system since, without it, the
system cannot perform even basic tasks. In a computer system, memory stores
different types of data, such as audio, video, documents, images, etc. This data can
be retrieved as and when required. The CPU selects memory cells for reading and
writing data based on the task that the user wants the computer to accomplish.
There are different memory types in computers to suit the device’s needs.
Unit of transf er measures the transf er rate of bits that can be either read or written in
and out of memory devices. T his data transf er rate is dif f erent in internal and external
devices. For internal memory, it is usually equal to word size and f or external memory, it
is greater than a word.
T here are f our methods to access memory, including DMA, Associative Access Method,
Sequential Access Method, and Random Access Method.
Disclaim e r: This PDF is auto -generated based o n the info rmatio n available o n Shiksha as
o n 29 -Dec-20 23.
Memory in computers has dif f erent physical behavior, such as volatile, non-erasable,
and non-volatile memory.
T he perf ormance of the memory depends on access time, memory cycle time and
transf er rate. Access time is the total time taken by memory devices to perf orm read and
write operations.
Memory cycle time is the total time needed to access the memory block and the
additional time needed bef ore starting the second access.
1. Primary Memory
Also known as main memory in computer, it communicates directly with the CPU,
Cache and Auxiliary memory. This type of computer memory keeps data and
programs when the process is active to use them.
When a program or the data is activated for execution, the processor loads
instructions from the secondary memory into the main memory and then starts
execution. It is a volatile memory due to which any unsaved data is lost when a
power cut occurs. Primary memory is of two types: RAM and ROM.
1.1 RAM
RAM is hardware that temporarily stores data and programs. It is the faster part of
the main memory which can be directly accessed by the CPU. It reads and writes
programs until the computer is switched on. RAM is of two types: DRAM and SRAM.
DRAM f ull f orm is Dynamic Random-Access Memory. It is a type of RAM that is used f or
dynamic data storage. Every cell in DRAM consists of one-bit inf ormation. A cell is
composed of a transistor and a capacitor. T his capacitor and transistor are extremely
small in size. T he capacitor needs a continuous ref resh to retain inf ormation since it is
Disclaim e r: This PDF is auto -generated based o n the info rmatio n available o n Shiksha as
o n 29 -Dec-20 23.
volatile.
SRAM full form is Static Random-Access Memory. T his type of RAM stores static data
in memory which remains active until there is a power supply. Same sized SRAM chip
holds less data than DRAM. Unlike DRAM, it does not require a continuous ref resh.
1.2 ROM
PROM: It is a digital ROM which only once allows writing any inf ormation or program.
T his is done using a special PROM programmer or burner device.
Flash ROM: T his type of ROM can be programmed or written in smaller units called
sector or block. It is used f or transf erring data between computer and digital devices.
EPROM: In this type of ROM, data can be erased as well as reprogrammed only once. It
can store data f or a minimum of 10-20 years. T o erase and reprogram EPROM, the user
needs to pass UV light f or 40 minutes. Post this, the data can be recreated.
2. Secondary Memory
Disclaim e r: This PDF is auto -generated based o n the info rmatio n available o n Shiksha as
o n 29 -Dec-20 23.
and programs can be saved for long term. It is not directly accessible by the CPU and
is available as external devices such as CDs, DVDs and USBs. They are cheaper than
primary memory but slower than primary memory.
Hard disk: It is a type of permanent computer memory that stores programs, f iles and
data. It is stored on the motherboard of the computer that does not lose data even
when there is a power outage or when the system has been switched of f .
Compact Disc (CD): It is an optical disk storage device that stores dif f erent types of
data, such as audio, video, f iles, and other inf ormation. CD uses light to read and write
data f rom CDs.
Pen Drive: T his portable device is a type of secondary memory in computer that is used
f or permanently storing data. It is also known as a USB f lash drive that stores and
transf ers.
3. Cache Memory
This small-sized chip-based memory in computer lies between the main memory and
Disclaim e r: This PDF is auto -generated based o n the info rmatio n available o n Shiksha as
o n 29 -Dec-20 23.
CPU. It is very close to the chip of CPU. The aim of this type of computer memory is
to enhance the performance of the CPU. It is a high-performance and temporary
type of memory that reduces the access time of data from main memory. Every
instruction and data that is often used by the CPU is stored within Cache memory.
Cache memory is of three types: L1, L2, and L3 cache.
Explore the fundamentals of operating systems. Explore our top OS programmes offered by the
best colleges in India and online Operating system Courses, and advance your career.
FAQs
Disclaim e r: This PDF is auto -generated based o n the info rmatio n available o n Shiksha as
o n 29 -Dec-20 23.