Multiple choice

Which one is NOT a function of a loader?

  1. Allocate space in memory for programs

  2. Physically place the machine instructions and data into memory

  3. Resolve symbolic references between objects modules

  4. None of above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

All above are the functions of loader. Basically, loader have four functions as follows : -  

  1. Allocate space in memory for programs
  2. Resolve symbolic references between objects modules 
  3. Physically place the machine instructions and data into memory  
  4. Adjust all address dependent location such as address constants, to corresponds to allocated space (relocation)