A computer system has 16 KB of cache memory. If the cache line size is 4 bytes, how many cache lines are there?
Q1. A computer system has 16 KB of cache memory. If the cache line size is 4 bytes, how many cache lines are there?
Answer: 4096
Explanation: 16 KB = 16 * 1024 = 16384 bytes. 16384 / 4 = 4096 cache lines.