engineering computer science MCQ #2

Which cache mapping technique maps a block to a specific cache line?

engineering computer science MCQ #2

  1. Question 1

    Q1. Which cache mapping technique maps a block to a specific cache line?

    • A) Direct Mapping
    • B) Associative Mapping
    • C) Set-Associative Mapping
    • D) None of the above

    Answer: Direct Mapping

    Explanation: Direct mapping assigns each block to a specific cache line using the formula: cache line = (block address) mod (number of cache lines).