GateAI
Memory Management and Virtual Memory

GATE CSE 2018 · Q10

MCQ1 markEasy

Time

Consider a process executing on an operating system that uses demand paging. The average time for a memory access in the system is MM units if the corresponding memory page is available in memory, and DD units if the memory access causes a page fault. It has been experimentally measured that the average time taken for a memory access in the process is XX units. Which one of the following is the correct expression for the page fault rate experienced by the process?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: B) (X - M) / (D - M)

Memory Management and Virtual Memory

Let pp be the page fault rate (probability of a page fault).

The effective memory access time XX is given by:

X=(1−p)⋅M+p⋅DX = (1 - p) \cdot M + p \cdot D

Expanding and rearranging the terms:

X=M−pM+pDX = M - pM + pD
X−M=p(D−M)X - M = p(D - M)
p=X−MD−Mp = \frac{X - M}{D - M}

Hence, option (B) is the correct expression.

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 Q10 of the GATE CSE 2018 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. 5 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2018.

How GATE tests Memory Management and Virtual Memory

More from GATE CSE 2018

Share this solution

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

GateAI solution cardGATE CSE 2018 · Q10 · MCQ

Consider a process executing on an operating system that uses demand paging. The average time for a memory access in the system is M units if the corresponding memory page is available in memory, and D units if the memory access causes a page fault. It has been experimentally measured that the average time taken for a memory access in the process is X units. Which one of the following is the correct expression for the page fault rate experienced by the process?

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.