Computer Memory: Mukisa Cliff 17/Bss/Bu/R/0007
Computer Memory: Mukisa Cliff 17/Bss/Bu/R/0007
Computer Memory
Memory is used to store the information (programs and data)
that the computer is currently using. It is sometimes called
main or primary memory. There are 2 types:
• Less expensive
• Less power consumption
Advantages of ROM
The advantages of ROM are as follows:
• Non-volatile in nature
• These cannot be accidentally changed
• Cheaper than RAMs
• More reliable than RAMs
• These are static and do not require refreshing
• Its contents are always known and can be verified
Cache Memory
The speed of CPU is extremely high compared to the access
time of main memory. Therefore the performance of CPU
decreases due to the slow speed of main memory. To decrease
the mismatch in operating speed, a small memory chip is
attached between CPU and Main memory whose access time is
very close to the processing speed of CPU. It is called CACHE
Advantages
Cache memory is faster than main memory.
It consumes less access time as compared to main memory.
It stores the program that can be executed within a short
period of time.
It stores data for temporary use.
Disadvantages
Cache memory has limited capacity.
It is very expensive
Registers
The CPU processes data and instructions with high speed; there
is also movement of data between various units of computer. It
is necessary to transfer the processed data with high speed. So
the computer uses a number of special memory units called
registers.
They are not part of the main memory but they store data or
information temporarily and pass it on as directed by the
control unit.
Registers hold one piece of data at a time and are inside the
CPU.
Memory capacities
Memory and storage capacity is measured in special units
called bytes. A byte is equivalent to a single character.
Characters can be a number from 0 to 9, letters A to Z or a
special symbo1.
Hard disk
One of the most popular secondary storage devices is the Hard
Disk.
A hard disk contains one or more in flexible, circular platters
that use magnetic particles to store data, instructions, and
information. However, today, not all hard disks are magnetic!
(c) Generate less heat and consume less power (tablets and
some notebooks use it)
(d) Last longer.
(e) No noise.
Memory Card:
A memory card is a removable Flash memory device that you
insert and remove from a slot in a computer or mobile device.
(e.g. SD, microSD)
Cloud Storage:
This is an Internet service that provides storage to computer
users. Persons subscribe for a number of reasons e.g
(a) Access 'les from any computer
(b) Store large 'les instantaneously
(c) Allow others to access their 'les
(d) Store offsite backups
Optical Discs:
- An optical disc consists of a Flat, round, portable disc made of
metal, plastic, and lacquer that is written and read by a laser.
- Typically storage software, data, digital photos, movies, and
music
- Read only vs. rewritable
Memory hierarchy
Characteristics of Memory Hierarchy are following when we go
from top to bottom.
Capacity in terms of storage increases.
Cost per bit of storage decreases.
Frequency of access of the memory by the CPU decreases.
Access time by the CPU increases.