What is Primary Memory? - Definition of Primary Memory
Memory is one of the most important elements of a computer. It stores the data and commands required during the processing of data and output results
Memory is one of the most important elements of a computer. It stores the data and commands required during the processing of data and output results. Memory is divided into two categories, one is primary memory or main memory and the other is secondary memory or auxiliary memory.
Download PDF File
What is Primary Memory? - Definition
The memory unit communicating directly with the CPU is called internal memory or primary memory. Internal memory is also known as main memory, primary memory, and is known as Instant Access storage (I.A.S). Primary memory allows computers to store data for immediate manipulation and to monitor what is currently being processed. Primary memory has limited storage capacity. Primary memory is used for different purposes i.e.
- Data are fed into an input storage area where they are held unit ready to be processed.
- A working storage space that's like a sheet of scratch paper is used to hold the data being processed and the intermediate results of such processing.
- An output storage area holds the finished results of the processing operations unit they can be released.
When the power is turned off, the contents of the Main memory are lost forever. There are mainly to the primary memory used in
the personal computer, one is RAM and the other is ROM.
Random Access Memory (RAM)
RAM used for holding and data being executed is called random access memory or RAM. It is volatile or temporary memory in which data can be read and write so it is called Read and write Memory. When you switch off the computer all the data and programs are lost form the RAM. Ram needs to writable in order for it to do its job of holding programs and data that you are you working on. It is much faster than other memory.
There are two categories of RAM as follows:
1) Dynamic RAM (DRAM) It is made up of memory cells where each cell is composed of one capacitor and one transistor. DRAM must be continually refreshed to store information. This is done by placing the memory on a refresh circuit that rewrites the data serval hundred times per second. DRAM is used for most system memory because it is cheap and small memory.
Characteristics of the Dynamic RAM:
- It has a short data lifetime
- Need to refresh continuously
- Slower as compared to SRAM
- Used in size
- Lesser in size
- Less power consumption
Read-Only Memory (ROM)
It is also known as a non-volatile memory or permanent storage. It is another type of primary memory. The information 'burnt' into the ROM chip at the manufacturing time. It cannot be altered and fresh information cannot be 'written' into a ROM so it is called Read Ony Memory. The program stored in ROM is always there, whether the power is on or not. The most common example is the system BIOS programs, which is stored in a ROM called the system BIOs ROM.
There are some categorize of ROM as follows:
1) Programmable ROM (PROM) It is also non-volatile in nature. Once a ROM has been programmed, its contents can never be changed. It is a one-time programmable device. These types of memories are found in video game consoles, mobile phones, implantable medical devices, and high definition multimedia interface.
2) Masked ROM (MROM) The very first ROMs were hard-wired devices that contained a pre-programmed set of data or instruction. These kinds of ROMs are known as masked ROMs. It is an inexpensive ROM.
3) Erasable Programmable ROM (EPROM) is similar to PROM. but it can be erased by exposure to strong ultraviolet light, then rewritten. so, it is programmable ROM (UV EPROM).
4) Electrically Erasable Programmable ROM (EEPROM) It is similar to EPROM, but it can be erased electrically, then rewritten electrically and the burning process is reversible by exposure to electric pulses. it is the most flexible type of ROM and is now commonly used for holding BIOS.