Operating Systems - Internal vs External Fragmentation - Compaction & Buddy SystemWhich of the following statements about memory compaction is INCORRECT?ACompaction can be performed without halting all running processesBCompaction does not affect internal fragmentationCCompaction requires additional CPU overhead and may cause temporary performance degradationDCompaction reduces external fragmentation by relocating allocated memory blocksCheck Answer
Step-by-Step SolutionStep 1: Understand compaction processCompaction moves allocated blocks to create contiguous free memory, reducing external fragmentation (A correct).Step 2: Analyze process haltingCompaction usually requires pausing processes to safely move memory (D incorrect).Step 3: Consider overhead and fragmentationCompaction adds CPU overhead and can degrade performance temporarily (C correct); it does not affect internal fragmentation (B correct).Final Answer:Option A -> Option AQuick Check:Compaction generally requires halting processes [OK]Quick Trick: Compaction = pause + move blocks -> reduce external fragmentation [OK]Common Mistakes:MISTAKESAssuming compaction is transparent to running processesConfusing internal and external fragmentation effectsUnderestimating compaction overheadTrap Explanation:PITFALLOption B is tempting because some may think compaction is concurrent; others confuse fragmentation types in options A and D.Interviewer Note:CONTEXTChecks candidate's grasp of compaction's operational constraints and effects.
Master "Internal vs External Fragmentation - Compaction & Buddy System" in Operating Systems2 interactive learning modes - each teaches the same concept differentlySolutionTrace
More Operating Systems Quizzes Banker's Algorithm - Safe State & Resource Allocation - Banker's Algorithm - Safe State & Resource Allocation - Quiz 10hard Banker's Algorithm - Safe State & Resource Allocation - Banker's Algorithm - Safe State & Resource Allocation - Quiz 7medium Context Switch - Cost & Causes - Context Switch - Cost & Causes - Quiz 15hard Deadlock - Four Necessary Conditions (Coffman) - Deadlock - Four Necessary Conditions (Coffman) - Quiz 3easy Disk Scheduling - SSTF, SCAN, C-SCAN - Disk Scheduling - SSTF, SCAN, C-SCAN - Quiz 13medium Page Replacement - FIFO, LRU, Optimal Algorithm - Page Replacement - FIFO, LRU, Optimal Algorithm - Quiz 10hard Paging vs Segmentation - Address Translation - Paging vs Segmentation - Address Translation - Quiz 4medium Round Robin Scheduling - Quantum & Turnaround Time - Round Robin Scheduling - Quantum & Turnaround Time - Quiz 7medium Semaphore vs Mutex - When to Use Which - Semaphore vs Mutex - When to Use Which - Quiz 9hard TLB - Translation Lookaside Buffer & Effective Access Time - TLB - Translation Lookaside Buffer & Effective Access Time - Quiz 7medium