In an absolute loading scheme, which loader function is accomplished by assembler. A. Reallocation B. Allocation C. Linking D. Loading E. None of the above

Reallocation
Allocation
Linking
Loading E. None of the above

The correct answer is D. Loading.

In an absolute loading scheme, the loader loads the program into memory at a specific address, which is determined by the assembler. The assembler also performs the linking function, which is the process of combining the object code of the program with the object code of any libraries that it uses.

Reallocation is the process of assigning memory to a program. Allocation is the process of reserving memory for a program. Linking is the process of combining the object code of a program with the object code of any libraries that it uses.

Here is a more detailed explanation of each option:

  • Reallocation: Reallocation is the process of assigning memory to a program. This is done by the operating system, and it is not a function of the assembler.
  • Allocation: Allocation is the process of reserving memory for a program. This is also done by the operating system, and it is not a function of the assembler.
  • Linking: Linking is the process of combining the object code of a program with the object code of any libraries that it uses. This is done by the linker, which is a separate program from the assembler.
  • Loading: Loading is the process of transferring the program from disk to memory. This is done by the loader, which is a separate program from the assembler.
  • None of the above: None of the options above are functions of the assembler. The assembler is a program that converts source code into object code. It does not perform any of the functions listed above.
Exit mobile version