Consider A Swapping System in Which The Main Memory Contains The Following Sizes in Memory Order

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Consider a swapping system in which the main memory contains the following sizes in memory

order: 10K, 4K, 20K, 18K, 7K, 9K, 12K, and 15K. Which hole is taken for successive segment
requests of (a) 12K, (b) 10K, and (c) 9K for First Fit? Repeat this exercise for Best-Fit, Worst-
Fit, and Next-Fit.

First-Fit takes 20K, 10K, and 18K.


Best-Fit takes 12K, 10K, and 9K.
Worst-Fit takes 20K, 18K, and 15K.

You might also like