GATE CSE 2021 Set 2 Q37: Write-through L1 read misses and write-allocate policy
- Computer Organization and Architecture
- 2 marks
- MCQ
- −2/3 if wrong
Question
Assume a two-level inclusive cache hierarchy, L1 and L2, where L2 is the larger of the two. Consider the following statements.
: Read misses in a write through L1 cache do not result in writebacks of dirty lines to the L2.
: Write allocate policy must be used in conjunction with write through caches and no-write allocate policy is used with writeback caches.
Which of the following statements is correct?
Try it: multiple choice: exactly one correct option
Show answer and explanation
Answer: A (official GATE 2021 final answer key)
Concept used: A write-through cache never holds dirty lines; write allocate is usually paired with write-back, and no-write allocate with write-through.
First step: Ask whether a write-through L1 can ever have a line that differs from L2; then check which pairing of allocation policies is the usual one.
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 2021 Set 2 CS question paper and final answer key, organised by IIT Bombay. 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