Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Determine the job's requested memory size. 2 . If job _ size > size of the largest partition, Then reject the job, print
Determine the job's requested memory size.
If jobsize size of the largest partition,
Then reject the job, print an appropriate message to the operator, and go to Step to handle the next job in line.
Else, continue with Step
Set a counter to
Do the following while counter the number of partitions in memory:
a If jobsize memorypartitionsizecounter
Then counter counter
b Else, if memorypartitionstatuscounter "free",
Then load the job into memorypartitioncounter change memorypartitionstatuscounter to "busy," and go to Step to handle the next job in line.
Else, counter counter
End do
If no partition is available at this time, put the job in the waiting queue.
Go to Step to handle the next job in line.
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