Question: Contiguous Memory Allocation Consider the dynamic memory layout shown below (the shaded blocks are already allocated). Draw to what the free memory layouts would be

Contiguous Memory Allocation 

Consider the dynamic memory layout shown below (the shaded blocks are already allocated). Draw to what the free memory layouts would be after satisfying requests for (in order) memory blocks of size 195K, 410K, 262K, and 385K.

         500 KB
       600 KB
        590 KB
      700 KB
         480 KB


  1. Draw one memory layout for the worst-fit, best-fit algorithm, and one for first-fit.
  2. Which algorithm makes the efficient use of the memory? Why? 
  3. Also indicate which type of fragmentation will occur and why?

Step by Step Solution

3.46 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!