Similar questions 2 more →
Cache Memory

Answer & solution
Official answer: 14
The stated miss time is the entire request time, not an extra penalty. Average=0.8·5+0.2·50=14 ns.
The random read time takes only two stated values:5 with probability.8 and 50 with probability.2. Its expected value is the probability-weighted sum, .8×5+.2×50=4+10=14 ns. Do not add 5 to the miss case: the prompt already says the entire request takes 50 ns on a miss. If it had called 50 an additional miss penalty, the formula would differ.