Explain Cache Memory.
Answer:
To speed up the operations of the CPU, a very high speed memory is placed between the CPU and the primary memory known as cache . It stores the copies of the data from frequently accessed primary memory locations , thus, reducing the average time required to access data from primary memory.
When the processor needs to read from or write to a location in main memory, it first checks whether a copy of that data resides in the cache. If so, the processor immediately reads from or writes to the cache, which is much faster than reading from or writing to main memory.