Skip to content
Official PYQ · 2001

GATE CS 2001 Q1.17 — Runtime Environments

Explain with AI

The process of assigning load addresses to the various parts of the program and adjusting the code and the data in the program to reflect the assigned addresses is called

Choose one option
View worked solution

Answer: C

The correct option is C.

Here is a breakdown of the terms to understand why Relocation is the correct answer:

  • Relocation: This is the process of allocating load addresses to the position-dependent parts of a program (both code and data segments) and adjusting the address constants within the program to reflect these newly assigned memory addresses. This is typically performed by the linker and loader.
  • Assembly: The process of translating assembly language source code into machine-readable object code.
  • Parsing: A phase in compilation (syntax analysis) that determines if the input token stream satisfies the grammatical rules of the programming language.
  • Symbol resolution: The process of linking each symbol reference (such as a function call or variable usage) to its unique definition across different object files.

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

Published
Report a correction
Keep exploringMore Runtime Environments questions