Тёмный

Priority Scheduling (Solved Problem 2) 

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

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

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

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 72   
@rinkeshpatil7967
@rinkeshpatil7967 2 года назад
why in this example priority is taken as higher number = higher priority.... But before, we took a lower no.= higher priority.
@fact__slap
@fact__slap Год назад
All depends on the question your given
@piyushhsainii
@piyushhsainii 9 месяцев назад
because it was explicitly mentioned in the question
@chethangudal4062
@chethangudal4062 4 года назад
u said lower the number higher the priority but here u made mistake
@Abl5545
@Abl5545 2 года назад
I am confused...in previous examples...the lower the value have highest priority...but here Great values are given highest priority......plz help me .I am confused 🤔
@noahshanta8687
@noahshanta8687 2 года назад
that only depends on your problem definition, the previous problem the lower number the higher priority, but in this problem, it is the reverse way
@fathimaakeela6301
@fathimaakeela6301 2 года назад
yes i too noticed that.i think sir may be forget it.because at the begining priority 2 was taken as a high priority after that sir told the high priority as 5...but the ting is we can take that in two way.we can take the priority a) 0,1,2,3,4,5 b) 5,4,3,2,1,0 we can choose the only one method.
@milkyminnivlogs1256
@milkyminnivlogs1256 2 года назад
Ya am also get confused
@hikaru6709
@hikaru6709 Год назад
Coz u didn't read the question in this question they said take high value as priority
@bilalshaikh4636
@bilalshaikh4636 5 месяцев назад
On Google the formula for turnaround is: TAT = Burst time + Waiting time. I'm confused.....
@AbrehamGetachew-po5uk
@AbrehamGetachew-po5uk 4 месяца назад
this means... waiting time =TAT - brust time
@fathimaakeela6301
@fathimaakeela6301 2 года назад
at the begining the 2 is taken as a high priority and after that 5 is taken as a priority in this example.if we take a high value as a high priority in this example.at the arrival time 1 the CPU want to get the P2 and at the arrival time of 3 CPU want to get the process P3 beacuse those are has a high priority.when we consider higher value as higher priority we need to do like this.but in this example we get the lesser value as a high priority the P1 cpu time is correct and after that P2 want to get the CPU..so the Average Waiting Time = 4.4 ms and Average Turn Around Time = 7.4 ms......and thank you so much sir i got these knowledge from your lecture and teaching.thank you again
@pekatlau2772
@pekatlau2772 2 года назад
This answer will apply to pre-emptive scheduling. But the question is non-pre-emptive 😅😁
@chiragnehra4010
@chiragnehra4010 7 месяцев назад
what formula did u use to calculate turn around time ?
@ӘбденӘлішер
@ӘбденӘлішер 4 месяца назад
@@chiragnehra4010 completion - arrival i guess
@MuhammadUsamaQamar
@MuhammadUsamaQamar 4 года назад
You're confusing it the high the number the lesser the priority
@aparnanidamanuri4567
@aparnanidamanuri4567 4 года назад
Exactly
@MonaK272
@MonaK272 4 года назад
@@aparnanidamanuri4567 that's what I thought at first too, but as per his lecture number 46: Scheduling Algorithms - Priority Scheduling, some books consider the highest priority to be the higher number, and others consider it the lower number... so in his first example the priority is with the lowest number, and in this video the priority is with the highest number... we just have to read the question carefully to see which concept the question wants us to follow... hope it helps :)
@aparnanidamanuri4567
@aparnanidamanuri4567 4 года назад
@@MonaK272 thanks for the explanation
@Abl5545
@Abl5545 2 года назад
@@MonaK272 thanks slot dear...
@rajatkundu862
@rajatkundu862 Год назад
​@@MonaK272 Which is the default priority case when there are no information in question about priority like higher number = higher priority or lower number = higher priority ? ?
@devulapallymaahi5814
@devulapallymaahi5814 6 месяцев назад
sorry answer is wrong....
@davidle1226
@davidle1226 6 месяцев назад
So my professor took screenshot of this video and made her slide to teach us at University. Is it a steal?
@cheyyGirll
@cheyyGirll 6 месяцев назад
It depends on professor's intention.
@ayushiyadav1
@ayushiyadav1 4 месяца назад
hahaahaa he's also learning/upgrading his software 😂😂
@antukin5469
@antukin5469 11 месяцев назад
whoah its suddenly changed? can you explained? from low number = higher priority to become high number = higher priority ?
@antukin5469
@antukin5469 11 месяцев назад
is it | p1 | p2 | p3 | p4 | p5 | 0 4 7 8 14 15 ?
@lamaspacos
@lamaspacos 2 месяца назад
05:30 interesting
@prasea7
@prasea7 5 лет назад
076 Dashain Just gave my 4th sem OS exam You're late
@jsresico
@jsresico 2 года назад
the problem given has no processes arriving at time 0... how are we going to gantt chart at compute it?
@hamdanali631
@hamdanali631 4 года назад
what if the question is said that solves the problem by SJF and any other CPU scheduling policy but the question will be the same as it is
@sahakpetrosyan4841
@sahakpetrosyan4841 3 года назад
Wouldn't it be more efficient if in case of a tie, we decided what process will get first by shortest-job-first algorithm? In the given example, the average waiting time will be less with SJF than with FCFS.
@bhavinsheth
@bhavinsheth 2 года назад
i have same question?
@ShahbazKhan-pf3oo
@ShahbazKhan-pf3oo 10 месяцев назад
Totally depends on you, I myself have faced a question where it was mentioned that in case of a tie, the system uses SJF algorithm, so yes it's efficient but generally if it's not mentioned FCFS algorithm is used in such cases of deadlock
@shaikchanmehboob7958
@shaikchanmehboob7958 3 года назад
I have no words 2 describe u n my feelng aftr stickng wit ur all videos 😊
@thisismyemail2167
@thisismyemail2167 2 года назад
The lower the number it's highest priority?? but he said the higher number = higher priority
@xuanlocnguyen6200
@xuanlocnguyen6200 2 года назад
that only depends on your problem definition, the previous problem the lower number the higher priority, but in this problem, it is the reverse way
@Abl5545
@Abl5545 2 года назад
@@xuanlocnguyen6200 But where it is mentioned??
@xuanlocnguyen6200
@xuanlocnguyen6200 2 года назад
@@Abl5545 From 1:00 to 1:20, the lecturer did mention it. And also if you watch the previous lecture carefully, you will see they highlight the " 0 is the highest priority". I hope you understand it
@Abl5545
@Abl5545 2 года назад
@@xuanlocnguyen6200 thank a lot...I got it
@rajatkundu862
@rajatkundu862 Год назад
Which is the default priority case when there are no information in question about priority like higher number = higher priority or lower number = higher priority ? ?
@rajatkundu862
@rajatkundu862 Год назад
@nesho academy
@عليالسقاف-ق9ر
@عليالسقاف-ق9ر Год назад
اتمنى تضيفو ترجمه
@ayubali9529
@ayubali9529 3 года назад
if p4 and p5 arrived at the same time what will get into the cpu first?
@techknowxplored9051
@techknowxplored9051 2 года назад
Then, we check for the burst time and the one which has the lower burst time would get the resources first
@tanmoybose111
@tanmoybose111 2 года назад
The one with the less Process I'd will get into the CPU.... therefore P4 will get into the CPU
@suheabkhan2546
@suheabkhan2546 5 лет назад
Sir what about data structure in c... We need it
@anonymousguy9263
@anonymousguy9263 2 года назад
İ think it is ongoing dude...
@babarhans4656
@babarhans4656 2 года назад
Without arrival time?
@jpgutz2517
@jpgutz2517 4 года назад
what if it is preemptive does priority 5 be interrupted by the same priority?
@undeadmens
@undeadmens 4 года назад
The one with the lowest arrival time will go first
@NORA-qx6nr
@NORA-qx6nr Год назад
u should considerate the arrival time,sir.
@anuhp3769
@anuhp3769 4 года назад
Thanks
@rjhgworrioar9753
@rjhgworrioar9753 2 года назад
Last problem is a problem (regards priority)
@Dev146-r6u
@Dev146-r6u 5 лет назад
Tquu so much sir👍
@ayushiyadav1
@ayushiyadav1 4 месяца назад
thnx sir
@Alexc99xd
@Alexc99xd 5 лет назад
RR scheduling next?
@mokera3801
@mokera3801 4 года назад
just amazing
@divyaagarwal3091
@divyaagarwal3091 2 года назад
Thankyou so much sir
@xasanxaaji8766
@xasanxaaji8766 Год назад
Thanks for your good explanation
@kamalsafuan
@kamalsafuan Год назад
good video bro
@sanketpatil1573
@sanketpatil1573 5 лет назад
Upload videos of graph in data structure
@zinabudesta7333
@zinabudesta7333 2 года назад
Thank You Too
@ahmadstory-sc8cg
@ahmadstory-sc8cg Год назад
👏🏻👏🏻👏🏻👏🏻
@anusharapaka2413
@anusharapaka2413 4 года назад
Sir thanuuuu so much
@anithajhansi6589
@anithajhansi6589 3 года назад
Thanks.sir
@dhanushsivajaya1356
@dhanushsivajaya1356 3 года назад
Thankyou sir
@mohamedorabi7113
@mohamedorabi7113 5 лет назад
Thank you ♥️♥️
@aravindalluri1738
@aravindalluri1738 5 лет назад
Thank you for the videos. Please try to upload daily.
Далее
Scheduling Algorithms - Round Robin Scheduling
15:16
Просмотров 258 тыс.
Multilevel Queue Scheduling Algorithm
14:36
Просмотров 176 тыс.
Teeth gadget every dentist should have 😬
00:20
Просмотров 1,6 млн
Priority Scheduling (Solved Problem 1)
15:58
Просмотров 307 тыс.
Round Robin Scheduling - Solved Problem (Part 1)
19:54
Просмотров 416 тыс.
Scheduling Algorithms - Shortest Job First (SJF)
28:47
Просмотров 353 тыс.
Scheduling Algorithms - Priority Scheduling
17:11
Просмотров 215 тыс.
Scheduling Criteria
13:35
Просмотров 206 тыс.
CPU Scheduling Algorithm- Pre-emptive Priority
8:45
Просмотров 10 тыс.
Multilevel Feedback-Queue Scheduling Algorithm
14:13
Просмотров 137 тыс.
Teeth gadget every dentist should have 😬
00:20
Просмотров 1,6 млн