0
0
Operating Systemsknowledge~20 mins

Internal vs external fragmentation in Operating Systems - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Fragmentation Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Internal Fragmentation
Which of the following best describes internal fragmentation in memory management?
AMemory lost when the system reserves space for the operating system.
BUnused memory space within an allocated block due to fixed block sizes.
CMemory space wasted between allocated blocks due to variable block sizes.
DMemory fragmentation caused by external devices accessing RAM.
Attempts:
2 left
💡 Hint
Think about wasted space inside allocated memory blocks.
🧠 Conceptual
intermediate
2:00remaining
Understanding External Fragmentation
What is external fragmentation in the context of memory allocation?
AFree memory scattered in small blocks between allocated memory chunks.
BMemory fragmentation caused by hardware faults.
CMemory reserved for system processes only.
DWasted memory space inside allocated blocks.
Attempts:
2 left
💡 Hint
Consider how free memory is arranged outside allocated blocks.
Comparison
advanced
2:00remaining
Comparing Internal and External Fragmentation
Which statement correctly compares internal and external fragmentation?
AExternal fragmentation wastes memory inside allocated blocks; internal fragmentation wastes memory outside allocated blocks.
BInternal fragmentation occurs only in virtual memory; external fragmentation occurs only in physical memory.
CInternal fragmentation wastes memory inside allocated blocks; external fragmentation wastes memory outside allocated blocks.
DBoth internal and external fragmentation waste memory inside allocated blocks.
Attempts:
2 left
💡 Hint
Think about where the wasted memory is located in each case.
🚀 Application
advanced
2: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?
ANo fragmentation
BExternal fragmentation
CBoth internal and external fragmentation
DInternal fragmentation
Attempts:
2 left
💡 Hint
Focus on unused space inside allocated blocks.
Reasoning
expert
2: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?
ALarge memory requests may fail despite enough total free memory due to external fragmentation.
BMemory requests always succeed because total free memory is sufficient.
CInternal fragmentation increases as more small blocks are allocated.
DThe system automatically merges allocated blocks to reduce fragmentation.
Attempts:
2 left
💡 Hint
Think about how scattered free memory affects large allocations.