Memory (Storage)
Memory (Storage)
Computer memory is the storage space in the computer, where data is to be processed and
instructions required for processing are stored. A memory is just like a human brain; it is used
to store data and instructions.
Types of Memory – There are two types of memory; Primary Memory / Main Memory and
Secondary Memory.
Primary memory holds only data and instructions which the computer is currently working on.
It has a limited storage capacity and data is lost when power is switched off (i.e It is volatile).
Primary memory is divided into two subcategories;- Random Access Memory (RAM) and Read
Only Memory (ROM).
RAM has a larger storage capacity. ROM has a smaller storage capacity.
1
SECONDARY MEMORY (Auxiliary Memory)
This type of memory is also known as external or back up memory. CPU does not directly
access these memories, instead they are accessed via input-output routines. The contents of
secondary memories are first transferred to the main/primary memory and then the CPU can
access it. For example, Hard disk, CD-ROM, DVD, etc. Secondary memory is used for storing
data/information permanently; necessary for keeping backup files for later use. It provides a
large storage space for the computer.
Primary memory is internal memory. This Secondary memory is external memory. This
is a main memory, a computer cannot is auxiliary memory, a computer may run
work without primary memory. without the secondary memory.
Accessing data from primary memory is Accessing data from secondary memory is
faster since they are mostly accessed slower since they are not directly accessed by
directly by the CPU. the CPU.
Primary memory is expensive to buy than Secondary memory is cheaper to buy than
secondary memory. primary memory
2
DATA STORAGE UNITS
Computers store information in the form of "1" and "0"s in different types of storages such as
memory, hard disk, USB drives etc. The most common digital data storage unit is byte which is
8 bits.
Bit b 0 or 1
Byte B 8 bits
Other data storage units include Petabyte (PB), Exabyte (EB), Zettabyte (ZB) and Yottabyte
(YB).
STORAGE DEVICES
Storage devices are needed to facilitate the process of storing data and information on permanent
basis for later use. These include devices such as Hard disc drive, CD/DVD drive, Magnetic tape
drive, etc.
A computer cannot work without primary A computer can run without the secondary
storage devices. storage devices.
They are located closer to the CPU. They are located far from the CPU.
3
Primary storage devices is expensive to Secondary storage devices are cheaper to buy.
buy.
Secondary storage media are needed to store data and information on a permanent basis for later
use. These can be categorized as Magnetic media, Optical disks and Flash memory.
1. Magnetic Media
Magnetic Media – Are used to store data in the form of a magnetic pattern on a hard disk or
series of disks.
i. Hard Disk – Fixed hard disks consists of a series of disks coated with a magnetic material
and a series of read/write heads which record data onto the surface or record it off the surface.
ii. Magnetic Tape – Stores data in a plastic, magnetic-coated tape. Magnetic tape has a huge
storage capacity and is used to back up the data stored on hard disks.
2. Optical Media/Disks
Optical disks are flat and circular disks on which data is stored as a serial bumps. These optical
disks are disks that are read by laser lights. The way the bumps reflect laser beam is used to read
the data off the disk. The optical disks can be used to store computer data and can be used for
backup purposes. The types of optical disks include the following;-
i. CDs (Compact Disks) – Are used to hold large files and are ideal for holding music and
animation files. (Maximum capacity 700MB)
ii. DVDs (Digital Versatile Disks) – Have much larger storage capacity (4.7 – 8.5 GB) and are
used for mainly storing films and videos.
iii. Blue Ray disk – Have a very large storage capacity (25 – 100 GB) and are used to store high
definition videos.
3. Flash Memory
i. USB (Universal Serial Bus) Flash memory – Also known as pen drive or memory stick, is a
storage media which consists of a printed circuit board enclosed in a plastic casing. It is ideal
for the transfer of relatively small amounts of data between computers.
ii. HD (High Definition) cards – Also known as flash memory card, is small and thin card used
for storage of digital images by digital cameras.