Challenge - 5 Problems
Fragmentation Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
Understanding Internal Fragmentation
Which of the following best describes internal fragmentation in memory management?
Attempts:
2 left
💡 Hint
Think about wasted space inside allocated memory blocks.
✗ Incorrect
Internal fragmentation happens when fixed-size memory blocks are allocated, and the process does not use the entire block, leaving some space unused inside the block.
🧠 Conceptual
intermediate2:00remaining
Understanding External Fragmentation
What is external fragmentation in the context of memory allocation?
Attempts:
2 left
💡 Hint
Consider how free memory is arranged outside allocated blocks.
✗ Incorrect
External fragmentation occurs when free memory is split into small pieces scattered between allocated blocks, making it hard to allocate large contiguous blocks.
❓ Comparison
advanced2:00remaining
Comparing Internal and External Fragmentation
Which statement correctly compares internal and external fragmentation?
Attempts:
2 left
💡 Hint
Think about where the wasted memory is located in each case.
✗ Incorrect
Internal fragmentation is wasted space inside allocated blocks, while external fragmentation is wasted space outside allocated blocks scattered in small free blocks.
🚀 Application
advanced2:00remaining
Identifying Fragmentation Type from Scenario
A system allocates fixed-size memory blocks of 4 KB. A process requests 6 KB, so it gets two blocks (8 KB total). The extra 2 KB in the second block remains unused. What type of fragmentation is this an example of?
Attempts:
2 left
💡 Hint
Focus on unused space inside allocated blocks.
✗ Incorrect
The unused 2 KB inside the allocated block is internal fragmentation because it is wasted space inside allocated memory.
❓ Reasoning
expert2:00remaining
Effect of Fragmentation on Memory Allocation
Consider a memory system with many small free blocks scattered between allocated blocks. Which of the following is the most likely consequence?
Attempts:
2 left
💡 Hint
Think about how scattered free memory affects large allocations.
✗ Incorrect
External fragmentation causes free memory to be split into small pieces, so large requests may fail even if total free memory is enough.