Units of Memory
Units of Memory
Contents:
o Introduction
o Types of Memory Units
o Primary memory and its types
o Secondary memory and its types
o Secondary Storage Devices
o Units of storage in Computer
----------------------------------------------------------------------------------------------------
Introduction:
The memory unit is part of the computer that holds data and instructions for processing.
It may also be defined as the storage space in the computer where data to be processed and
instructions required for processing are stored. Although closely associated with the central
processing unit, the memory unit is separated from it.
i) Input Devices
ii) Output Devices
iii) Processor (CPU)
In addition to these, auxiliary storage devices / secondary storage devices are also used to store
data and instructions on a long-term basis. All storage devices are characterized with following
features:
2
Access Method Speed
Volatility
Speed
Portability
Cost and capacity
Memory
Storage
I. Primary Memory:
The primary memory is the memory that can be directly accessed by the CPU, the CPU
constantly interact with it, reads instructions stored there and executes them as required.
Following are the Types of Primary memory :
I) RAM
I) ROM
3
Difference between RAM & ROM :
It is volatile (It loses data when power is It is non-volatile (retains data even when
turned of) power is of)
Data in RAM can be changed or deleted ROM is fxed or data cannot be modifed..
Magnetic: Data and information are stored and retrieved using magnetism. Examples
Magnetic disk Magnetic tape Hard disk floppy disks
Optical: Optical storage devices employ light (laser beams) to store and retrieve data and
information. Examples: CD VCD DVD
Electronic: This holds data and information in the form of electric voltage Example Flash
Memory Others include Punch card.
1. Floppy Diskette
2. CD-ROM drives
4. Combo Drives
4
. 5. Hard disk
i. Bit (b): Bits is an acronym that stands for Binary digITS. It is the Smallest Unit of data on a
binary computer. A single bit consists of 0 (zero) or 1 (one).
iii. Bytes (B): A byte consists of eight bits. It is the smallest item that can be individually
accessed by a program. It is the fundamental unit of storage on a binary computer.
v. Kilobyte (KB): A Kilobyte consists of 210 (1,024) Bytes which is approximately 1000
Bytes.
viii. Terabyte (TB): A Terabyte consists of 240 (1,099,511,627,776) Bytes. ix. Petabyte (PB):
A Petabyte consists of 250 (1,125,899,906,842,624) Bytes.
The conversion process from one unit to another can be done using the following relationships.
1 bit = 0 or 1
5
1 nibble = 4 bits
1 bytes = 8 bits
1 word = 16 bits
1 KB = 1024 bytes
1 MB = 1024 KB
1 GB = 1024 MB
1 TB = 1024 GB
1 PB = 1024 TB
1 EB = 1024 PB
1ZB = 1024 EB
1 YB = 1024 Z