engineering computer science MCQ #116

If a cache has a hit rate of 95% and the access time is 2ns, what is the average memory access time if main memory access time is 20ns?

engineering computer science MCQ #116

  1. Question 1

    Q1. If a cache has a hit rate of 95% and the access time is 2ns, what is the average memory access time if main memory access time is 20ns?

    • A) 2.9ns
    • B) 3ns
    • C) 3.1ns
    • D) 3.2ns

    Answer: 2.9ns

    Explanation: Average access time = (hit rate * cache access time) + ((1 - hit rate) * main memory access time) = (0.95 * 2) + (0.05 * 20) = 1.9 + 1 = 2.9ns.