Question: 2) Write a python program to read n process with burst times. Calculate the average waiting time for all 'n' process using FCFS scheduling

2) Write a python program to read n process with burst times. Calculate the average waiting time for all 'n'

2) Write a python program to read n process with burst times. Calculate the average waiting time for all 'n' process using FCFS scheduling algorithm. Assume n = 4 Process PO Pl P2 P3 Burst Time (ms) 5 10 12 4

Step by Step Solution

3.51 Rating (148 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Program n intinputEnter number of processes bursttimes for i in range1n1 ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!