CS FundamentalsModerateGATE CS

Buddy allocation of a 33 KB request from a 1 MB pool gives a block of what size, and how much is internal fragmentation?

  1. A. 33 KB; 0 KB
  2. B. 64 KB; 33 KB
  3. C. 64 KB; 31 KB
  4. D. 32 KB; 1 KB

Correct answer: C. 64 KB; 31 KB

Buddy blocks are powers of two, so 33 KB rounds up to 64 KB, wasting 31 KB. The scheme trades this internal fragmentation for fast splitting and coalescing.

More Operating Systems questions

Exams that ask this topic