Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which of the following statements about segmentation is TRUE ?

  • A.Segmentation allows different segments to grow independently
  • B.Segment tables do not store limit values
  • C.Segments store pages inside them in all systems
  • D.Segmentation eliminates external fragmentation completely

Answer: A

The true statement is that segmentation allows different segments to grow independently.

Segmentation divides a program into logical units of variable length, such as code, data, heap and stack, each with its own base and size. Because each segment is separate, a growing stack or table can be enlarged on its own without disturbing the others, which suits the programmer's view of memory.

The segment table stores both a base and a limit for each segment, and the limit is checked on every access, so option B is false. Only some systems combine segmentation with paging, so 'in all systems' is wrong. And because segments have variable sizes, segmentation suffers from external fragmentation rather than eliminating it; paging is what removes it.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.