EXAMRADAR

Question: Which of the following statement is true for buddy system allocators? <ol> <li>Buddy System splits and recombines memory blocks in a predetermined manner during allocation and deallocation.</li> <li>No splitting of blocks takes place, also no effort is made to coalesce adjoining blocks to form larger blocks; when released, a block is simply returned to its free list.</li> <li> When a request is made for m bytes, the allocator first check the free list containing blocks whose size is 2<sup>i</sup> for the smallest value of i such that 2<sup>i</sup> ≥ m.if the free list is empty ,it checks the list containing blocks that are higher the next higher power of 2 in size on so on. an entire block is allocated to a request.</li> <li> When a request is made for m bytes. the system finds the smallest power of 2 that is ≥ m. Let this be 2<sup>i</sup>.if the list is empty, it checks the lists for block of size 2<sup>i+1</sup>.it takes one block off this list and splits it into two halves of size 2<sup>i</sup>.it put one of these blocks into the free list of size 2<sup>i</sup>,and uses the other block to satisfy the request.</li> </ol>

Answer:

Buddy System splits and recombines memory blocks in a predetermined manner during allocation and deallocation.
When a request is made for m bytes. the system finds the smallest power of 2 that is ≥ m. Let this be 2i.if the list is empty, it checks the lists for block of size 2i+1.it takes one block off this list and splits it into two halves of size 2i.it put one of these blocks into the free list of size 2i,and uses the other block to satisfy the request.

MCQ: Which of the following statement is true for buddy system allocators? <ol> <li>Buddy System splits and recombines memory blocks in a predetermined manner during allocation and deallocation.</li> <li>No splitting of blocks takes place, also no effort is made to coalesce adjoining blocks to form larger blocks; when released, a block is simply returned to its free list.</li> <li> When a request is made for m bytes, the allocator first check the free list containing blocks whose size is 2<sup>i</sup> for the smallest value of i such that 2<sup>i</sup> ≥ m.if the free list is empty ,it checks the list containing blocks that are higher the next higher power of 2 in size on so on. an entire block is allocated to a request.</li> <li> When a request is made for m bytes. the system finds the smallest power of 2 that is ≥ m. Let this be 2<sup>i</sup>.if the list is empty, it checks the lists for block of size 2<sup>i+1</sup>.it takes one block off this list and splits it into two halves of size 2<sup>i</sup>.it put one of these blocks into the free list of size 2<sup>i</sup>,and uses the other block to satisfy the request.</li> </ol>

Correct Answer: A. 1 only

Explanation:

Buddy System splits and recombines memory blocks in a predetermined manner during allocation and deallocation.
When a request is made for m bytes. the system finds the smallest power of 2 that is ≥ m. Let this be 2i.if the list is empty, it checks the lists for block of size 2i+1.it takes one block off this list and splits it into two halves of size 2i.it put one of these blocks into the free list of size 2i,and uses the other block to satisfy the request.

Discuss a Question

Related Questions

You may be interested in:

OS Memory Management MCQs

Recently Added Articles

AI vs Machine Learning: Key Differences Every Professional Should Know

Last updated on: February 13, 2026Posted by: ExamRadar

Office Cleaning Services That Elevate Sydney Offices

Last updated on: February 11, 2026Posted by: ExamRadar

Mental Health Support That’s Closer Than You Think

Mental Health Support That’s Closer Than You Think

Last updated on: January 7, 2026Posted by: ExamRadar

Columbus roofing company

Transform Your Home’s Exterior with Columbus roofing company

Last updated on: November 27, 2025Posted by: ExamRadar

What to Ask Before Booking TMS Therapy Near Me

Last updated on: November 7, 2025Posted by: ExamRadar

5 Trading Strategies to Minimize Risk

Last updated on: October 18, 2025Posted by: ExamRadar