Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

We consider 4 processes, A, B, C, D. We assume that the execution of process requires: For A: 7 CPU time units, 3 (I /

We consider 4 processes, A, B, C, D. We assume that the execution of

process requires:

For A: 7 CPU time units, 3 (I / O) time units and 5 CPU time units.

For B: 6 CPU time units, 4 (I / O) time units, 4 CPU time units.

For C: 5 CPU time units.

For D: 1 CPU time unit, 4 (I / O) time units and 2 CPU time units.

We suppose that

A is presented first, at time 0,

B occurs at time 1,

C is present at time 9,

D is present at time 12.

Show how the 4 processes will use the processor in each of the following cases:

1) Each process has its own (I / O) device and the scheduler works according to First In First Out "FIFO" (without pre-emption).

2) Each process has its own (I / O) device and the scheduler uses the turnaround algorithm, with a quantum of 5. The switching time is equal to 0. In this case, residence time of processes A, B, C and D.

3) The three processes use the same (I / O) device whose queue

waiting is handled FIFO. The scheduler of the processor uses the turnaround algorithm, with a quantum of 5. The switching time is assumed to be 0.

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

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago