What is Memory in Computer ||
Memory
Memory is used to hold instructions and data during processes . It is of two types :-
1. Main memory
2. Auxiliary memory
| Image of Memory |
1. Main memory
Main memory is a type of memory which holds data and instructions during processing.
2. Auxiliary memory
Auxiliary memory is a type of memory which holds data and programs not currently in use and provides long-term storage.
Units of memory
A memory unit is the amount of data that the memory can hold.
Computer work on two binary numbers only which are 0 and 1 . These are called bit. that is binary digit , Bit is the smallest unit data.
The other units are given :-
| 1 bit | Bit | Binary digit |
|---|---|---|
| 8 bits | 1 Byte | Byte |
| 1024 b | 1 KB | Kilo Byte |
| 1024 KB | 1 MB | Mega Byte |
| 1024 MB | 1 GB | Giga Byte |
| 1024 GB | 1 TB | Tera Byte |
| 1024 TB | 1 PB | Peta Byte |
| 1024 PB | 1 EB | Exa Byte |
Types of main memory
There are many two types of main memory :-
RAM
ROM
RAM
RAM stands for Random Access Memory.
It is a temporary volatile memory.
RAM can be read or written both.
It holds data only when computer is on.
It holds current programs and data for execution and processing by the CPU.
It is faster than ROM.
ROM
ROM stands for read only memory.
It is a permanent non volatile memory.
ROM can only be read but not written.
It is generally consists of a start up program of a computer for example BIOS.