engineering computer science MCQ #236

A 32-bit processor has a cache with a block size of 16 bytes. What is the number of blocks in a 256KB cache?

engineering computer science MCQ #236

  1. Question 1

    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?

    • A) 16384
    • B) 8192
    • C) 4096
    • D) 2048

    Answer: 16384

    Explanation: Number of blocks = cache size / block size = 256KB / 16B = (256 * 1024) / 16 = 16384.