ISRO Computer Science (CSE) 2023 - Question 50

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2023

Topic: Operating Systems

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?

  • A. Compiler
  • B. Assembler
  • C. Loader
  • D. Linker

Answer: A. Compiler

Explanation: The compiler (or assembler) divides the user program logically into distinct parts such as the code segment, data segment, and stack segment during compilation, assigning them logical segment numbers.

| | All questions of ISRO Computer Science (CSE) 2023