Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 5 Suppose the following processes which arrive for execution at the indicated arrival time. Each process will require the CPU during a period equal

image text in transcribed

Exercise 5 Suppose the following processes which arrive for execution at the indicated arrival time. Each process will require the CPU during a period equal to the indicated burst time. Process Burst time Arrival time 0.0 P1 8 P2 0.4 4 P3 1.0 1 a. By using the FCFS scheduling algorithm (First Come First Served): 1) Identify the values x, y and z shown in the table given below. 2) Deduce the average turnaround time Process P1 P2 P3 CPU allocation time 0-8 8-12 Turnaround time (total time between submission of a process and its completion) 8 11.6 Z b. What is the average turnaround time for these processes by using the SJF scheduling algorithm (Shortest Job First)? c. Calculate the average turnaround time if the processor is idle during the first 1 unit of time (this means until all processes are ready) and then SJF scheduling algorithm is used

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

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

3rd Edition

978-1119907466

More Books

Students also viewed these Databases questions

Question

differentiate the function ( x + 1 ) / ( x ^ 3 + x - 6 )

Answered: 1 week ago

Question

LO4 Provide an overview of four challenges facing HR today.

Answered: 1 week ago