engineering computer science MCQ #100

What is the main difference between a direct-mapped cache and a fully associative cache?

engineering computer science MCQ #100

  1. Question 1

    Q1. What is the main difference between a direct-mapped cache and a fully associative cache?

    • A) Direct-mapped cache has a higher hit ratio
    • B) Fully associative cache has a simpler replacement policy
    • C) Direct-mapped cache maps each memory block to a specific cache line
    • D) Fully associative cache is more complex to implement

    Answer: Direct-mapped cache maps each memory block to a specific cache line

    Explanation: Direct-mapped cache maps each memory block to a specific cache line, whereas fully associative cache allows a memory block to be mapped to any cache line.