engineering computer science MCQ #110

A 2-way set associative cache has 128 sets and a block size of 16 bytes. What is the total cache size?

engineering computer science MCQ #110

  1. Question 1

    Q1. A 2-way set associative cache has 128 sets and a block size of 16 bytes. What is the total cache size?

    • A) 2KB
    • B) 4KB
    • C) 8KB
    • D) 16KB

    Answer: 4KB

    Explanation: Total cache size = number of sets * associativity * block size = 128 * 2 * 16 = 4096 bytes = 4KB.