
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Fall 2003 Homework 3 Due: Dec. 2, 2003.
QUESTION 1 (12 points). Suppose a dynamic storage allocation program that uses the buddy
For each of the above, show: (i) start address and size of the block allocated to the process (for allo- cation requestions) and (ii) the state of the array maintained by the buddy system at the immediately after processing of each of the above transactions. This means that you must show each node in the linked lists associated with the entries in the array. During insertion, whenever there is a choice of which of two buddies are to be split, you must split the buddy with the smaller start address.
0 through 9) using Brentโs method for reorganizing hash tables.
Show what the hash table looks like after each of the above keys has been inserted.