engineering computer science MCQ #241

If a CPU has a 3-level cache hierarchy with hit ratios 0.9, 0.8, and 0.7 respectively, what is the overall hit ratio?

engineering computer science MCQ #241

  1. Question 1

    Q1. If a CPU has a 3-level cache hierarchy with hit ratios 0.9, 0.8, and 0.7 respectively, what is the overall hit ratio?

    • A) 0.994
    • B) 0.976
    • C) 0.952
    • D) 0.9

    Answer: 0.994

    Explanation: Overall hit ratio = 1 - (1 - hit ratio L1) * (1 - hit ratio L2) * (1 - hit ratio L3) = 1 - (1-0.9) * (1-0.8) * (1-0.7) = 1 - 0.1 * 0.2 * 0.3 = 1 - 0.006 = 0.994.