Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c) Assuming that four processes P1, P2, P3 and P4 arrive at differnt time. The burst time of the jobs and arrival time are

image text in transcribedimage text in transcribed

c) Assuming that four processes P1, P2, P3 and P4 arrive at differnt time. The burst time of the jobs and arrival time are given in Table B3. Burst time (min) Arrival time (min) Order 1 Process P1 2 2 P2 4 3 P3 8 4 P4 6 Table B3 0 4 3 2 Calculate the average turnaround time and average waiting time for the 4 processes above using the First-Come-First-Serve (FCFS) process scheduling. Show your workings. [6 marks] (c) FCFS AT BT CT TAT Wait Time 1st PI 4th P2 3rd P3 2nd P4 0 2 2 2 4 4 20 16 12 3 8 16 13 5 2 b 8 6 10 P1 2 P4 P3 8 16 Average TAT= = 2+16 +13 +6 4 9.25 seconds // P2 20 Average Wait Time = = 0+12+5+0 4 4.25 seconds

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

Computer Networking A Top-Down Approach

Authors: James F. Kurose, Keith W. Ross

5th edition

136079679, 978-0136079675

More Books

Students also viewed these Computer Network questions