engineering computer science MCQ #136

If a cache has a hit ratio of 0.9 and the cache access time is 1 cycle, and main memory access time is 10 cycles, what is the average memory access time?

engineering computer science MCQ #136

  1. Question 1

    Q1. If a cache has a hit ratio of 0.9 and the cache access time is 1 cycle, and main memory access time is 10 cycles, what is the average memory access time?

    • A) 1 + 0.1 * 10
    • B) 0.9 * 1 + 0.1 * 10
    • C) 1 + 0.9 * 10
    • D) 0.9 * (1 + 10)

    Answer: 0.9 * 1 + 0.1 * 10

    Explanation: Average access time = (hit ratio * cache access time) + ((1 - hit ratio) * main memory access time) = (0.9 * 1) + (0.1 * 10).