0
0
Operating Systemsknowledge~5 mins

Internal vs external fragmentation in Operating Systems - Quick Revision & Key Differences

Choose your learning style9 modes available
Recall & Review
beginner
What is internal fragmentation in memory management?
Internal fragmentation happens when fixed-size memory blocks are allocated, but the process uses less space than the block size, leaving unused memory inside the allocated block.
Click to reveal answer
beginner
Define external fragmentation.
External fragmentation occurs when free memory is split into small scattered blocks over time, making it hard to find a large enough continuous block for new processes.
Click to reveal answer
intermediate
How does internal fragmentation differ from external fragmentation?
Internal fragmentation wastes space inside allocated blocks, while external fragmentation wastes space outside allocated blocks due to scattered free memory.
Click to reveal answer
beginner
Give a real-life example of internal fragmentation.
Imagine renting a 10-seat bus for 7 people. The 3 empty seats are like internal fragmentation — space reserved but unused.
Click to reveal answer
intermediate
What is a common technique to reduce external fragmentation?
Techniques like memory compaction rearrange memory contents to combine free spaces into larger blocks, reducing external fragmentation.
Click to reveal answer
Which type of fragmentation occurs when allocated memory blocks have unused space inside them?
AInternal fragmentation
BExternal fragmentation
CMemory leak
DPaging
External fragmentation is caused by:
AFixed-size blocks being too large
BScattered small free memory blocks
CProcesses using less memory than allocated
DMemory leaks
Which method helps reduce external fragmentation?
AIncreasing block size
BAllocating fixed-size blocks
CIgnoring free space
DMemory compaction
Internal fragmentation wastes memory because:
AProcesses use more memory than allocated
BFree memory is scattered
CAllocated blocks are larger than needed
DMemory is not allocated
Which fragmentation type can be reduced by using variable-sized memory allocation?
AExternal fragmentation
BInternal fragmentation
CBoth internal and external fragmentation
DNone
Explain the difference between internal and external fragmentation with examples.
Think about wasted space inside allocated blocks vs scattered free space.
You got /4 concepts.
    Describe one method to reduce external fragmentation and why it works.
    Consider how combining small free spaces helps.
    You got /3 concepts.