What Is Memory
What Is Memory
What Is Memory
Memory is very much like our brain as it is used to store data and instructions.
Computer memory is the storage space where data is to be processed, and instructions
needed for processing are stored. The memory is divided into a large number of smaller
portions called the cell. Every cell/ location has a unique address and a size.
Primary Memory
Secondary Memory
RAM
ROM
The magnetic disk provides cheap storage and is used for both small and large
computer systems.
Floppy disks
Hard disks
Flash/SSD
Solid State Drive provides a persistent flash memory. It's very fast compared to Hard
Drives. Frequently found in Mobile phones, its rapidly being adopted in PC/Laptop/Mac.
Optical drives:
This secondary storage device is from which data is read and written with the help of
lasers. Optical disks can hold data up to 185TB.
Examples
CD
DVD
Blue Ray
USB drives:
It is one of the most popular types of secondary storage device available in the market.
USB drives are removable, rewritable and are physically very small. The capacity of
USB drives is also increasing significantly as today 1TB pen drive is also available in
the market.
Magnetic tape:
It is a serial access storage device which allows us to store a very high volume of data.
Usually used for backups.
Summary
Computer memory is the storage space where data is to be processed, and
instructions needed for processing are stored
Two types of memories are 1) Primary Memory, 2)Secondary Memory
Primary memory is the main memory of the computer system. Accessing data
from primary memory is faster because it is an internal memory of the computer.
All secondary storage devices which are capable of storing high volume data is
referred to as secondary memory
Types of Primary Memory 1) RAM, 2) ROM
Types of Secondary Memory 1) Hard Drive, 2) SSD, 3) Flash, 4) Optical Drive, 5)
USD Drive, 3) Magnetic Tapes
The computer can't run without primary memory. You can lose data in case
power is switched off
Data is stored permanently in Secondary Memory even when the power of the
computer is switched off
Primary memory is expensive and is available in limited in size in a computer.
Secondary memory is cheaper compared to primary memory.
KEY DIFFERENCE
Primary memory is also called internal memory whereas Secondary memory is
also known as a Backup memory or Auxiliary memory.
Primary memory can be accessed by the data bus whereas Secondary memory
is accessed by I/O channels.
Primary memory data is directly accessed by the processing unit whereas
Secondary memory data cannot be accessed directly by the processor.
Primary memory is costlier than secondary memory whereas Secondary memory
is cheaper compared to primary memory.
Primary memory is both volatile & nonvolatile whereas Secondary memory is
always a non-volatile memory.