GateAI
Memory Management and Virtual Memory

GATE CSE 2026 Set 1 · Q54

MSQ2 marksMedium

Time

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?

Select all that applyOne or more correct

Pick every correct option

Solution

Step-by-step verified solution

Official answer: B) TLB hit, Page table miss, Cache hit; C) TLB miss, Page table miss, Cache hit

Memory Management and Virtual Memory

Let us analyze the validity of each sequence of events:

  1. Option A (TLB miss, Page table hit, Cache hit):

    • A TLB miss occurs, so the MMU accesses the page table in main memory.

    • The page is present in main memory (Page table hit), yielding the physical address.

    • The physically addressed cache is searched with the physical address and finds the block (Cache hit).

    • This is a valid and common scenario.

  2. Option B (TLB hit, Page table miss, Cache hit):

    • A TLB hit means the virtual-to-physical address mapping is present and valid in the TLB, which implies the corresponding page must be in main memory.

    • A page table miss (page fault) cannot occur if the mapping is present and valid in the TLB (and the page table is not even consulted on a TLB hit).

    • Hence, this sequence can NEVER happen.

  3. Option C (TLB miss, Page table miss, Cache hit):

    • A page table miss means the page is not present in main memory (a page fault).

    • Since the problem states that when a page is evicted from main memory, its corresponding blocks in cache are invalidated, a block belonging to a page not present in main memory cannot produce a Cache hit.

    • Hence, this sequence can NEVER happen.

  4. Option D (TLB miss, Page table miss, Cache miss):

    • The page is not in the TLB, not in main memory (page fault), and not in the cache.

    • This is the standard sequence for a page fault.

    • This is a valid scenario.

Therefore, the sequences that can never happen are B and C.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Memory Management and Virtual Memory previous year question is Q54 of the GATE CSE 2026 Set 1 paper. Find more GATE CSE PYQs on Memory Management and Virtual Memory in Operating Systems, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Memory Management and Virtual Memory PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Memory Management and Virtual Memory in GATE CSE

Memory Management and Virtual Memory has 32 GATE CSE PYQs across 22 papers from 2011 to 2026. 2 of them are 2-mark MSQs like this one, and it is the only one in GATE CSE 2026 Set 1.

How GATE tests Memory Management and Virtual Memory

More from GATE CSE 2026 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2026 Set 1 · Q54 · MSQ

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?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.