What is the main difference between a direct-mapped cache and a fully associative cache?
Q1. What is the main difference between a direct-mapped cache and a fully associative cache?
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.