Skip to main content

GATE CSE 2026CO & Architecture › Memory Hierarchy & Cache OrganizationVerified

GATE CSE 2026 PYQ: Consider a system that has a cache memory unit and a memory management unit (MMU). The address input to the…

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?

  1. A
    TLB miss, Page table hit, Cache hit
  2. B
    TLB hit, Page table miss, Cache hit
    Correct answer
  3. C
    TLB miss, Page table miss, Cache hit
    Correct answer
  4. D
    TLB miss, Page table miss, Cache miss

Answer

(B, C) TLB hit, Page table miss, Cache hit; TLB miss, Page table miss, Cache hit

Approach

Analyze the role of the TLB and page table in address translation, then check each sequence for logical consistency with the cache being physically addressed and cache blocks being invalidated when a page is evicted.

The sequences that can NEVER happen are B and C. B is impossible because TLB hit bypasses page table lookup. C is impossible because a page table miss implies the page is not in main memory, so the physically-addressed cache cannot hit after cache invalidation.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.