Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose there are four processes A, B, C and D, which arrive at 3, 3, 100, 200 msec respectively. The lengths of process A, B,

Suppose there are four processes A, B, C and D, which arrive at 3, 3, 100, 200 msec respectively. The lengths of process A, B, C and D are 50, 100, 15 and 25 msec, respectively. Ignore the process switching overhead.

a. Compute the average turnaround time if you are using shortest job first algorithm (non-preemptive).

b. Compute the average turnaround time if you are using round robin algorithm, assuming the CPU quanta is 30 ms (preemptive).

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

More Books

Students also viewed these Databases questions

Question

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

Answered: 1 week ago