engineering computer science MCQ #274

A CPU has a cache memory with a hit rate of 95%. What is the average memory access time if the cache access time is 1ns and main memory access time is 10ns?

engineering computer science MCQ #274

  1. Question 1

    Q1. A CPU has a cache memory with a hit rate of 95%. What is the average memory access time if the cache access time is 1ns and main memory access time is 10ns?

    • A) 1.45ns
    • B) 1.9ns
    • C) 2ns
    • D) 5ns

    Answer: 1.45ns

    Explanation: Average memory access time = (hit rate * cache access time) + ((1 - hit rate) * main memory access time) = (0.95 * 1) + (0.05 * 10) = 1.45ns.