Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5. For the following scenario with four processes please draw Gannts charts and calculate average waiting time tAWT and average time a process remains in

5. For the following scenario with four processes please draw Gannts charts and calculate average waiting time tAWT and average time a process remains in the system tATT for the following scheduling algorithms:

5.1. First Comes First Served.

5.2. Shortest Job Next.

SCENARIO:

Process Arrival Time [ms] Service Time [ms]

P1 0 11

P2 2 8

P3 4 4

P4 6 6

For the purpose of marking with scriptcheck youll need to use w to indicate a process is waiting, r to indicate a process is running and - to indicate a process has not yet arrived to the system, For example, the below Gannt chart:

rrrr

-wwwrrrrrr

---wwwwwwwrrrrrrrr

will reflects scenario:

Process Arrival Time [ms] Service Time [ms]

P1 0 4

P2 1 6

P3 3 8

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions

Question

Explain the process of MBO

Answered: 1 week ago