Which statement correctly describes segmentation in memory management?

Options

  • A. Segmentation divides a program into logical units such as code, data and stack
  • B. Every segment must have the same fixed size
  • C. Segmentation completely eliminates external fragmentation
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

A. Segmentation divides a program into logical units such as code, data and stack

Detailed Explanation

Explanation: Segmentation divides a program according to its logical structure, such as code, data, stack and procedures. Unlike paging, segments are variable-sized. Segmentation can suffer from external fragmentation.