Sarkari Exam Study is for SSC exams , railway exams , bank exams , IAS & PCS exam , State exams

Friday, March 23, 2018

what is cache memory ?

what is cache memory ? 

Cache memory, also called CPU memory, is random access memory (RAM) that a computer microprocessor can access more quickly than it can access regular RAM. This memory is typically integrated directly with the CPU chip or placed on a separate chip that has a separate bus interconnect with the CPU.

cache memory diagram

How many levels are there Of cache memory ?
answer - 3 leve

MCQs Of Cache ----


1 . Which Cache level is fastest ? 

a. L1 chache   b. L2 cache c. L3 cache

answer - a (L1  cahce is extremely fast but relatively small)

2. what about L2 level Cache ?

answer. L2 level Cache is usually slower than L1 level Cache and faster then L3 Level Cache

3. what about L3 level Cache ? 

answer . L3 level Cache is slower from both L1 and L2 level cache

4. what about cache capacity Of three levels Of Cache ?

answer . Because L1 is small so it faster and it has lowest size and L3 is biggest in Size with slowest Speed

5. compare between Ram and L3 level Cache ?

answer. L3 level Cache is usually double size of Ram.

6. why cache is used in computers ?

answer. When the processor needs to read or write a location in main memory, it first checks for a corresponding entry in the cache.

7. what is cache hit ? 

answer . If the processor finds that the memory location is in the cache, a cache hit has occurred and data is read from cache.

8. what is cache miss ? 

answer. If the processor does not find the memory location in the cache, a cache miss has occurred. For a cache miss, the cache allocates a new entry and copies in data from main memory, then the request is fulfilled from the contents of the cache.

9. How the performance of cache memory is tested ?

answer. The performance of cache memory is frequently measured in terms of a quantity called Hit ratio. 

10. Formula Of cache hit ratio ?

answer. Hit ratio = hit / (hit + miss) = no. of hits/total accesses





No comments:

Post a Comment