What is Memory in a computer?
Memory in a computer :-
Memory is an
essential component of a computer which stores program, data, results etc.
Every computer
contains several types of memories to store the data and instruction.
Types of memory:-
The data-storage
components of a computer can be divided into following four groups:
[1] Main memory
[2] Secondary memory
[3] Cache memory
[4] CPU registers
[1] Main memory:
- It is also known as Primary memory or Semiconductor memory.
- Stores data which are currently needed in CPU during operations.
- It is relatively large and fast to store data.
[2] Secondary memory:
- It is also known as Auxiliary memory.
- Data which is not being currently processed stored in secondary memory.
- Stores larger amount of data but also much slower.
- It must store data permanently
- Examples: Hard disk, floppy etc.
[3] Cache memory:
- Placed between CPU and main memory
- Consist of static memory
- Stores data which are frequently used by CPU
- Faster to access the data stored in cache memory
[4] CPU registers:
- These are high speed registers
- Used for temporary storage of data and instructions
--------------------------------------------------------------------------------------------------------------
Tags:
Computer memory, memory, What is memory, Types of memory, Main memory, Secondary memory, Auxiliary memory, memory hierarchy, cache memory, register, RAM, ROM