Consider six memory partitions of sizes 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?
Consider six memory partitions of sizes 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? Correct Answer 200 KB and 300 KB
In best fit approach we choose smallest partition are process can fit in.
[ alt="ya17" src="//storage.googleapis.com/tb-img/production/17/03/ya17.JPG">
Fixed partitions
(Only one process can reside in one partition)
Hence partitions of size 200 KB and 300 KB will not be allotted to any process.
মোঃ আরিফুল ইসলাম
Feb 20, 2025