GATE CS 2021 Set 2 | Question 37

Computer Organization & Architecture › Memory Hierarchy · MCQ · 2 marks · Answer: A

  1. Question 37Computer Organization & Architecturemcq2 marks
    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?
    • A.
      is true and is false
      ✓
    • B.
      is false and is true
    • C.
      is true and is true
    • D.
      is false and is false

    Answer: A

    Solution

    A write-through L1 never holds dirty lines (writes propagate immediately), so a read miss causes no writeback — is true. Write-allocate and no-write-allocate can be paired with either write policy; the "must" claim is false, so is false.

More GATE PYQ on Memory Hierarchy

All GATE CS Computer Organization & Architecture PYQ →

Attempt GATE CS 2021 Set 2 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →