1.

What is Cache memory explain its types.

Answer»

The cache memory is one of the fastest memory. Though it is costlier than the main memory but more useful than the registers. The cache memory basically acts as a buffer between the main memory and the CPU. Moreover, it synchronizes with the speed of the CPU. Besides, it stores the data and instructions which the CPU uses more frequently so that it does not have to access the main memory again and again. Therefore the average time to access the main memory decreases.

It is placed between the main memory and the CPU. Moreover, for any data, the CPU first checks the cache and then the main memory.

There are two types, as follows:

Primary Cache

It’s located on the processor chip always. Besides, its access time is comparable to the processor.

Secondary Cache

This memory is present between the primary cache and the main memory. Besides, we can also call it level 2 (L2) cache.



Discussion

No Comment Found

Related InterviewSolutions