engineering computer science MCQ #127

A 32-bit processor has a 4-way set associative cache with 256 sets. What is the total number of cache lines?

engineering computer science MCQ #127

  1. Question 1

    Q1. A 32-bit processor has a 4-way set associative cache with 256 sets. What is the total number of cache lines?

    • A) 256
    • B) 256 * 4
    • C) 1024
    • D) 256 / 4

    Answer: 1024

    Explanation: Total cache lines = number of sets * associativity = 256 * 4 = 1024.