1.

given memory partitions of 200k,700k,500k,300k,100k,400k.Apply first fit,best fit amd worst fit to place 315k,427k,250k,550k

Answer»

Answer :-FIRST fit212 K is put in 500 K partition.417 K is put in 600 K partition.112 K is put in 288 K partition. (New partition 288 K = 500 K - 212 K)426 K must wait.Best-fit212 K is put in 300 K partition.417 K is put in 500 K partition.112 K is put in 200 K partition.426 K is put in 600 K partition.Worst-fit212 K is put in 600 K partition.417 K is put in 500 K partition.112 K is put in 388 K partition. (600 K - 212 K)426 K must wait.In this example Best-fit is the best solution.



Discussion

No Comment Found