GATE / CS ARCHIVE

GATE CSE 1991 / QUESTION 2(iii)

Matching implementation associations

Operating Systems · Other / Mixed Topics · Full GATE CSE 1991 paper

GATE 1991, Q2(iii) 2 marks · Other
Report issue

Other / Mixed Topics

Question 2(iii), GATE 1991: Match buddy system, interpretation, virtual memory, pointer with P runtime type checking; Q segmentation; R memory allocation; S garbage collection.
Question 2(iii), GATE 1991: Match buddy system, interpretation, virtual memory, pointer with P runtime type checking; Q segmentation; R memory allocation; S garbage collection.
Tap to enlarge
Answer & solution

Answer: Buddy–R; interpretation–P; virtual memory–Q; pointer–S as the intended associations (no official key was published)

Buddy allocation splits power-of-two blocks and merges free buddies, so R is direct. Segmentation is one way to implement a virtual address space, making Q the intended virtual-memory association. Dynamically typed interpreters commonly check types during execution, suggesting P. Pointer reachability underlies tracing garbage collection, suggesting S. The last three are associations, not necessities: interpreters can execute statically typed languages, virtual memory can use paging rather than segmentation, and pointer-supporting languages need not provide garbage collection. The matching should not be promoted into universal implementation laws.

Original paper, page 2