engineering computer science MCQ #95

A computer system has a 2-way set-associative cache with 128 sets. What is the total number of cache lines?

engineering computer science MCQ #95

  1. Question 1

    Q1. A computer system has a 2-way set-associative cache with 128 sets. What is the total number of cache lines?

    • A) 128
    • B) 256
    • C) 512
    • D) 1024

    Answer: 256

    Explanation: Total cache lines = number of sets * associativity = 128 * 2 = 256 lines.