Skip to content
Official PYQ · 1998

GATE CS 1998 Q1.25 — Runtime Environments

Explain with AI

In a resident – OS computer, which of the following systems must reside in the main memory under all situations?

Choose one option
View worked solution

Answer: C

In a resident operating system, the core components required to load and execute user programs must always remain in the main memory.

  • Loader: The primary function of a loader is to load programs (executable files) from secondary storage into the main memory for execution. Since any program (including the assembler, linker, or compiler itself) must first be loaded into memory before it can run, the loader must reside in the main memory under all situations.
  • Assembler, Linker, and Compiler: These are system software tools used during the program development phase (translation and linking). They are only loaded into memory when needed and can be released once their tasks are complete. They do not need to reside in the main memory permanently.

Therefore, the Loader must always reside in the main memory.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Runtime Environments questions