GATE CSE 2020 Q31: Average access time of a direct-mapped cache with word-wise refill
- Computer Organization and Architecture
- 1 mark
- NAT
- No negative marking
Question
A direct mapped cache memory of 1 MB has a block size of 256 bytes. The cache has an access time of 3 ns and a hit rate of 94%. During a cache miss, it takes 20 ns to bring the first word of a block from the main memory, while each subsequent word takes 5 ns. The word size is 64 bits. The average memory access time in ns (round off to 1 decimal place) is _______.
Try it: numerical answer: type the value
Show answer and explanation
Answer: 13.3 (or 13.5) (official GATE 2020 final answer key)
Concept used: Average access time = hit time weighted by hit rate plus miss time weighted by miss rate; the miss penalty is the time to load the whole block.
First step: A block holds words, so the miss penalty is ns. The official key accepts 13.3 or 13.5, depending on whether the 3 ns cache access is added on a miss.
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2020 CS question paper and final answer key, organised by IIT Delhi. Question paper · Answer key
More Computer Organization and Architecture PYQs
- 2026 Session 1 · Q14Match addressing modes with high-level data elements
- 2026 Session 1 · Q15Instruction sequence for Z = X + Y on a load-store machine
- 2026 Session 1 · Q16Register dependency that causes a data hazard
- 2026 Session 1 · Q36IEEE 754 single-precision sum of 35C00000 and 34A00000
- 2026 Session 1 · Q38Tag length: direct-mapped vs K-way set-associative cache
- 2026 Session 1 · Q54Impossible TLB / page table / cache event sequences