Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
