# Consider the following set of processes, with the length of the CPU burst given in milliseconds:…

1. Consider the following set of processes, with the length of the CPU burst given in milliseconds:

Process Burst Time Priority

————- ————— ———

P1 10 4(Aluminum)

P2 3 2(Silver)

P3 4 4(Aluminum)

P4 3 5(Steel)

P5 7 1(Gold)

The processes are assumed to arrive in the order P1, P2, P3, P4, P5 all at time 0.

1. Draw four Gantt charts that illustrate the execution of these processes using the following scheduling algorithms: (8 points)

FCFS:

SJF:

Nonpreemptive priority ( a smaller priority number implies a higher priority):

RR(quantum 3):

1. What is the turnaround time of each process for each of these scheduling algorithms and the average turnaround time for each scheduling algorithm? (16 points)

FCFS:

P1=

P2=

P3=

P4=

P5=

ATT=

SJF:

P1=

P2=

P3=

P4=

P5=

ATT=

Nonpreemptive priority ( a smaller priority number implies a higher priority):

P1=

P2=

P3=

P4=

P5=

ATT=

RR(quantum 3):

P1=

P2=

P3=

P4=

P5=

ATT=

1. What is the waiting time of each process for each of these scheduling algorithms and the average waiting time for each scheduling algorithm? (16 points)

FCFS:

P1=

P2=

P3=

P4=

P5=

AWT=

SJF:

P1=

P2=

P3=

P4=

P5=

AWT=

Nonpreemptive priority ( a smaller priority number implies a higher priority):

P1=

P2=

P3=

P4=

P5=

AWT=

RR(quantum 3):

P1=

P2=

P3=

P4=

P5=

AWT=

1. Which of the algorithm results in the minimum average waiting time (overall process)? (2 points)

## Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
\$26
The price is based on these factors:
Number of pages
Urgency
Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

# Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

### Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

### Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

### Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.