Тёмный

Priority Scheduling (Solved Problem 1) 

Neso Academy
Подписаться 2,6 млн
Просмотров 289 тыс.
50% 1

Operating System: Solved Question on Priority Scheduling Algorithm in OS.
Topics Discussed:
A solved problem on the Preemptive Priority Scheduling Algorithm from GATE (CS) 2017.
Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
Follow me on Instagram: @jaiz_itech (bit.ly/2M3xyOa)
Contribute: www.nesoacademy.org/donate
Memberships: bit.ly/2U7YSPI
Books: www.nesoacademy.org/recommende...
Website ► www.nesoacademy.org/
Forum ► forum.nesoacademy.org/
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#OperatingSystemByNeso #OperatingSystem #PriorityScheduling #SchedulingAlgorithms #os

Опубликовано:

 

2 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 48   
@Anjali_singh____________
@Anjali_singh____________ 3 года назад
During the class it was going above my head🤣 but now I understood clearly 🥳 thank you so much
@gatruu
@gatruu 5 месяцев назад
😂
@ayushiyadav1
@ayushiyadav1 Месяц назад
same
@AbhishekSingh-oi7wm
@AbhishekSingh-oi7wm 4 года назад
Now I am able to solve these kind of questions.Thank you so much for your video.
@susenakodumuri2667
@susenakodumuri2667 4 года назад
Thank you is small word for your explanation sir...
@zacariaalihat9789
@zacariaalihat9789 7 месяцев назад
bro dropping a banger after every tutorial😁
@97Arshan
@97Arshan 4 года назад
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
@harshitarawat5059
@harshitarawat5059 7 месяцев назад
Thank you so much sir I was literally stucked at this question and couldn't solve it.
@aydenmyers2011
@aydenmyers2011 Год назад
Thank you so much!
@littlemermaid5921
@littlemermaid5921 2 года назад
Thank you sir ❤
@GauravGupta-pb8mk
@GauravGupta-pb8mk 3 года назад
Thank you so much sir
@eulitamubaiwa9652
@eulitamubaiwa9652 2 года назад
thank you so much 👏👏👏👏👏
@anotidaishechimedza928
@anotidaishechimedza928 2 года назад
Very helpful
@dhanushsivajaya1356
@dhanushsivajaya1356 3 года назад
Thankyou sir
@erenyeager6092
@erenyeager6092 2 года назад
5. What is the total no. of queues required to perform Priority Scheduling?
@ayushiyadav1
@ayushiyadav1 Месяц назад
thnx a lot
@princeowuraku9216
@princeowuraku9216 10 месяцев назад
Thank you sir
@dontwanna6759
@dontwanna6759 4 года назад
after execution for specific time does the scheduler decrease the priority of the process
@itbepolicy6007
@itbepolicy6007 4 года назад
'time till first put into cpu execution' > 'total waiting time'
@ashutoshrana6209
@ashutoshrana6209 4 года назад
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 4 года назад
Please tell me is it also correct way?? As for me it is easy.
@ashutoshrana6209
@ashutoshrana6209 4 года назад
Please Reply. :(
@snehadutta2351
@snehadutta2351 3 года назад
Yes
@classyben5788
@classyben5788 Год назад
what happens when 2 processes has the same priority?, would the one that arrived in the CPU start first?
@Astronomy.532lifenspace
@Astronomy.532lifenspace 3 месяца назад
On my question um given size(msec) is it the same as burst time
@Deathtonewworldorder
@Deathtonewworldorder 4 года назад
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.
@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
@shrouqmakk7676
@shrouqmakk7676 2 года назад
how did p4 executed for 3 times? isnt it 2?
@edwinparulians9573
@edwinparulians9573 3 года назад
Why the way calculating waiting time every people is always different
@HuynhThanhThuan
@HuynhThanhThuan 4 года назад
What happens if 2 processes have equal priority, Dear Sir ?
@CHAN-xn9eq
@CHAN-xn9eq 2 года назад
fcfs algo
@venkateshgorla5006
@venkateshgorla5006 Месяц назад
Then follow fcfs algorithm
@Avinashkumar99999
@Avinashkumar99999 23 часа назад
sir please solve it with higher the number higher the priority
@kimeraeria3993
@kimeraeria3993 Год назад
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
@Astronomy.532lifenspace
@Astronomy.532lifenspace 3 месяца назад
What priority does 0 have here?
@vennila1423
@vennila1423 2 года назад
explain how you got the 2 and 5 seconds
@vennila1423
@vennila1423 2 года назад
in Gant chart
@anonymousguy9263
@anonymousguy9263 2 года назад
@@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??
@jackisalive5708
@jackisalive5708 11 месяцев назад
Waiting time formula is turn around time - burst time he is doing something different
@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
@uzumakigaming908
@uzumakigaming908 7 месяцев назад
aapka solution ka ans glt nikl hai kyunki p4 sirf 2 baar execute hu hai
@Fawzia-rk7sy
@Fawzia-rk7sy 2 года назад
🤣🤣🤣
@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
@paraboy5629
@paraboy5629 2 года назад
اختصر شرحك رجاءا وشكرا
Далее