DSA Factory
Free Memory management lessonsMemory management · Stage 2 · Beyond simple paging · Step 2

Segmentation

See memory from the programmer's view as named parts with their own sizes, and how segments are translated. About 12 minutes.

Quick check

What is the main disadvantage of pure segmentation compared with paging?

  1. AExternal fragmentation, because segments are variable-sized and contiguous
  2. BLarge internal fragmentation
  3. CNo way to protect parts of a program
Show the answer

External fragmentation, because segments are variable-sized and contiguous. Holes of all sizes appear again.

Lock it in

4 questions on this idea

Short questions that apply the idea to new cases: trace it, work out a number, put steps in order. A wrong answer explains itself.

Answer them in your browserFree account, no card. Your progress is saved, and the idea comes back in a quick review later.
Sign up free to solve