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 61–65 of 68

Q61GATE 20061 markMCQ−0.33 if wrong
A CPU has a cache with block size 64 bytes. The main memory has k banks, each bank being c bytes wide. Consecutive c-byte chunks are mapped on consecutive banks with wrap-around. All the k banks can be accessed in parallel, but two accesses to the same bank must be serialized. A cache block access may involve multiple iterations of parallel bank accesses depending on the amount of data obtained by accessing all the k banks in parallel. Each iteration requires decoding the bank numbers to be accessed in parallel and this takes k/2 ns . The latency of one bank access is 80 ns . If c = 2 and k=24, then latency of retrieving a cache block starting at address zero from main memory is

Q62GATE 20051 markMCQ−0.33 if wrong
Consider a 2-way set associative cache memory with 4 sets and total 8 cache blocks (0-7) and a main memory with 128 blocks (0-127). What memory blocks will be present in the cache after the following sequence of memory block references if LRU policy is used for cache block replacement?

0 5 3 9 7 0 16 55
Assuming that initially the cache did not have any memory block from the current job?

Q63GATE 20051 markMCQ−0.33 if wrong
Consider a direct mapped cache of size 32 KB with block size 32 bytes. The CPU generates 32 bit addresses. The number of bits needed for cache indexing and the number of tag bits are respectively.

Q64GATE 20041 markMCQ−0.33 if wrong
Consider a fully associative cache with 8 cache blocks (numbered 0-7) and the following sequence of memory block requests:
4,3,25,8,19,6,25,8,16,35,45,22,8,3,16,25,7
If LRU replacement policy is used, which cache block will have memory block 7?

Q65GATE 20041 markMCQ−0.33 if wrong
Consider a system with 2 level cache. Access times of Level 1 cache, Level 2 cache and main memory are 1 ns, 10 ns, and 500 ns respectively. The hit rates of Level 1 and Level 2 caches are 0.8 and 0.9, respectively. What is the average access time of the system ignoring the search time within the cache?

Keep practising

Topics in Computer Organization and Architecture

All CS topics ›