NIMCET 2021 — Computer PYQ
NIMCET | Computer | 2021Choose the correct answer:
- A. Memory localization
- B. Locality of reference(Correct Answer)
- C. Memory size
- D. None of the mentioned
Explanation
Performance Equation
The effectiveness of cache is measured by the Average Memory Access Time (AMAT):
Where:
-
Tcache = Time to access the cache.
-
H = Hit Ratio (probability that the data is in the cache).
-
(1−H) = Miss Ratio.
-
Tmiss_penalty = Time to fetch data from main memory.
Speed Comparison
The effectiveness is also driven by the speed advantage of cache over main memory:
Final Answer
Cache memory is more effective because of:
Explanation
Performance Equation
The effectiveness of cache is measured by the Average Memory Access Time (AMAT):
Where:
-
Tcache = Time to access the cache.
-
H = Hit Ratio (probability that the data is in the cache).
-
(1−H) = Miss Ratio.
-
Tmiss_penalty = Time to fetch data from main memory.
Speed Comparison
The effectiveness is also driven by the speed advantage of cache over main memory:
Final Answer
Cache memory is more effective because of:

