What is cache memory? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

What is cache memory?

1st Dec 2016, 3:40 PM
sonal sharma
sonal sharma - avatar
2 Answers
+ 7
It is a memory type, that is in ram. But computer access this memory much faster than ram. It is three type L1, L2 AND L3. L3 is fastest but has small size. Here what cache memory means Imagine your wardrobe. Say you have 7 pair of socks, one for a particular day in the week, and you require a pair everyday to wear with your shoes. If you throw your socks in the wardrobe after a use, you may have a tough time looking through the entire wardrobe for it next week. A smart way to save you the hassle and the time is to keep your socks in a separate shelf or bag. Applying the same logic, the computer has a cache memory (separate shelf) so that it does not have to look through the entire main memory (wardrobe) whenever it requires the most frequently used instructions/functions/files etc. (socks). It saves time and increases efficiency.
1st Dec 2016, 3:47 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 2
Cache memory is a small-sized type of volatile computer memory that provides high-speed data access to a processor and stores frequently used computer programs, applications and data... so..is this clear Sonal.
1st Dec 2016, 6:26 PM
Manjeet Kumar
Manjeet Kumar - avatar