The main memory of a computer has 2cm blocks while the cache has 2c blocks. If…
GATE · 1999 · CS · Question 1 subpartsCoal India Management Trainee CBT · 2019 · 2020 Systems · Paper II · Domain KnowledgeModified — slightly modified from the official paper; see the solution
The main memory of a computer has 2cm blocks while the cache has 2c blocks. If the cache uses the set associative mapping scheme with 2 blocks per set, then the block k of main memory maps to the set:
- A.
(k(mod m)) of the cache
- B.
(k(mod c)) of the cache
- C.
(k(mod 2c)) of the cache
- D.
(k(mod 2cm)) of the cache
Attempted by 297 students.
Sign up free to check your answer
Sign up freeLoading lesson…