edited by
12,523 views
36 votes
36 votes

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

  1. Assembly
  2. parsing
  3. Relocation
  4. Symbol resolution
edited by

2 Answers

Best answer
55 votes
55 votes

Relocation is the process of assigning load addresses to position-dependent code of a program and adjusting the code and data in the program to reflect the assigned addresses. 

Hence Option C is Ans

Symbol resolution  is the process of searching files and libraries to replace symbolic references or names of libraries with actual usable addresses in memory before running a program.

selected by
0 votes
0 votes

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 Relocation.

Explanation:

  • Assembly: Assembly refers to the process of translating assembly language code into machine code.

  • Parsing: Parsing is the process of analyzing the syntactic structure of a program or input to check its conformity to a formal grammar.

  • Relocation: Relocation is the process of assigning final memory addresses to program components and adjusting the program code and data to reflect the assigned addresses. This is often done by a linker during the linking phase of compilation.

  • Symbol Resolution: Symbol resolution is part of the relocation process, where symbolic references in the program are resolved to their final memory addresses.

Answer:

Related questions

25 votes
25 votes
2 answers
3
Kathleen asked Sep 14, 2014
10,420 views
Which of the following requires a device driver?RegisterCacheMain memoryDisk
37 votes
37 votes
3 answers
4
Kathleen asked Sep 14, 2014
12,503 views
Where does the swap space reside?RAMDiskROMOn-chip cache