Priority Scheduling (Solved Problem 1)

  Рет қаралды 334,522

Neso Academy

Neso Academy

Күн бұрын

Пікірлер: 50
@Anjali_singh____________
@Anjali_singh____________ 4 жыл бұрын
During the class it was going above my head🤣 but now I understood clearly 🥳 thank you so much
@gatruu
@gatruu 11 ай бұрын
😂
@ayushiydvKG
@ayushiydvKG 7 ай бұрын
same
@AbhishekSingh-oi7wm
@AbhishekSingh-oi7wm 5 жыл бұрын
Now I am able to solve these kind of questions.Thank you so much for your video.
@susenakodumuri2667
@susenakodumuri2667 5 жыл бұрын
Thank you is small word for your explanation sir...
@zacariaalihat9789
@zacariaalihat9789 Жыл бұрын
bro dropping a banger after every tutorial😁
@Deathtonewworldorder
@Deathtonewworldorder 5 жыл бұрын
11:31 I think that the waiting time of P4 as 33-5-2=26 => 28.6 => 29
@nguyenson1177
@nguyenson1177 4 жыл бұрын
I know it's been a while, but here is my answer: P4 had only 3ms executed. The first 2ms was P1.
@97Arshan
@97Arshan 5 жыл бұрын
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
@ashutoshrana6209
@ashutoshrana6209 5 жыл бұрын
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.
@ashutoshrana6209
@ashutoshrana6209 5 жыл бұрын
Please tell me is it also correct way?? As for me it is easy.
@ashutoshrana6209
@ashutoshrana6209 5 жыл бұрын
Please Reply. :(
@snehadutta2351
@snehadutta2351 4 жыл бұрын
Yes
@RobinsonJBCE
@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
@harshitarawat5059 Жыл бұрын
Thank you so much sir I was literally stucked at this question and couldn't solve it.
@itbepolicy6007
@itbepolicy6007 4 жыл бұрын
'time till first put into cpu execution' > 'total waiting time'
@eulitamubaiwa9652
@eulitamubaiwa9652 3 жыл бұрын
thank you so much 👏👏👏👏👏
@HuynhThanhThuan
@HuynhThanhThuan 4 жыл бұрын
What happens if 2 processes have equal priority, Dear Sir ?
@chandran-youtube
@chandran-youtube 3 жыл бұрын
fcfs algo
@venkateshgorla5006
@venkateshgorla5006 7 ай бұрын
Then follow fcfs algorithm
@littlemermaid5921
@littlemermaid5921 3 жыл бұрын
Thank you sir ❤
@GauravGupta-pb8mk
@GauravGupta-pb8mk 3 жыл бұрын
Thank you so much sir
@ayushiydvKG
@ayushiydvKG 7 ай бұрын
thnx a lot
@surayyamuhdyusuf3558
@surayyamuhdyusuf3558 3 ай бұрын
To find the average waiting time,can you first find the turnaround time to make it easier?
@aydenmyers2011
@aydenmyers2011 2 жыл бұрын
Thank you so much!
@classyben5788
@classyben5788 Жыл бұрын
what happens when 2 processes has the same priority?, would the one that arrived in the CPU start first?
@dhanushsivajaya1356
@dhanushsivajaya1356 4 жыл бұрын
Thankyou sir
@princeowuraku9216
@princeowuraku9216 Жыл бұрын
Thank you sir
@edwinparulians9573
@edwinparulians9573 3 жыл бұрын
Why the way calculating waiting time every people is always different
@dontwanna6759
@dontwanna6759 5 жыл бұрын
after execution for specific time does the scheduler decrease the priority of the process
@shrouqmakk7676
@shrouqmakk7676 3 жыл бұрын
how did p4 executed for 3 times? isnt it 2?
@erenyeager6092
@erenyeager6092 3 жыл бұрын
5. What is the total no. of queues required to perform Priority Scheduling?
@itxcraig
@itxcraig 3 жыл бұрын
Very helpful
@kimeraeria3993
@kimeraeria3993 2 жыл бұрын
but in the qtn it says 0 has the highest priority, thought P2 would execute first
@jaredmccune7443
@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
@kimeraeria3993 Жыл бұрын
@@jaredmccune7443 thanks
@niyigenafrancine8617
@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.532lifenspace
@Astronomy.532lifenspace 10 ай бұрын
On my question um given size(msec) is it the same as burst time
@Astronomy.532lifenspace
@Astronomy.532lifenspace 10 ай бұрын
What priority does 0 have here?
@vennila1423
@vennila1423 3 жыл бұрын
explain how you got the 2 and 5 seconds
@vennila1423
@vennila1423 3 жыл бұрын
in Gant chart
@anonymousguy9263
@anonymousguy9263 3 жыл бұрын
@@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??
@Avinashkumar99999
@Avinashkumar99999 6 ай бұрын
sir please solve it with higher the number higher the priority
@uzumakigaming908
@uzumakigaming908 Жыл бұрын
aapka solution ka ans glt nikl hai kyunki p4 sirf 2 baar execute hu hai
@premanandika1745
@premanandika1745 3 жыл бұрын
how do I calculate its Turn Around Time ?, can u help me sir?
@ritwik121
@ritwik121 2 жыл бұрын
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-rk7sy
@Fawzia-rk7sy 3 жыл бұрын
🤣🤣🤣
@shreet1908
@shreet1908 3 жыл бұрын
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
@jackisalive5708 Жыл бұрын
Waiting time formula is turn around time - burst time he is doing something different
@paraboy5629
@paraboy5629 3 жыл бұрын
اختصر شرحك رجاءا وشكرا
Priority Scheduling (Solved Problem 2)
13:57
Neso Academy
Рет қаралды 174 М.
Scheduling Algorithms - Round Robin Scheduling
15:16
Neso Academy
Рет қаралды 276 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Scheduling Algorithms - Priority Scheduling
17:11
Neso Academy
Рет қаралды 232 М.
Scheduling Algorithms - First Come First Served (FCFS)
17:00
Neso Academy
Рет қаралды 374 М.
Non Preemptive Priority Scheduling Algorithm with example | Operating System
15:34
Jenny's Lectures CS IT
Рет қаралды 484 М.
OS18b - Preemptive Priority Scheduling | Solved Example
7:16
First Come First Served Scheduling (Solved Problem 1)
18:50
Neso Academy
Рет қаралды 589 М.
Round Robin Scheduling - Solved Problem (Part 1)
19:54
Neso Academy
Рет қаралды 458 М.
Shortest Job First Scheduling (Solved Problem 1)
11:59
Neso Academy
Рет қаралды 359 М.