Question
If there were 10 programs where each programi is double the size of the previous program and takes twice as long to run. The first
If there were 10 programs where each programi is double the size of the previous program and takes twice as long to run. The first program is 2K, and takes 2 seconds to run, the second is 4K and 4 second to run, the third is 8K and 8 seconds to run. However, for the OS to load each program into memory take from 1 to 10 seconds from the smallest to the largest program. So, the 2K program takes 1 second, the 4K, 2 seconds, the 8K, 3 seconds, and so on.
The system has 1536K of memory.
1.If the Operating System is an equal-size fixed partition ( i.e. all partitions must be of equal size) system. What would be the size of the partition in order to make sure all the programs can run? How long would it take to run all 10 programs? Draw pictures to show how the program will fit into the partitions.
2.If the Operating System is a variable-size fixed partition system, what would be the size of the partitions that you would assign? How long would it take to load and run all the programs? Draw pictures to show your result.
3.If the Operating system is a dynamic partition system. Show how first-fit, and, best-fit would work when working with the 10 programs P1-2K....P10=1024K.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started