engineering computer science MCQ #238

If a 2-way set-associative cache has a total of 128 sets and a block size of 8 words, what is the total cache size?

engineering computer science MCQ #238

  1. Question 1

    Q1. If a 2-way set-associative cache has a total of 128 sets and a block size of 8 words, what is the total cache size?

    • A) 2048 words
    • B) 1024 words
    • C) 4096 words
    • D) 8192 words

    Answer: 2048 words

    Explanation: Total cache size = number of sets * associativity * block size = 128 * 2 * 8 = 2048 words.