Question:

What is the solution for the problem of external fragmentation?

Show Hint

External Fragmentation \(\rightarrow\) Compaction Internal Fragmentation \(\rightarrow\) Reduced by better allocation techniques.
Updated On: Jun 25, 2026
  • Demand Paging
  • Compaction
  • Context Switching
  • Deadcode
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Concept: External fragmentation occurs when free memory is available but scattered into many small non-contiguous blocks.

Step 1:
Understand external fragmentation.
Suppose free memory exists as: \[ 10KB + 20KB + 15KB \] A process requiring \[ 40KB \] cannot be allocated memory even though total free memory is \[ 45KB. \]

Step 2:
Understand compaction.
Compaction relocates allocated memory blocks so that all free space becomes contiguous. After compaction: \[ 45KB \] of continuous free memory becomes available.

Step 3:
Identify the solution.
Therefore, the standard solution for external fragmentation is \[ \boxed{\text{Compaction}} \]
Was this answer helpful?
0
0