Brifely explain the types of memory?
Explain what is memory?
Memory is just like the human brain. It is used to store data and instructions. Computer memory.
The storage space in the computer where the data is to be processed and the instructions are required.
Processing is stored. Memory is divided into a large number of small parts called cells. each one
Location or cell has a unique address that varies from zero to memory size minus one. of the
For example, if a computer has 64k words, then this memory unit has 64 * 1024 = 65536 memory.
Locations The address of these locations varies from 0 to 65535.
What are the types of memory?
There are basically three types of memory.
- Cache memory
- Primary memory / Main memory
- Secondary memory
What is Cache memory?
Cache memory is a very fast semiconductor memory that can speed up the CPU. It works as one.
Buffer between CPU and main memory. It is used to store data and these parts of the program.
Which are often used by the CPU. Data and program parts are transferred from disk.
To cache memory through the operating system, from where the CPU can access them.
Benefits:
The benefits of cache memory are as follows:
- Cache memory is faster than main memory.
- It spend time than main memory.
- It stores programs that can be implemented in a short period of time.
- It saves data for temporary use.
Disadvantages:
The disadvantages of cache memory are as follows:
- Cache memory has limited capacity.
- It is very expensive.
What is Primary memory( Main memory)?
Primary memory contains only the data and instructions that the computer is currently working on. This
Its capacity is limited and data is lost when power is cut off.
These memories are not as fast as registers. Data and instructions
Processing must be in main memory. It is divided into two subcategories, RAM and
ROM.
Main memory features:
- These are semiconductor memories.
- This is known as main memory.
- Usually unstable memory.
- Data is lost in case of power outage.
- This is the working memory of the computer.
- Faster than secondary memories.
- A computer cannot run without basic memory.
What is Secondary memory?
Secondary memory is called backup memory or additional memory or auxiliary memory. Hard drives, Flash, optical drives, USD drives are some examples of secondary memories in computers. It's slower than Maine.
They are used to store data / information permanently. No direct access to the CPU.
These memories are accessed through input-output routines. Secondary Content
Memories are first transferred to the main memory, and then the CPU can access it. For example: disk,
CD-ROM, DVD, etc.
Secondary memory feature:
- These are magnetic and optical memories.
- This is called backup memory.
- This is unstable memory.
- Data remains permanently secure even when power is off.
- Its store data in memory.
- The computer can run without secondary memory.
- Slower than basic memories
Comments