Computer Memory
Computer Memory
Computer Memory
U.R Weerasinghe
EP/12/8776
INTRODUCTION
A memory is just like a human brain in human.
It is used to store data and instructions.
Computer memory is the storage space in computer where data is to
be processed and instructions required for processing are stored.
The memory is divided into large number of small parts called cells.
Each location or cell has a unique address which varies from zero to
memory size minus one.
CACHE MEMORY
Cache Memory Cache memory is a very high speed semiconductor
memory which can speed up CPU.
It acts as a buffer between the CPU and main memory.
It is used to hold those parts of data and program which are most
frequently used by CPU.
The parts of data and programs are transferred from disk to cache
memory by operating system, from where CPU can access them.
PRIMARY MEMORY
Primary memory holds the memory when working in the computer.
There are two types of memory;
1.RAM -RANDOM ACESS MEMORY
2.ROM -READ ONLY MEMORY
CHARACTERISTIC OF PRIMARY
MEMORY
These are semiconductor memories
It is known as main memory.
Data is lost in case power is switched off.
It is working memory of the computer.
Faster than secondary memories.
A computer cannot run without primary memory.
TYPES OF RAM
SRAM(STATIC RAM)
DRAM(DYNAMIC RAM)
Do not refresh
Need to be refresh
ROM used to hold a program that executes automatically by the computer every
time it is turned on or reset
ROM chips contain permanently stored information.
It is NONVOLATILE.
ROM is where the basic instructions the computer needs for operation is stored.
Ex-:
moving data in and out of RAM for processing,
storing data permanently on magnetic media
displaying information on a screen
interpreting commands typed on a keyboard
TYPES OF ROM
It is much like a CD-R drive that burns the data into the CD.
SECONDARY MEMORY
CHARACTERISTIC OF SECONDARY
MEMORY
These are magnetic and optical memories
It is known as backup memory.
It is non-volatile memory.
Data is permanently stored even if power is switched off.
It is used for storage of data in a computer.
Computer may run without secondary memory.
Slower than primary memories
Thank you