2. Computer Architecture

Memory Hierarchy — Quiz

Test your understanding of memory hierarchy with 5 practice questions.

Read the lesson first

Practice Questions

Question 1

Which of the following cache replacement policies requires knowledge of the entire future sequence of memory accesses to achieve the optimal (lowest) miss rate?

Question 2

In a write-through cache policy, when is data written to main memory?

Question 3

A computer system has a 32-bit physical address space. If the cache has a block size of $64$ bytes and is 4-way set-associative with a total of $1024$ cache lines, how many bits are used for the tag field?

Question 4

Which of the following is a primary advantage of increasing the block size of a cache?

Question 5

What is the main purpose of a victim cache in a memory hierarchy?
Memory Hierarchy Quiz — Computer Engineering | A-Warded