GATE CS 2026 Set 1 | Question 54

Operating Systems › Memory Management · MSQ · 2 marks · Answer: B, C

  1. Question 54Operating Systemsmsq2 marks
    Consider a system that has a cache memory unit and a memory management unit (MMU). The address input to the cache memory is a physical address. The MMU has a translation lookaside buffer (TLB). Assume that when a page is evicted from the main memory, the corresponding blocks in the cache are marked as invalid. For a given memory reference, which of the following sequences of events can NEVER happen?
    • A.
      TLB miss, Page table hit, Cache hit
    • B.
      TLB hit, Page table miss, Cache hit
      ✓
    • C.
      TLB miss, Page table miss, Cache hit
      ✓
    • D.
      TLB miss, Page table miss, Cache miss

    Answer: B, C

    Solution

    Answer: B, C • (A) Possible: the translation is found in the page table and the block is in the cache. • (B) Never: a TLB hit means the page table is not consulted, so there can be no page-table miss. • (C) Never: a page-table miss is a page fault, so the page is not in RAM, and its cache blocks were invalidated when it was evicted. It cannot be a cache hit. • (D) Possible: an ordinary page fault.

More GATE PYQ on Memory Management

All GATE CS Operating Systems PYQ →

Attempt GATE CS 2026 Set 1 in real GATE exam mode

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

Create free account →