GATE CSE 2024 Session 1 Q53: Write-back vs write-through caches on hits and misses
- Computer Organization and Architecture
- 2 marks
- MSQ
- No negative marking
Question
Consider two set-associative cache memory architectures: WBC, which uses the write back policy, and WTC, which uses the write through policy. Both of them use the LRU (Least Recently Used) block replacement policy. The cache memory is connected to the main memory. Which of the following statements is/are TRUE?
Try it: multiple select: one or more correct options
Show answer and explanation
Answer: B, C (official GATE 2024 final answer key)
Concept used: Write-back keeps dirty blocks and writes them on eviction; write-through keeps memory always up to date.
First step: In write-through no block is ever dirty, so no eviction needs a write back; in write-back the LRU victim may be dirty.
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 2024 Session 1 CS question paper and final answer key, organised by IISc Bangalore. 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