All mock tests are FREE till 31 December — register to save your progress
Unit 2 · Computer System Architecture Paper 2 CS · September 2022

In a cache memory, if the address has 9 bits in the tag field and 12 bits in the index field, the sizes of main memory and cache memory would be, respectively,

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. 2048K, 4K

Explanation

Main-memory address = 9 + 12 = 21 bits → 221 = 2048K words. The index addresses the cache: 212 = 4K words.

More Computer System Architecture questions