Computer Science, asked by rakhshandirect4275, 27 days ago

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

Answers

Answered by gitanjalip842
1

Answer:

Answer :-

First fit

212 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-fit

212 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-fit

212 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.

Similar questions