In: Computer Science
|
Allocated block |
Free block |
|
4M |
12M |
16M |
8M |
14M |
20M |
||||||||||
|
I have completed this problem Please give thumbs up if you like it
Let us first discuss about First Fit ,Best Fit and Next Fit
Step 1
First Fit :- Allocate the process in s partition which is first sufficient partition from the top of memory
Worst Fit : Allocate the process in a condition which is largest sufficient among the free available partition
-> To find out largest sufficient, it required to search all the free partition in the memory
Next Fit : It also works like First Fit but it will search for first sufficient partition from last Allocation point
Step 2

