Answer:
The answer to this question can be described as follows:
binary address: 01001, 01100, 01111.
Cache block: 1, 4, 7
Step-by-step explanation:
Given values
Memory = 5 bit and cache = 8 blocks
Option 1)
memory location is =9
convert into binary number, so we get binary address = 01001
So, the cache block = 1
Option 2)
memory location is = 12
convert into binary number, so we get binary address = 01100
So, the cache block = 4
Option 3)
memory location is =15
convert into binary number, so we get binary address = 01111
So, the cache block = 7