A 32-bit processor has a cache with a block size of 16 bytes. What is the number of blocks in a 256KB cache?
Q1. A 32-bit processor has a cache with a block size of 16 bytes. What is the number of blocks in a 256KB cache?
Answer: 16384
Explanation: Number of blocks = cache size / block size = 256KB / 16B = (256 * 1024) / 16 = 16384.