memory (1)
memory (1)
Functionalities of Memory
❖ It basically takes data from an input device and generates result before it is
passed to the output device.
❖ It stores data in digital format and can read only two binary digits i.e., a
sequence of 0’s and 1’s.
❖ It has the capacity to store very huge amount of data and retrieve it quickly
whenever necessary.
A) RAM (Random Access Memory): It is the internal memory of the CPU for storing data,
program, and program result. It is a read/write memory which stores data until the machine is
working. As soon as the machine is switched off, data is erased.
RAM is volatile (Temporary), i.e. data stored in it is lost when we switch off the computer or if
there is a power failure.
B) ROM (Read Only Memory) : The memory from which we can only read but cannot write
on it. This type of memory is non-volatile (Permanent). A ROM stores such instructions that are
required to start a computer. This operation is referred to as bootstrap. ROM chips are not only
used in the computer but also in other electronic items like washing machine and microwave
oven.
The various types of ROMs and their characteristics:
PROM (Programmable Read Only Memory) :
PROM is read-only memory that can be modified only once by a user. The user buys a blank
PROM and enters the desired contents using a PROM program. Inside the PROM chip, there
are small fuses which are burnt open during programming. It can be programmed only once and
is not erasable.
EPROM (Erasable and Programmable Read Only Memory) : EPROM can be erased by
exposing it to ultra-violet light.
EEPROM (Electrically Erasable and Programmable Read Only Memory) :
EEPROM is programmed and erased electrically. It can be erased and reprogrammed about ten
thousand times. Both erasing and programming take about 4 to 10 ms (millisecond). In
EEPROM, any location can be selectively erased and programmed. EEPROMs can be erased
one byte at a time, rather than erasing the entire chip. Hence, the process of reprogramming is
flexible but slow.
The advantages of ROM are as follows −
• • Non-volatile in nature
• • Cannot be accidentally changed
• • Cheaper than RAMs
• • Easy to test
• • More reliable than RAMs
Secondary Memory (Auxiliary Memory) :Auxiliary memory is much larger in size than main
memory but is slower. It normally stores system programs, instruction and data files. It is also
known as secondary memory. Secondary memories cannot be accessed directly by a processor.
First the data/information of auxiliary memory is transferred to the main memory and then that
information can be accessed by the CPU.