Answer:
a) 32 words
b) 32 blocks
c) 374 / 10240
Explanation:
A) Cache block size
The offset bits from given data ; = 5 bits
therefore the cache block size = 2^5 = 32 words
B) determine the number of blocks the cache have
index bits = 5 bits
therefore the number of blocks the cache have = 2^5 = 32 blocks are mapped in the cache
C ) Determine the ratio between Total bits required for such a cache implementation over the data storage bits
lets assume
size of each word = w
size of each word ( w ) = 32 * 10 = 320
then we have to determine the total bits = 54 + 320 = 374
also total data bits = 32 * w = 10240
finally ratio of Total bits over data storage bits
= Total bits / total data bits
= 374 / 10240