Question:

A 4-way set-associative cache with 256 blocks divides memory addresses into _______.

Show Hint

In set-associative caches, the total number of sets is equal to the number of blocks divided by the associativity.
Updated On: Jun 16, 2025
  • 256 sets
  • 64 sets
  • 4 sets
  • 16 sets
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

In a 4-way set-associative cache, the total number of sets is calculated by dividing the total number of blocks by the associativity. In this case, there are 256 blocks and 4-way associativity, so the number of sets is \( \frac{256}{4} = 64 \). Therefore, the correct answer is option (2).
Was this answer helpful?
0
0