Chma Unit - Vi
Chma Unit - Vi
MEMORY
Memory unit is the amount of data that can be stored in the storage unit.
This storage capacity is expressed in terms of Bytes.
The following table explains the main memory storage units −
Nibble
2
A group of 4 bits is called nibble.
Byte
3 A group of 8 bits is called byte. A byte is the smallest unit, which can
represent a data item or a character.
Word
A computer word, like a byte, is a group of fixed number of bits processed
as a unit, which varies from computer to computer but is fixed for each
4 computer.
The length of a computer word is called word-size or word length. It may
be as small as 8 bits or may be as long as 96 bits. A computer stores the
information in the form of computer words.
he following table lists some higher storage units −
1 Kilobyte (KB)
1 KB = 1024 Bytes
Megabyte (MB)
2
1 MB = 1024 KB
GigaByte (GB)
3
1 GB = 1024 MB
TeraByte (TB)
4
1 TB = 1024 GB
PetaByte (PB)
5
1 PB = 1024 TB
Now, whenever you want to store any instruction or data may it be of a byte
or a word you have to access a memory location. To access the memory
location either you must know the memory location by its unique name or it
is required to provide a unique address to each memory location.
The memory locations are addressed from 0 to 2K-1 i.e. a memory has
2K addressable locations. And thus the address space of the computer has
2K addresses. Let us try some suitable values for K.
Classification of Memory
The following figure represents the classification of memory:
Primary or Main Memory
Primary memory is also known as the computer system's main memory that
communicates directly within the CPU, Auxiliary memory and the Cache
memory. Main memory is used to kept programs or data when the processor
is active to use them. When a program or data is activated to execute, the
processor first loads instructions or programs from secondary memory into
main memory, and then the processor starts execution. Accessing or executing
of data from primary memory is faster because it has a cache or register
memory that provides faster response, and it is located closer to the CPU. The
primary memory is volatile, which means the data in memory can be lost if it is
not saved when a power failure occurs. It is costlier than secondary memory,
and the main memory capacity is limited as compared to secondary memory.
o SRAM
o DRAM
DRAM: DRAM (Dynamic Random-Access Memory) is a type of RAM that is used for
the dynamic storage of data in RAM. In DRAM, each cell carries one-bit information. The
cell is made up of two parts: a capacitor and a transistor. The size of the capacitor and
the transistor is so small, requiring millions of them to store on a single chip. Hence, a
DRAM chip can hold more data than an SRAM chip of the same size. However, the
capacitor needs to be continuously refreshed to retain information because DRAM is
volatile. If the power is switched off, the data store in memory is lost.
Characteristics of DRAM
Characteristics of DRAM
Advantages of RAM
Disadvantages of RAM
Advantages of ROM
Secondary Memory
Secondary memory is a permanent storage space to hold a large amount of
data. Secondary memory is also known as external memory that representing
the various storage media (hard drives, USB, CDs, flash drives and DVDs) on
which the computer data and program can be saved on a long term basis.
However, it is cheaper and slower than the main memory. Unlike primary
memory, secondary memory cannot be accessed directly by the CPU. Instead
of that, secondary memory data is first loaded into the RAM (Random Access
Memory) and then sent to the processor to read and update the data.
Secondary memory devices also include magnetic disks like hard disk and
floppy disks, an optical disk such as CDs and CDROMs, and magnetic tapes.
Floppy Disk
A CD is an optical disk storage device, stands for Compact Disc. It is a storage device
used to store various data types like audio, videos, files, OS, Back-Up file, and any other
information useful to a computer. The CD has a width of 1.2 mm and 12 cm in height,
which can store approximately 783 MB of data size. It uses laser light to read and write
data from the CDs.
DVD Drive/Disc
DVD is an optical disc storage device, stands for Digital Video Display or
Digital Versatile Disc. It has the same size as a CD but can store a larger
amount of data than a compact disc. It was developed in 1995 by Sony,
Panasonic, Toshiba and Philips four electronics companies. DVD drives are
divided into three types, such as DVD ROM (Read Only Memory), DVD
R (Recordable) and DVD RW (Rewritable or Erasable). It can store multiple
data formats like audio, videos, images, software, operating system, etc. The
storing capacity of data in DVD is 4.7 GB to 17 GB.
Pen Drive
A pen drive is a portable device used to permanently store data and is also
known as a USB flash drive. It is commonly used to store and transfer the data
connected to a computer using a USB port. It does not have any moveable
part to store the data; it uses an integrated circuit chip that stores the data. It
allows the users to store and transfer data like audio, videos, images, etc. from
one computer to any USB pen drive. The storing capacity of pen drives from
64 MB to 128 GB or more.
Cache Memory
Background
Pins
DIMM and SIMM are manufactured with pins which enable them to
connect to the PC’s motherboard. The typical SIMM module has 72
pins, while the most common pin configuration of the DIMM module is
168 pins. Other DIMM configurations include 100, 144, 172, 184, 204,
214 and 240 pins.
Data
The SIMM pins only support 32-bit data. Although sufficient on early
PCs, the emergence of Synchronous DRAM, or SDRAM, meant that
memory modules now required a 64-bit data connection to the
motherboard. To address the doubled data transfer amount, two SIMM
modules were installed instead of one. However, since DIMM supports
64-bit data transfer, it steadily replaced SIMM; one DIMM can be
installed instead of two SIMM modules.
Size
The typical SIMM module measures 4.25 inches in length and an inch
in width. By comparison, due to the several pin configurations
available, DIMM has a physical measurement range of 1.67 to 5.25
inches in length and 1 to 1.75 inches in width.
Application