Last Updated : 19 Nov, 2018

The main memory of a computer has 2 cm 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


Answer: (B)

Explanation:

Quiz of this Question


Share your thoughts in the comments