Moderate

Which of the following functions is/ are performed by the loader ?

Correct answer: D. All of the above

  • A. Physically place the machine instructions and data into memory
  • B. Allocate space in memory for the programs and resolve symbolic references between object decks
  • C. Adjust all address dependent locations, such as address constants, to correspond to the allocated space
  • D. All of the above

Explanation

A loader places machine code and data in memory, allocates required space, resolves external or symbolic references, and adjusts address-dependent locations. Since all three listed activities are loader responsibilities, the combined option is correct.

Last updated

Practise Software Design and Architecture

493 free Software Design and Architecture MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions