Explanation : First, the system will look in cache 1. If it is not found in cache 1, then cache 2 and then further in main memory (if not in cache 2 also). The average access t i me would take into consideration success in cache 1, failure in cache 1 but success in cache 2, failure in both the caches and success in main memory. Average access time = [H1 * T1] + [(1 – H1) * H2* T2]+ [(1 – H1)(1 – H2) * Hm * Tm] where, H1 = Hit rate of level 1 cache = 0.8 T1 = Access time for level 1 cache = 1 ns H2 = Hit rate of level 2 cache = 0.9 T2 = Access time for level 2 cache = 10 ns Hm = Hit rate of Main Memory = 1 Tm = Access time for Main Memory = 500 ns So, Average Access Time = (0.8 * 1) + (0.2 * 0.9 * 10) + (0.2 * 0.1 * 1 * 500) = 0.8 + 1.8 + 10 = 12.6 ns