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 Critical Section Problem - Requirements & Peterson's Solution - Critical Section Problem - Requirements & Peterson's Solution - Quiz 4medium Dining Philosophers - Problem, Deadlock & Solution - Dining Philosophers - Problem, Deadlock & Solution - Quiz 6medium Disk Scheduling - SSTF, SCAN, C-SCAN - Disk Scheduling - SSTF, SCAN, C-SCAN - Quiz 3easy Disk Scheduling - SSTF, SCAN, C-SCAN - Disk Scheduling - SSTF, SCAN, C-SCAN - Quiz 2easy Disk Scheduling - SSTF, SCAN, C-SCAN - Disk Scheduling - SSTF, SCAN, C-SCAN - Quiz 10hard Paging vs Segmentation - Address Translation - Paging vs Segmentation - Address Translation - Quiz 12easy Paging vs Segmentation - Address Translation - Paging vs Segmentation - Address Translation - Quiz 13medium Process State Machine - Five-State Model - Process State Machine - Five-State Model - Quiz 1easy Process vs Thread - Key Differences - Process vs Thread - Key Differences - Quiz 11easy Round Robin Scheduling - Quantum & Turnaround Time - Round Robin Scheduling - Quantum & Turnaround Time - Quiz 4medium