Anonymous user menu

Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB, 300 KB, and 250 KB : GATE 2015

Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB, 300 KB, and 250 KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes 357 KB, 210 KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which partitions are NOT allotted to any process?

A)200 KB and 300 KB

B)200 KB and 250 KB

C)250 KB and 300 KB

D)300 KB and 400 KB

 

Answer

 

ANS-A

EXP-

Best fit allocates the smallest block among those that are large enough for the new process
357 ---> 400

210 ---> 250

468 ---> 500

491 ---> 600
 

0Comment