Priority-Queue
November 30, 2023
2015 June NTA UGC Paper 1
November 30, 2023
Priority-Queue
November 30, 2023
2015 June NTA UGC Paper 1
November 30, 2023

UGC NET CS 2018-DEC Paper-2

Question 24
Consider a system with 2 level cache. Access times of Level 1, Level 2 cache and main memory are 0.5 ns, 5 ns and 100 ns respectively. The hit rates of Level1 and Level2 caches are 0.7 and 0.8 respectively. What is the average access time of the system ignoring the search time within cache?
A
20.75 ns
B
7.55 ns
C
24.35 ns
D
35.20 ns
Question 24 Explanation: 
Average access time = level 1 hit rate( level 1 access time)+ (level1 miss rate)(level 2 hit rate(level 2 access time)+ (level 1 miss rate)( level 2 miss rate) (main memory access time)
Average access time = 0.7(0.5)+ 0.3(0.8)(5)+ 0.3(0.2)(100)
Average access time = 7.55 ns
Correct Answer: B
Question 24 Explanation: 
Average access time = level 1 hit rate( level 1 access time)+ (level1 miss rate)(level 2 hit rate(level 2 access time)+ (level 1 miss rate)( level 2 miss rate) (main memory access time)
Average access time = 0.7(0.5)+ 0.3(0.8)(5)+ 0.3(0.2)(100)
Average access time = 7.55 ns

Leave a Reply

Your email address will not be published. Required fields are marked *