Aug2016 cs Q34

0. Which of the following are the principles tasks of the linker?
I. Resolve external references among separately compiled program units.
II. Translate assembly language to machine code.
III. Relocate code and data relative to the beginning of the program.
IV. Enforce access-control restrictions on system libraries.

  • Option : B
  • Explanation : Principles tasks of the linker are:
    1. Resolve external references among separately compiled program units.
    2. Relocate code and data relative to the beginning of the program.
    • Assembler translate assembly language to machine code.
    • Loader enforces access-control restrictions on system libraries.
    So, option (B) is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *