6.
Given five memory partitions of 100kb, 500kb, 200kb,300kb 600kb(in order)
how would first fit , best fit and worst fit algorithm place processes of 212kb
417kb, 112kb and 426kb (in order) which algorithm makes the most effective
use of the memory
1 First fit
Allocate the process in the first free large enough portion . 426 is not locate a portion
100kb
212 500kb
112 200kb
300kb
417 600kb
[Link] fit
Allocate the process in the smallest possible portion
100kb
417 500kb
112 200kb
212 300kb
426 600kb
[Link] fit
Allocate the largest memory to store process
100kb
417 500kb
200kb
112 300kb
212 600kb
The best fit has most efficient of the memory