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.

Ask a doubt
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh has done his B.Tech from Indian Institute of Technology, Kanpur. He has been teaching from the past 14 years. He provides courses for Maths, Science, Social Science, Physics, Chemistry, Computer Science at Teachoo.