GATE / CS ARCHIVE

GATE CSE 2004 / QUESTION 21

Architectural minimum frame allocation

Operating Systems · Virtual Memory & Paging · Full GATE CSE 2004 paper

GATE 2004, Q21 1 mark · MCQ
Report issue

Virtual Memory & Paging

Question 21, GATE 2004: What determines the minimum number of page frames that must be allocated to a running process in a virtual-memory environment?
Options:
(A) Instruction set architecture
(B) Page size
(C) Physical memory size
(D) Number of processes in memory
Tap to enlarge
Your answer
Answer & solution

Answer: A under a fixed paging configuration (no official key was published)

1. The instruction set determines which instruction bytes and operands may have to be resident together to complete/restart one instruction without endless page faults. Thus A is the standard determinant of the minimum required frame count, rather than a count based simply on concurrent processes or total RAM.

2. Exact numerical requirements also depend on the fixed page size, operand placement, and restart implementation; the answer identifies the architectural constraint, not independence from all those details.

3. Teaching check: The minimum is about making forward progress on an instruction, not fitting the whole working set. For example, an instruction may simultaneously need its code page and multiple operand pages. The ISA constrains these requirements; page geometry and restart details matter when calculating an actual number.

Original paper, page 3