After restart, the system accesses the following byte-addressedstream of cache references: 0, 4, 8, 20, 136, 228, 156, 1032, 34,136, 2236, 252, 3316
d. How many blocks are replaced?
e. What is the hit ratio?
f. Using a table, show the final state of the cache aftercompleting reading the stream of memory addresses, with validentries represented as records holding {index, tag, data}.
Expert Answer
Answer to After restart, the system accesses the following byte-addressed stream of cache references: 0, 4, 8, 20, 136, 228, 156, …