Question Detail

COS 102 test topic Objective Question

Question

What is the primary role of an operating system's loader?
Options
A Translating source files into object files
B Combining distinct object files into a single binary
C Placing executable machine code into main memory for execution
Correct Answer
D Detecting logic bugs during program writing
Correct Answer

Option C is the correct answer.

Detailed Explanation

The loader is responsible for reading executable binaries from disk, allocating address space, and placing them into RAM.

Hint

No hint available

Question Info