Lec 17: Preemptive Priority Scheduling Algorithm in OS with example | Operating System

Поделиться
HTML-код
  • Опубликовано: 25 апр 2019
  • Learn the basics of Preemptive Priority scheduling algorithm and how to schedule processes using preemptive priority scheduling algorithm with example. Here average Turnaround time, average Waiting time and average Response time have also been calculated.
    See Complete Playlists:
    Placement Series: • Placements Series
    Data Structures and Algorithms: https: • Data Structures and Al...
    Dynamic Programming: • Dynamic Programming
    Operating Systems: // • Operating Systems
    DBMS: • DBMS (Database Managem...
    Connect & Contact Me:
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/profile/Jayanti...
    Instagram: / jayantikhatrilamba

Комментарии • 194

  • @angadtewari6018
    @angadtewari6018 3 года назад +102

    Thank you Jenny ma'am , I am watching this a day before my exam and you are explaining this in such an effortless manner making everything so much fun to learn

  • @rakshithaj1696
    @rakshithaj1696 3 года назад +50

    Love and respect from karnataka!! ❤✨

  • @JennyslecturesCSIT
    @JennyslecturesCSIT  5 лет назад +90

    The main drawback of Priority Scheduling is "Starvation"

    • @gatecomputerscience1484
      @gatecomputerscience1484 5 лет назад +3

      Jenny's lectures CS/IT NET&JRF , right

    • @shilpashreeha5798
      @shilpashreeha5798 4 года назад +2

      @Jenny's lectures CS/IT NET&JRF Ma'am please clarify my doubt that if arrival time of any two process is same how to solve that....please clarify this ma'am

    • @jagadeeshmandala4097
      @jagadeeshmandala4097 4 года назад +2

      @@shilpashreeha5798 we have to give priority for order in which we have written the process.. I. E if P1 and P4 having same A. T we have to give priority for P1 only

    • @bense_tony
      @bense_tony 3 года назад

      Same Priority, Same Arrival Time. Which one should be considered? Earliest process ID or smallest burst time ?

    • @nareshgoyal1994
      @nareshgoyal1994 3 года назад +1

      @@bense_tony process id

  • @prochetabhattacharyya4497
    @prochetabhattacharyya4497 2 года назад +7

    Thank you ma'am for your guidance. I have been following your video lectures for DBMS , DSA and OS for the past two months. The video lectures helped me, an ECE student, to grasp the concepts. And the video lectures helped me in securing a job in Persistent Systems.

  • @soumyadipdeb2084
    @soumyadipdeb2084 2 месяца назад +1

    such a explanation needs to be highlighted for years.perhaps the best ever explanation available on youtube

  • @dweller010
    @dweller010 3 года назад +185

    At the first glance, it looked like she have had a short pixie haircut

    • @ohiogozaimasu
      @ohiogozaimasu Год назад +11

      Ok bhai... btech ho gyi aapki ?

    • @phantomhawk489
      @phantomhawk489 9 месяцев назад +1

      ​@@ohiogozaimasulol

    • @_suman__
      @_suman__ 8 месяцев назад +2

      Thik jaga pa focus kya ha

  • @codelord9031
    @codelord9031 3 года назад +11

    I swear this lady has saved my life in more ways that I can say

  • @edwardgarcia9369
    @edwardgarcia9369 3 года назад +7

    Well explained Ma'am, big thanks to you, looking forward for more videos like this, especially in these days where pandemic is still present, just like me, a student who is struggling on online classes. Thank you very much Ma'am.

  • @Dattebayo._.
    @Dattebayo._. 4 года назад +7

    Thank you mam😊😊..For helping me to get good grade in DSA and now for clearing the concepts of OS also..

  • @preathi5436
    @preathi5436 2 года назад +2

    Thank you from tamilnadu ❤️ after my 1 hour lectures in college I am still confused about this algorithm but you make me clear in one shot ✨

  • @rayapallisrujanreddy8327
    @rayapallisrujanreddy8327 3 года назад +2

    Its really happy to say that im clear in many topic due to ur videos....thanks for providing it🤗

  • @deepakkamatad1680
    @deepakkamatad1680 3 года назад +1

    Thanks you. Before I was struggle to solve preemptive problems but after seeing this video I understood how to solve this.

  • @aleezaymuskan6528
    @aleezaymuskan6528 4 года назад +4

    You just made my exam preparation very easy now m expecting A grade in OS🤩

  • @swaralijakakure40
    @swaralijakakure40 4 года назад +1

    Maam your way of teaching is very easy and language is simple to understand for any student...
    Thanks maam for this great explanation..

  • @saadmanahmed860
    @saadmanahmed860 3 года назад +4

    tomorrow has got my final exam. Today you helped me ma'am. You are ingenious

  • @edgarguzman2709
    @edgarguzman2709 3 года назад +1

    This lady is not just smart but very pretty! I passed my exam thanks to your lectures! Both non preemptive and preemptive videos were great! best wishes

  • @MikeTManio
    @MikeTManio Год назад +2

    Thank you Ma'am for explaining it so clearly, you explained it better than my so-called professor

  • @arshiraina7021
    @arshiraina7021 3 года назад +3

    Thank you ma'am. The video was just amazing .Everything went inside 💖.

  • @anand_raaj
    @anand_raaj 2 года назад +1

    Too confusing question of preemptive but you understand in a very simple way. Thanks a lot ma'am.🙏

  • @hVohra-hl1rd
    @hVohra-hl1rd 3 года назад +1

    Very informative and educational video... Thanks for sharing.. keep sharing 👍

  • @jhussain6460
    @jhussain6460 5 лет назад +7

    hello mam, how we can use this preemptive version for research per-pus? for example there are n jobs and n machines
    thanks

  • @joetech636
    @joetech636 2 года назад +1

    Thanks for ur help mam u r great teacher god bless u i have exam at computing course at engineering faculty ASU and ur lessons helped me a lot thx.

  • @madgepereira2891
    @madgepereira2891 2 года назад

    Thank you Ma'am ❤️
    Your explanation is so good that I understood it so much 😊.

  • @akagi9537
    @akagi9537 2 года назад

    Thank you ma'am! My final exam is tommorow and i learned a lot from you and your video lecture!

  • @anumalarajesh8935
    @anumalarajesh8935 Год назад

    Thank You Mam, all my doubts are cleared primitive and non primitive concept this happened only after watching your videos only once again thank you so much mam

  • @kEzO9O
    @kEzO9O 5 лет назад +4

    thanks! your amazing, I undestand it very well!

  • @yashwanthkumar3794
    @yashwanthkumar3794 3 года назад +1

    💯 understanding superb explaind we r lucky to have u mam

  • @sharmisthachakraborty256
    @sharmisthachakraborty256 5 лет назад +3

    Thank u maam
    U made it more easier to understand

  • @huyvole9724
    @huyvole9724 5 лет назад +6

    On RUclips
    Pre-empt, P2 > P1 (Priority) => choose P2
    Non pre-empt: P2 > P1(Priority) => choose P1

  • @fake.reb129
    @fake.reb129 4 года назад +2

    is this the long method of preemptive? i saw a lot of video about this topic and yours is different. but i got this more clearer than anyone.

  • @World-of-programming.
    @World-of-programming. 8 месяцев назад

    Watch the video during class and answer the questions😂 ,you are the best ,no captionnn🔥

  • @Ammusharwinprasad
    @Ammusharwinprasad 3 года назад +1

    Thankyou mam for your wonderful explanation I learnt os only your lectures

  • @aiswaryanp7761
    @aiswaryanp7761 5 лет назад +1

    Thnku for giving such a great explanation.....

  • @ameerdanladi2203
    @ameerdanladi2203 3 месяца назад

    Very interesting, watched your clip from Nigeria.

  • @satyamjha9250
    @satyamjha9250 3 года назад +1

    Thanks,, Explained very well!👍👌

  • @biggusmunkusthegreat
    @biggusmunkusthegreat 9 месяцев назад

    Really well explained, kudos.

  • @A_M_A_N794
    @A_M_A_N794 8 месяцев назад

    Mam thank you so much for teaching us on youtube really appreciate your efforts,techniques mam.God bless you mam.

  • @p.rajeswari9184
    @p.rajeswari9184 4 года назад +2

    Mam, I'm preparing for the net exam.so ur lecturer is very very useful for us.pls pls continue.then can u please suggest the best book that covers all subjects of the net exam for last-minute study?because we have 40 days only.

  • @jhonatanmendozavela9918
    @jhonatanmendozavela9918 2 года назад +2

    Me gusta tu canal soy Boliviano y aprendo inglés 🇧🇴♥️♥️♥️😁

  • @eagleshadow7967
    @eagleshadow7967 2 года назад +1

    Beauty with brain ,thank you so much mam ❤

  • @mohamedGasmi
    @mohamedGasmi 4 года назад +7

    You are the best thank you from Algeria !!

  • @hamzafaheem9161
    @hamzafaheem9161 Год назад

    So nice of you I will impress with you your teaching mathod is so good

  • @rajatshriguru4376
    @rajatshriguru4376 5 лет назад +3

    I totally understand this concept now !!! Thanks ma'am !!

  • @karthikveeramanikantakadim4985
    @karthikveeramanikantakadim4985 Год назад +1

    your finishig smile takes the inerest to next level ma'am

  • @ashenafimolla6269
    @ashenafimolla6269 4 года назад +2

    very good lecture thank you

  • @ShashiKS
    @ShashiKS 4 года назад

    Very clear Explanation

  • @collinseshanekpe8551
    @collinseshanekpe8551 7 месяцев назад

    Good job professor👏

  • @simransimran6766
    @simransimran6766 4 года назад +2

    best lecture

  • @gauravjkr
    @gauravjkr 4 года назад +1

    Mam can you please make video on parsers from compiler construction!your way of teaching is very nice

  • @rahmatullahnaveed2772
    @rahmatullahnaveed2772 5 лет назад +2

    Your teaching is also same like eyes, because your eyes are sweet.
    I got it, thanks dear.

  • @HabtamuTeshome-jp3oe
    @HabtamuTeshome-jp3oe Год назад +1

    you are my best

  • @SaravanaKumar-wm4cm
    @SaravanaKumar-wm4cm 4 года назад +1

    excellent!

  • @ravindumalithniroshan8084
    @ravindumalithniroshan8084 Год назад +1

    you are amazing ma'am💗💗

  • @hacksbsb
    @hacksbsb 2 года назад

    very good, help me prepare my test!

  • @LavendersSS
    @LavendersSS Год назад +1

    Helpful Thank you ma'm ❤️

  • @ejaradiro3147
    @ejaradiro3147 5 лет назад +1

    i love your lecture and you your self jenny's uuumphaa long live for you

  • @devotion_surya3741
    @devotion_surya3741 2 года назад

    💥💥💥great explanation

  • @barbieteluguchannel9176
    @barbieteluguchannel9176 7 месяцев назад

    Thank you very much jenny mam i love your teaching ❤

  • @suryanani5179
    @suryanani5179 5 лет назад +2

    How you have taken arrival time in this case and is it possible to program arrival time in operating system can you please explain?

  • @paraboy5629
    @paraboy5629 2 года назад

    شكرا جزيلا ☺️

  • @HarpreetSingh-qe4oc
    @HarpreetSingh-qe4oc 2 года назад

    well explained. thanks

  • @demekeyideg2791
    @demekeyideg2791 3 года назад

    HI mam i am from Ethiopia thanks for Explanations God bless you thanks

  • @vinuthareddy1552
    @vinuthareddy1552 4 года назад +1

    Nice teaching

  • @Quran_Says7111
    @Quran_Says7111 Год назад

    cuteness overloaded mam 😅
    teaching method so good

  • @ashenafimolla6269
    @ashenafimolla6269 4 года назад +1

    thanks so much

  • @adibasiddiqui6438
    @adibasiddiqui6438 3 года назад

    Last process that is p7 has highest priority but in case if was no higher priority than others in ready queue, will it completely scheduled? Or only for one ms??

  • @nawinvignesh6648
    @nawinvignesh6648 Месяц назад

    Thank you so much mam

  • @sudarshanhalse4639
    @sudarshanhalse4639 Год назад

    Thank you

  • @mujigopinath802
    @mujigopinath802 3 года назад +1

    Could you please explain the scenario and criteria for arriving at Arrival time and Burst time in this model.?
    Can we apply this in project management where 70 projects (process) to be completed with 15 developers based on priority which is getting changed frequently.. Could you please suggest a best algorithm to go for this?
    To my curiosity what algorithm will be used by IRCTC in online train ticket reservation system.?
    Thanks in Advance.......

  • @sushmaemmadi
    @sushmaemmadi Год назад

    Thank you so much..

  • @omchevli1164
    @omchevli1164 3 года назад

    Thank You Mam!

  • @educationinformation4392
    @educationinformation4392 3 года назад

    Nice work maim

  • @mustafai1863
    @mustafai1863 4 года назад

    great method

  • @VenkateshVenkatesh-ue7nl
    @VenkateshVenkatesh-ue7nl Год назад

    Thank you so much mam ❤...

  • @manpritkumari4426
    @manpritkumari4426 2 года назад

    Thanks mam nice lecture 🙂

  • @chandrakala7302
    @chandrakala7302 2 года назад

    thankyou so much maam !

  • @paulchen355
    @paulchen355 Год назад +1

    American Student: I learnt nothing at lecture
    Indian Tutorial: I got you.

  • @shivamkumarsingh6323
    @shivamkumarsingh6323 4 года назад +1

    Mam! What happened here if the B.T of p5 process is 4?

  • @anshuraj6455
    @anshuraj6455 4 года назад

    Thanks 😊

  • @gvabhishekjaiharin5756
    @gvabhishekjaiharin5756 9 месяцев назад

    Its really helpful ,But please make shorter version of this same topic .. It will be very helpfull to see before exams as a quick revision

  • @dd9484
    @dd9484 3 года назад

    In case of higher no higher priority, to solve starvation problem, the priority no of that waiting process after some time interval will be increased or decreased? And the time interval for every processes which are in waiting state will be same or not? PLZZZ REPLY

  • @sumanthchakravarthi6853
    @sumanthchakravarthi6853 4 года назад

    mam how does the ready queue look like in this case??

  • @shubhamshelke6593
    @shubhamshelke6593 3 года назад +1

    Ma'am for 1-2 will cpu be in ideal state?

  • @JaileceAbel-yp8hp
    @JaileceAbel-yp8hp 3 месяца назад

    Understood 🙏🙏🙏🙏🙏🙏

  • @marylinmvula8107
    @marylinmvula8107 3 года назад

    Thank you..

  • @rutendocarolinemurei8866
    @rutendocarolinemurei8866 Год назад

    Well explained
    Thank you ma'am

  • @firezerbizuwork8876
    @firezerbizuwork8876 Год назад

    big explanation

  • @akashderasree6716
    @akashderasree6716 3 года назад

    If the BT of P5 is changed to 4...then what is need to be done?? The CPU will remain at waiting state till 10nth unit of time??

  • @Herxh428
    @Herxh428 3 года назад

    Mam please reply if highest priority come in p1 then what should we do .....

  • @saritaprajapati5786
    @saritaprajapati5786 2 года назад +1

    Great mam

  • @kartikgudivada
    @kartikgudivada 2 года назад

    thanks a lot

  • @kavithavenki22
    @kavithavenki22 7 месяцев назад

    If the burst time of two consecutive processes is same then how to do

  • @steveoremo3565
    @steveoremo3565 Год назад

    Thank you ma'am

  • @abhinaybehara290
    @abhinaybehara290 22 дня назад

    do we only check the priority of previous process or the all processes which are in the ready queue in preemptive priority scheduling plsss reply

  • @pratheekshahl1527
    @pratheekshahl1527 11 месяцев назад

    What if the version is not mentioned in question that is preemptive or non preemptive??

  • @shehansampath359
    @shehansampath359 3 года назад +1

    Thanks ma'am I like your lesson
    I think you used to upload
    The new lessan

  • @user-jm9iw6mm9o
    @user-jm9iw6mm9o 2 месяца назад

    Thanks mam

  • @Rishithabajjuri
    @Rishithabajjuri 3 года назад

    Should we repeat the exercise fr each one?
    Like 10 times 1 exercise

  • @SangitaThakur-be7oy
    @SangitaThakur-be7oy 2 месяца назад

    NICE EXPLANATION..
    Theres a mistake in remaing time for P5 it would be 11-5=6

  • @shridhar1286
    @shridhar1286 4 года назад

    RUclips crush 😍😍😍😍