Answered step by step
Verified Expert Solution
Link Copied!

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

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo

1st Edition

0763733148, 978-0763733148

More Books

Students also viewed these Databases questions

Question

3. How would you address the problems that make up the situation?

Answered: 1 week ago

Question

2. What recommendations will you make to the city council?

Answered: 1 week ago