Question: 1 . Determine the job's requested memory size. 2 . If job _ size > size of the largest partition, Then reject the job, print

1. Determine the job's requested memory size.
2. If job_size > size of the largest partition,
Then reject the job, print an appropriate message to the operator, and go to Step 1 to handle the next job in line.
Else, continue with Step 3.
3. Set a counter to 1.
4. Do the following while counter <= the number of partitions in memory:
a. If job_size > memory_partition_size(counter),
Then counter = counter +1.
b. Else, if memory_partition_status(counter)= "free",
Then load the job into memory_partition(counter), change memory_partition_status(counter) to "busy," and go to Step 1 to handle the next job in line.
Else, counter = counter +1.
End do.
5. If no partition is available at this time, put the job in the waiting queue.
6. Go to Step 1 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!