Question discussion

A 32 KB 2-way set-associative cache has a block size of 64 bytes. How many sets does the cache have?

1189Medium DSSSB TGT Computer Science 0 replies

A 32 KB 2-way set-associative cache has a block size of 64 bytes. How many sets does the cache have?

  • A128
  • B1024
  • C512
  • D256
Correct answer: D

Explanation

Number of blocks = 32768/64 = 512; with 2 blocks per set there are 512/2 = 256 sets.

Discussion 0

Nobody has replied yet. Start the discussion!