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:

  1. A.

    (k(mod m)) of the cache

  2. B.

    (k(mod c)) of the cache

  3. C.

    (k(mod 2c)) of the cache

  4. D.

    (k(mod 2cm)) of the cache

Attempted by 297 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…