NIMCET 2018 computer PYQ — Let the memory access time is 10 milliseconds and cache access ti… | Mathem Solvex | Mathem Solvex
Tip:A–D to answerE for explanationV for videoS to reveal answer
NIMCET 2018 — computer PYQ
NIMCET | computer | 2018
Let the memory access time is 10 milliseconds and cache access time is 10 microseconds. Assume the cache hit ratio of 15%. The effective memory access time is
Choose the correct answer:
A.
2 milliseconds
(Correct Answer)
B.
1.5 milliseconds
C.
1.85 microseconds
D.
1.85 milliseconds
Correct Answer:
2 milliseconds
Explanation
The correct answer is 2 milliseconds.
ETA-Effective access time CMT-Cache memory time MMT- Main memory time Given-: CMT=10micro sec= 10*10^-6sec=10*10^-3 msec MMT=10 msec Hit ratio =15% EAT=(hit ratio)*(CMT +MMT)+(1-hit)*(CMT+2*MMT) …. (1) Putting values in equation (1)… EAT=15/100(0.001+10)+85/100(0.001+2*10) EAT=1.85msec
Explanation
The correct answer is 2 milliseconds.
ETA-Effective access time CMT-Cache memory time MMT- Main memory time Given-: CMT=10micro sec= 10*10^-6sec=10*10^-3 msec MMT=10 msec Hit ratio =15% EAT=(hit ratio)*(CMT +MMT)+(1-hit)*(CMT+2*MMT) …. (1) Putting values in equation (1)… EAT=15/100(0.001+10)+85/100(0.001+2*10) EAT=1.85msec