My Report (&Account)

Binary Tree Test – 2


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)

1. What is buddy memory management of free lists ?

2. What are implicit and explicit implementations of freelists?

3. What are different ways of implementing free lists and which is simple among them?

4. How are free blocks linked together mostly and in what addressing order?

5. What are the disadvantages in implementing buddy system algorithm for free lists?

6. How does implicit free lists(garbage collection) works in adding memory to free list ?

7. Free lists are used in

8. What datastructures can be used in implementing a free list?

9. Accessing free list very frequently for wide range of addresses can lead to

10. Assume there is a free list which contains nodes and is filled with a value if it is already assigned and the value will be the size of requested block else will be 0.

 z = startpoint;
 while ((z < end) &&    \\ didn't reach end
   (*z <= len))          \\ too small to satisfy request
 {           
   assign this block
 }

The above code represents what?


 

Start practicing “1000 MCQs on Data Structure”, and once you are ready, you can take tests on all topics by attempting our “Data Structure Test Series”.

advertisement
advertisement
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.