engineering computer science MCQ #284

A computer system has 16 KB of cache memory. If the cache line size is 4 bytes, how many cache lines are there?

engineering computer science MCQ #284

  1. Question 1

    Q1. A computer system has 16 KB of cache memory. If the cache line size is 4 bytes, how many cache lines are there?

    • A) 4096
    • B) 2048
    • C) 1024
    • D) 512

    Answer: 4096

    Explanation: 16 KB = 16 * 1024 = 16384 bytes. 16384 / 4 = 4096 cache lines.