During the class it was going above my head🤣 but now I understood clearly 🥳 thank you so much
@gatruu11 ай бұрын
😂
@ayushiydvKG7 ай бұрын
same
@AbhishekSingh-oi7wm5 жыл бұрын
Now I am able to solve these kind of questions.Thank you so much for your video.
@susenakodumuri26675 жыл бұрын
Thank you is small word for your explanation sir...
@zacariaalihat9789 Жыл бұрын
bro dropping a banger after every tutorial😁
@Deathtonewworldorder5 жыл бұрын
11:31 I think that the waiting time of P4 as 33-5-2=26 => 28.6 => 29
@nguyenson11774 жыл бұрын
I know it's been a while, but here is my answer: P4 had only 3ms executed. The first 2ms was P1.
@97Arshan5 жыл бұрын
Thank you so much!! Idk if we can call this coincidence or what but you uploaded this video today and tomorrow I've got my O/S mid semester examination xD Thank you!! #gg explanation :3
@ashutoshrana62095 жыл бұрын
Before starting it I solved it myself and my Gann chart is same as yours and even the answers but let suppose for P1 I took total time as 49 as it got completed after that time and subtracted 11 the total burst time as it is also the no. Of millisecond process executed and subtracted zero as it is arrival time. Igot the same answer by following this.
@ashutoshrana62095 жыл бұрын
Please tell me is it also correct way?? As for me it is easy.
@ashutoshrana62095 жыл бұрын
Please Reply. :(
@snehadutta23514 жыл бұрын
Yes
@RobinsonJBCE Жыл бұрын
Sir i just wanted to let you know that in question they have asked premptive but u have used the non-premptive approach
@harshitarawat5059 Жыл бұрын
Thank you so much sir I was literally stucked at this question and couldn't solve it.
@itbepolicy60074 жыл бұрын
'time till first put into cpu execution' > 'total waiting time'
@eulitamubaiwa96523 жыл бұрын
thank you so much 👏👏👏👏👏
@HuynhThanhThuan4 жыл бұрын
What happens if 2 processes have equal priority, Dear Sir ?
@chandran-youtube3 жыл бұрын
fcfs algo
@venkateshgorla50067 ай бұрын
Then follow fcfs algorithm
@littlemermaid59213 жыл бұрын
Thank you sir ❤
@GauravGupta-pb8mk3 жыл бұрын
Thank you so much sir
@ayushiydvKG7 ай бұрын
thnx a lot
@surayyamuhdyusuf35583 ай бұрын
To find the average waiting time,can you first find the turnaround time to make it easier?
@aydenmyers20112 жыл бұрын
Thank you so much!
@classyben5788 Жыл бұрын
what happens when 2 processes has the same priority?, would the one that arrived in the CPU start first?
@dhanushsivajaya13564 жыл бұрын
Thankyou sir
@princeowuraku9216 Жыл бұрын
Thank you sir
@edwinparulians95733 жыл бұрын
Why the way calculating waiting time every people is always different
@dontwanna67595 жыл бұрын
after execution for specific time does the scheduler decrease the priority of the process
@shrouqmakk76763 жыл бұрын
how did p4 executed for 3 times? isnt it 2?
@erenyeager60923 жыл бұрын
5. What is the total no. of queues required to perform Priority Scheduling?
@itxcraig3 жыл бұрын
Very helpful
@kimeraeria39932 жыл бұрын
but in the qtn it says 0 has the highest priority, thought P2 would execute first
@jaredmccune7443 Жыл бұрын
If they had arrived at the same time then P2 would have executed first. P1 arrived at 0 while P4 arrived at 2, meaning that P1 was the only process needing to run for those 2 seconds before P4 arrived and interrupted it. P2 arrived at 5 so after those 5 milliseconds (2 for P1, then 3 for P4) P2 would arrive and be given the CPU due to its priority of 0.
@kimeraeria3993 Жыл бұрын
@@jaredmccune7443 thanks
@niyigenafrancine8617Ай бұрын
I think 🤔 on p5 and p3 we can first doing some of p5 because it arrive first! Is it possible to do that?😊😊
@Astronomy.532lifenspace10 ай бұрын
On my question um given size(msec) is it the same as burst time
@Astronomy.532lifenspace10 ай бұрын
What priority does 0 have here?
@vennila14233 жыл бұрын
explain how you got the 2 and 5 seconds
@vennila14233 жыл бұрын
in Gant chart
@anonymousguy92633 жыл бұрын
@@vennila1423 P4 ARRİVAL TİME İS 2ms AND HAS HİGHER PRİORİTY THAN P1 HENCE P1 İS REMOVED AND P4 İS FED İNTO THE CPU FOR EXECUTİON TİLL THE ARRİVAL OF PROCESS P1 i.e, 5ms... DİD YOU GET İT??
@Avinashkumar999996 ай бұрын
sir please solve it with higher the number higher the priority
@uzumakigaming908 Жыл бұрын
aapka solution ka ans glt nikl hai kyunki p4 sirf 2 baar execute hu hai
@premanandika17453 жыл бұрын
how do I calculate its Turn Around Time ?, can u help me sir?
@ritwik1212 жыл бұрын
to calculate turn around time of each process just find out the competion time and arrival time of each process and subtract arrival time from the competition time to get the result
@Fawzia-rk7sy3 жыл бұрын
🤣🤣🤣
@shreet19083 жыл бұрын
Consider the set of 5 process whose arrival time and burst time are given below in milliseconds. Process ID Arrival time Burst time P1 0 4 P2 1 2 P3 2 1 P4 3 3 P5 4 2 if the CPU scheduling policy is Round Robin with time quantum = 2 unit. Calculate average waiting time and turn around time. Q.3 Consider a reference st Consider the set of 5 process whose arrival time and burst time are given below in milliseconds. Process ID Arrival time Burst time P1 0 4 P2 1 2 P3 2 1 P4 3 3 P5 4 2 if the CPU scheduling policy is Round Robin with time quantum = 2 unit. Calculate average waiting time and turn around time. plzz solve this
@jackisalive5708 Жыл бұрын
Waiting time formula is turn around time - burst time he is doing something different