As part of segmentation memory allocation strategy, which of the following…

2023

As part of segmentation memory allocation strategy, which of the following assigns segment numbers for various segments of a program like code segment and data segment?

  1. A.

    Compiler

     

  2. B.

    Assembler

  3. C.

    Loader

  4. D.

    Linker

Attempted by 112 students.

Show answer & explanation

Correct answer: C

In segmentation memory allocation, the Loader is responsible for loading segments into memory. During this process, it sets up the segment table and assigns segment numbers for various segments of a program like code and data segments. This allows the operating system to manage memory mapping at runtime.

Explore the full course: Isro