Cache Memory: GATE CS Previous Year Questions

Cache Memory · Computer Organization and Architecture

68 questions · asked in 25 of 27 years (2000–2026)

MCQ 44 · MSQ 4 · NAT 201-mark 30 · 2-mark 38

2000Questions per year2026

Questions 21–25 of 68

Q21GATE 20182 marksMCQ−0.67 if wrong
The size of the physical address space of a processor is 2P2^{P} bytes. The word length is 2W2^{W} bytes. The capacity of cache memory is 2N2^{N} Bytes. The size of each cache block is 2M2^{M} words. For a K-way set-associative cache memory, the length (in number of bits) of the tag field is

Q22GATE 2017 (Session 1)1 markNAT
Consider a two-level cache hierarchy with L1 and L2 caches. An application incurs 1.4 memory accesses per instruction on average. For this application, the miss rate of L1 cache 0.1, the L2 cache experiences, on average, 7 misses per 1000 instructions. The miss rate of L2 expressed correct to two decimal places is ___________.

Q23GATE 2017 (Session 1)2 marksNAT
Consider a 2-way set associative cache with 256 blocks and uses LRU replacement, Initially the cache is empty. Conflict misses are those misses which occur due the contention of multiple blocks for the same cache set. Compulsory misses occur due to first time access to the block. The following sequence of accesses to memory blocks.

(0,128,256,128,0,128,256,128,1,129,257,129,1,129,257,129)

is repeated 10 times. The number of conflict misses experienced by the cache is ___________.

Q24GATE 2017 (Session 1)2 marksNAT
A cache memory unit with capacity of N words and block size of B words is to be designed. If it is designed as a direct mapped cache, the length of the TAG field is 10 bits. If the cache unit is now designed as a 16-way set-associative cache, the length of the TAG field is ______bits.

Q25GATE 2017 (Session 2)2 marksMCQ−0.67 if wrong
In a two-level cache system, the access times of L1L_{1} and L2L_{2} caches are 1 and 8 clock cycles, respectively. The miss penalty from L2 cache to main memory is 18 clock cycles . The miss rate of L1L_{1} cache is twice that of L2L_{2}. The average memory access time (AMAT) of this cache system is 2 cycles. This miss rates of L1L_{1} and L2L_{2} respectively are :

Keep practising

Topics in Computer Organization and Architecture

All CS topics ›