edited by
15,694 views
45 45 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

2 Answers

Best answer
68 68 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
4 4 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:
Position:
Show:

Related questions

55 55 votes
12 answers 12 answers
28.2k
28.2k views
Kathleen asked Sep 14, 2014
28,178 views
Suppose a processor does not have any stack pointer registers, which of the following statements is true?It cannot have subroutine call instructionIt cannot have nested s...
14 14 votes
2 answers 2 answers
3.4k
3.4k views
Kathleen asked Sep 14, 2014
3,366 views
The syntax of the repeat-until statement is given by the following grammar$S \rightarrow\text{ repeat }S_1\text{ until }E$where E stands for expressions, $S$ and $S_1$ st...
26 26 votes
1 answers 1 answer
8.3k
8.3k views
Kathleen asked Oct 9, 2014
8,323 views
The correct matching for the following pairs is$$\begin{array}{|ll|ll|} \hline \text{(A)}&\text{Activation record} & \text{(1)} &\text{Linking loader} \\\hline \text{(B)...
39 39 votes
3 answers 3 answers
15.1k
15.1k views
Kathleen asked Sep 14, 2014
15,122 views
Which of the following requires a device driver?RegisterCacheMain memoryDisk