FCFS Doubt in Operating system

hello friends i am having doubt in a question that i read in GKP book. Here's the question

Consider a set of 5 processes whose arrivel time,CPU time needed and priority are given below:
Process priority Arrivel time(ms) CPU time needed pririority
P1 0 10 5
P2 0 3 1
P3 2 3 1
P4 5 20 4
P5 10 2 3

smaller the number , higher the priority

question : if CPU scheduling policy FCFS,the average waiting time will be ?

1. 12.8 ms
2. 8 ms
3. 6ms

Thanks in advance 😀

Replies

You are reading an archived discussion.

Related Posts

Hello everyone, Im in my first Matlab class and I need help coming up with a final project idea. The project can really be anything that will "WOW" the instructor....
Im in my first semester of Matlab and my final project guidelines are extremely vague. The professor just said "make something useful that will "WOW" me. I'm having a horrible...
This crazy thought popped up in my mind while reading something right now. What if engineers like you & I have to re-design the structure of forums? The way they...
Hello, I am a mechanical engineer based in Boston, MA. I'm 22 years old and interested in design & applications as well as support engineering. Most of my experience is...
Does anyone have more news about this? looks like a Gurgaon based company has come up with a alternative for plastic, jest of the report can be found here Gurgaon...