Gate 2006 pyq CAO | A computer system has a level-1 instruction cache (1-cache), a level-1

Опубликовано: 25 Июль 2026
на канале: Gate CS pyqs - the other way [Eng]
307
9

A computer system has a level-1 instruction cache (1-cache), a level-1 data cache (D-cache) and a level-2 cache (L2-cache) with the following specifications:

Capacity Mapping Method Block Size
I-Cache 4K words Direct mapping 4 words
D-Cache 4K words 2 -way set associative mapping 4 words
L2-Cache 64K words 4-way set associative mapping 16 words



The length of the physical address of a word in the main memory is 30 bits. The capacity of the tag memory in the I-cache, D-cache and L2-cache is, respectively,

(A) 1 K x 18-bit, 1 K x 19-bit, 4 K x 16-bit
(B) 1 K x 16-bit, 1 K x 19-bit, 4 K x 18-bit
(C) 1 K x 16-bit, 512 x 18-bit, 1 K x 16-bit
(D) 1 K x 18-bit, 512 x 18-bit, 1 K x 18-bit