What is memory?
A memory is a type of storage device that is used to store and manage information for immediate use.
Till now, 2 types of memory are available:-
- Volatile Memory
- Non-volatile Memory
1. Volatile Memory
Computer memory needs a consistent power supply to store data, which is volatile memory. If a power supply is lost, the data in the volatile memory will be erased. It will store data temporarily.
Volatile memory is faster than non-volatile memory. Volatile memory affects on system performance.
It refers to the primary storage type.
An example of volatile memory is RAM.
2. Non-volatile Memory:-
Non-volatile memory does not need any continuous power supply for storing data. It stores data permanently.
Non-volatile memory is slower than volatile memory. This types of memory can’t affect on system performance.
It refers to a secondary storage type.
An example of non-volatile memory is ROM, hard discs, etc.
Easily remember difference of both :-
|To store data it need continuous power supply
|It will be store data without continuous power supply
|It affects on system performance
|Not affects on system performance
|ROM, hard disk, etc.