Skip to content
GATEiit

GATE CSE 2024 Session 1 Q53: Write-back vs write-through caches on hits and misses

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

Select one or more options
Select all correct options. No negative marking, no partial marks.
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

WhatsAppDownload image

Source: official GATE 2024 Session 1 CS question paper and final answer key, organised by IISc Bangalore. Question paper · Answer key