Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2011 | Question 16
  • Last Updated : 23 Sep, 2020
GeeksforGeeks - Summer Carnival Banner

Consider a direct mapped cache with 64 blocks and a block size of 16 bytes. To what block number does the byte address 1206 map to
(A) does not map
(B) 6
(C) 11
(D) 54

Answer: (C)


Block size = 16 B
Memory block number = Byte Address / Block size
= 1206/16 = 75.3
The given byte address i.e. 1206 is a part of 75th block.
Cache block number = (Memory block number) mod (number of blocks in cache) 
= 75 mod 64
= 11

Option (C) is correct.

Quiz of this Question

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :