wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Which of the following function is performed by the loader?

A
Conversion
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Relocation
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
Binding
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
All of these
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B Relocation

Relocation function is performed by the loader.

The modification records are used for relocation so that the linking and relocation functions are performed using the same mechanism.

Loader:-

A loader is a system program, which takes the object code of a program as input and prepares it for execution. Programmers usually define the program to be loaded at some predefined location in the memory. But this loading address given by the programmer is not being coordinated with the OS.

Relocation:-

Relocationis the process of assigning load addresses to position-dependent, but locatable code of a program and adjusting the code and data in the program to reflect the assigned addresses.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Management Information System
BUSINESS STUDIES
Watch in App
Join BYJU'S Learning Program
CrossIcon