GATE / CS ARCHIVE

GATE CSE 1994 / QUESTION 1.21

Overlaying versus virtual address space

Operating Systems · Memory Allocation & Segmentation · Full GATE CSE 1994 paper

GATE 1994, Q1.21 MCQ
Not in GATE 2027 syllabusReport issue

Memory Allocation & Segmentation

Question 1.21, GATE 1994: Which is true: nested macro definitions are impossible; overlays allow a program larger than address space; virtual memory exceeds address space; or high-level interrupt routines are impossible?
Tap to enlarge
Your answer
Answer & solution

Answer: B under the total-program-overlay interpretation (no official key was published)

An overlay design keeps only selected mutually exclusive program portions resident at once and loads others into reused addresses. Its total stored program can therefore exceed the simultaneously addressable space, provided each active configuration fits. Virtual memory can exceed installed physical RAM, but it does not by itself enlarge the architecture’s virtual address space. Nested macros and high-level interrupt routines are possible in suitable tools, so the blanket impossibility claims fail.

Original paper, page 3