Lec23 Deadlock Avoidance: Banker's Algorithm with example | Operating System

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.พ. 2025
  • Learn how to apply the bankers algorithm for deadlock avoidance in operating systems. Find Need matrix and safe sequence.
    CORRECTION: Need(i)= Max(i) - Allocation(i)
    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/...
    Instagram: / jayantikhatrilamba

ความคิดเห็น • 280

  • @kaleab-HIM
    @kaleab-HIM 8 หลายเดือนก่อน +38

    I remember the time last semester when we were taking DSA final exam and I was watching your videos until mid night, they were very helpful. And now searching for Banker's algorithm , I didn't even waste a time to click the video

    • @Griffin_xDragon
      @Griffin_xDragon 6 หลายเดือนก่อน +1

      @@kaleab-HIM maybe really helpful 😭
      But not for study 🤭

  • @qaisabdelshah7301
    @qaisabdelshah7301 3 วันที่ผ่านมา

    I don't usually comment on videos, but after watching several other videos on Bankers Algorithm. This is the best video to fully understand how it works and I really want to thank you for making it so clear and easy to follow. :)

  • @Integralsouls
    @Integralsouls 5 ปีที่แล้ว +86

    goddamn it , i actually understood bankers algo, something not even my profs at iit could do...truly thankful to the deepest....

    • @JennyslecturesCSIT
      @JennyslecturesCSIT  5 ปีที่แล้ว +20

      Thanks a lot for appreciating

    • @Integralsouls
      @Integralsouls 5 ปีที่แล้ว +15

      @@JennyslecturesCSIT lol ...its me who should thank you........algo appears darn easy now, whatever sorcery you are doing ,just keep doing it.

    • @JUSTINHBK007
      @JUSTINHBK007 4 ปีที่แล้ว +1

      Agree, love how easy you made this..

    • @adithyamukunda5012
      @adithyamukunda5012 3 ปีที่แล้ว +1

      Yeah this looks damn easy now!

  • @jordankef1328
    @jordankef1328 5 หลายเดือนก่อน +5

    Thank you, easy to understand, and better english than most videos on youtube enough for us non native english speakers to understand

  • @MubarrimIqbal
    @MubarrimIqbal 5 ปีที่แล้ว +43

    Thanks a lot, you explains better than my teacher.

  • @thatsthething3218
    @thatsthething3218 4 ปีที่แล้ว +36

    I watched your video carefully and solved 2 questions in my exam of 5-6 marks each! Thank you :)

  • @sushantkumar9211
    @sushantkumar9211 ปีที่แล้ว +10

    Beauty with brain 🧠
    Your teaching skills ❤

  • @A1Tech6111
    @A1Tech6111 ปีที่แล้ว +1

    Doing seminar with clarity and learning in a best way it is the best platform for everyone

  • @phutialfred3061
    @phutialfred3061 ปีที่แล้ว +15

    Quality teaching. Grateful for the work you do

  • @yarabakeer9211
    @yarabakeer9211 ปีที่แล้ว +4

    Thxx a lot, actually bcz of your videos I understood many of the topics that wasn't clear to me and I have OS exam today so I'll do my best to not miss any question related to the topics I have studied with u

    • @mohammadbakeer8683
      @mohammadbakeer8683 ปีที่แล้ว +2

      You are welcome darling, hope you get a good grade

    • @TheIndianguy-js4tt
      @TheIndianguy-js4tt ปีที่แล้ว

      I totally agree, i also studied with her and understood a lot of things that i had problems with

  • @mahmoodal-bunni9293
    @mahmoodal-bunni9293 3 ปีที่แล้ว +4

    Crystal clear. Simply brilliant tutor.

  • @Duccap
    @Duccap 10 หลายเดือนก่อน +1

    i love you, you saved me from the exam and the corrupted world.

  • @maoryatskan6346
    @maoryatskan6346 4 ปีที่แล้ว +28

    Paused the video to say thank you, saved my exam.

  • @punnyabhatnagar6346
    @punnyabhatnagar6346 4 ปีที่แล้ว +13

    You teach flawlessly ma’am.. thank you so much ☺️

  • @natnaelberu5697
    @natnaelberu5697 2 ปีที่แล้ว +1

    i am from ethiopia and i appriciate jenny's lecture for alot

  • @mrtuouii_boyy
    @mrtuouii_boyy 4 หลายเดือนก่อน

    easy to understand, and better english than most videos on youtube enough for us non native english speakers to understand😊😊😊😊😊😊😊😊😊😊😊😊

  • @jaynagrecha3792
    @jaynagrecha3792 5 ปีที่แล้ว +6

    GTU 2018 Question No. 3 ! Tomorrow I have OS paper and I was sitting here with the question papers to solve, and I am like....wait , this is the only question I dont know. I thought i will understand "how" it is solved and will solve this problem later. As a matter of fact, you taught the same one! Thank you! Well, if the insect in a video can come back again and again....i will too , to learn more😅😊

  • @mostm8589
    @mostm8589 3 ปีที่แล้ว

    You're such a gift to the world miss Jenny

  • @lailaalmalki6517
    @lailaalmalki6517 3 ปีที่แล้ว +5

    Thanks you made it easier for me. Keep up the good work!

  • @ankbala
    @ankbala 3 ปีที่แล้ว +192

    Thank you Jayanthi. At 7th minute: Need = Max -Allocation, please correct. Thanks

    • @sithumdilanga650
      @sithumdilanga650 3 ปีที่แล้ว +8

      yeah you are correct

    • @MuhammadHasnain-tc5it
      @MuhammadHasnain-tc5it 3 ปีที่แล้ว +4

      yes, you are correct

    • @praneeth7472
      @praneeth7472 3 ปีที่แล้ว +16

      I think u r the topper of your clg

    • @quizaffair
      @quizaffair 2 ปีที่แล้ว +2

      @@praneeth7472 your thought doesn't matter bcoz he is a berozgar engineer nowadays

    • @sanjayr9158
      @sanjayr9158 2 ปีที่แล้ว +1

      @@praneeth7472 I think u also topper bro

  • @behindthescene4406
    @behindthescene4406 3 ปีที่แล้ว +3

    I just came back to like the video , efforts are tremendous thanks a lot ma'am ❤️

  • @sujandhali2747
    @sujandhali2747 3 ปีที่แล้ว +30

    Correction: Need[i] = Max[i] - Allocation[i] Time(6:37)

  • @emmanuelogunmoroti3348
    @emmanuelogunmoroti3348 4 ปีที่แล้ว +4

    Thank you, the way you explained it just made it make a whole lot of sense

  • @praveen7726
    @praveen7726 ปีที่แล้ว +14

    6:41 [NOTE] Here the need matrix should be Max - Allocation not the other way around as written in the board.

  • @abdullahiabdi7773
    @abdullahiabdi7773 2 ปีที่แล้ว +1

    Understood this topic in a few minutes, thank you!

  • @prajwalm5576
    @prajwalm5576 3 ปีที่แล้ว +1

    Finally i understand safety and bankers algorithm 😍 tq so much very nicely explained

  • @vikasjosek8012
    @vikasjosek8012 5 ปีที่แล้ว +15

    mam, your videos are easy to understand pls upload more videos on the operating system

  • @d39-nischithhegde65
    @d39-nischithhegde65 2 ปีที่แล้ว +11

    need=max-allocation

  • @adelinevoon422
    @adelinevoon422 3 ปีที่แล้ว +2

    Thank you so much Madam your videos saved me so many times ❤️ Wish you good health and stay safe during the pandemic 😷❤️❤️

  • @aryan4030
    @aryan4030 4 ปีที่แล้ว +2

    Very easy to understand thanks for these invaluable videos

  • @Luffy_2804
    @Luffy_2804 ปีที่แล้ว

    One of the best and OG lecture of all time thank you mam

  • @deeppanchal1332
    @deeppanchal1332 3 ปีที่แล้ว +9

    Thank you so much for creating such great content. These videos are super helpful :)

  • @thelordofgaming6342
    @thelordofgaming6342 ปีที่แล้ว

    Ur way of teaching is more good💥😊

  • @ronshen2453
    @ronshen2453 2 ปีที่แล้ว

    Thanks, you explain much better than the book.

  • @sandyaranimerugu1998
    @sandyaranimerugu1998 4 ปีที่แล้ว +2

    beauty easy way teaching,simple understood,thank you mam

  • @ratulsen
    @ratulsen ปีที่แล้ว +1

    aap jaisa sundar ho waisa hi aap parate bhi ho ,, great teaching

  • @mrnizam6464
    @mrnizam6464 2 ปีที่แล้ว

    u r a true legend mam for engineering students ❤️❤️

  • @NTANETASPIRANTACADEMY
    @NTANETASPIRANTACADEMY 4 ปีที่แล้ว +2

    Thank you.. Your Class can be easily understood

  • @christianjuneramos8958
    @christianjuneramos8958 3 ปีที่แล้ว +5

    Thank you so much. This is so easy to understand, fine!👌

  • @ibraheemsheikh2023
    @ibraheemsheikh2023 5 ปีที่แล้ว

    Best female teacher, which I've ever came across.
    Thankyou so much.
    💙💙 From Pakistan.

  • @kanojiyaaditya
    @kanojiyaaditya 3 ปีที่แล้ว +3

    Really Helpful Madam. Thanks a lot for such Great Teaching... I'll say you just Cleared my all the Doubts Perfectly! Keep Sharing :-) 👍

  • @monuit8938
    @monuit8938 4 ปีที่แล้ว +2

    Great explaination mam
    Thanks from bottom of my ❤.

  • @eliasazale2318
    @eliasazale2318 3 ปีที่แล้ว +1

    wow it is very amazing teaching i do not expect in this way :i gets very important ideas from this teaching 10q u so
    much!!!!!!

  • @akifamal9987
    @akifamal9987 3 ปีที่แล้ว +1

    thank you from deep of my heart this is really helping me

  • @GbEdits19
    @GbEdits19 วันที่ผ่านมา

    i am always watching your video to see you not the lecture🥰🥰

  • @priyaprish6015
    @priyaprish6015 3 ปีที่แล้ว +1

    Thank you mam finally u made my exam really goooooddd ❤

  • @--DeviL-NinjA--
    @--DeviL-NinjA-- 3 หลายเดือนก่อน +1

    Maja ka neenga ❤

  • @sajalaslam3616
    @sajalaslam3616 3 ปีที่แล้ว +2

    Thank you mam, for your lectures you explain all the things very well.
    God bless you.

  • @madescoces
    @madescoces 2 ปีที่แล้ว

    Ty so much from Argentine! excelent work!!!

  • @9424aju
    @9424aju 3 ปีที่แล้ว +1

    Thank you mam you are really helping me out in my assignments

  • @achieversgyanfamly
    @achieversgyanfamly 9 หลายเดือนก่อน

    All thhe Best for your Upcoming Exam..👍🏻..

  • @ItsmeBhanu.19
    @ItsmeBhanu.19 3 ปีที่แล้ว

    Thank u so much mam ....now i understand how to solve the banker's algorithm....loveu

  • @dejenehabtemariam7892
    @dejenehabtemariam7892 2 ปีที่แล้ว

    Thanks a lot, you explains better than my teacher.💯

  • @robankhananik6524
    @robankhananik6524 4 ปีที่แล้ว +1

    mam this lecture is very helpful for me . thank you very much

  • @Jeetmeet100
    @Jeetmeet100 4 ปีที่แล้ว +1

    Simple and crisp..Thankyou mam!

  • @celestybliss8321
    @celestybliss8321 2 ปีที่แล้ว +2

    Thank you very much ma'am, keep up the wonderful work!

  • @melguna2379
    @melguna2379 3 ปีที่แล้ว +1

    You are a fantastic teacher!

  • @thanioruvan4556
    @thanioruvan4556 4 ปีที่แล้ว +2

    Need = Max(i) - Alloc(i) , right?... Mam, you have said it rightly, but written in the board went wrong. (just commented for avoiding mistake for those who writes notes based on this video, the explanation is very good.)

  • @vigneshnvicky3501
    @vigneshnvicky3501 3 ปีที่แล้ว

    Ma'am ur explain is very nice.

  • @kchandu5815
    @kchandu5815 ปีที่แล้ว +1

    Medam meru bagunnaruu😍

  • @konakallajaswanth5232
    @konakallajaswanth5232 5 ปีที่แล้ว +1

    Mam like u only subject is very good🙂

  • @muhammadaiman2674
    @muhammadaiman2674 3 ปีที่แล้ว

    dr this video is a live saver

  • @AlamgirHossainCSE
    @AlamgirHossainCSE 3 ปีที่แล้ว

    Wonderful Description!!💕💕💕💕

  • @dineshhsharma2764
    @dineshhsharma2764 4 ปีที่แล้ว

    OOh my god your voice is soo melodious mam👌👌👌

  • @godbhaigod
    @godbhaigod 5 ปีที่แล้ว +9

    I am already in IIT Delhi. All these things i know. I watch your videos only for you.❤️❤️

    • @balathilagarkannaki4929
      @balathilagarkannaki4929 5 ปีที่แล้ว

      L

    • @shalini3306
      @shalini3306 5 ปีที่แล้ว

      😂😂😂😂😂😂

    • @prasuntiwari4291
      @prasuntiwari4291 5 ปีที่แล้ว

      Chamdi sala

    • @sommie4935
      @sommie4935 5 ปีที่แล้ว

      Tharki sala 🤣

    • @starc701
      @starc701 5 ปีที่แล้ว

      already kya bro cse me to pdhna he pdta hai ye..ye koi jee advance ki prep thodi hai

  • @FayazKhan-om6vi
    @FayazKhan-om6vi 2 ปีที่แล้ว

    😍😍😍 just love it..... great skills

  • @Bhargav1245-g7dc
    @Bhargav1245-g7dc 3 ปีที่แล้ว +1

    Mam I understood very much and I had solved on question I got correct answer thank very much mam

  • @martinluther5037
    @martinluther5037 5 ปีที่แล้ว +3

    Mam your explanations is very good.Kindly make videos in the following subjects i.e. COMPUTER NETWORKS, MATHS and AUTOMATA

  • @ranaalrabiah8344
    @ranaalrabiah8344 ปีที่แล้ว

    thank you you saved me so much time

  • @maheshvangala8472
    @maheshvangala8472 5 ปีที่แล้ว +1

    Thank you mam keep doing more and more videos and educating us

  • @ajaybirare1845
    @ajaybirare1845 5 ปีที่แล้ว

    Thanx mam your all lectures are understandebal for me

  • @harikagottumukkala9514
    @harikagottumukkala9514 5 ปีที่แล้ว +4

    Well explained..thank you mam.

  • @erkutziraman5732
    @erkutziraman5732 4 ปีที่แล้ว +1

    Thanks a lot , great explaination.

  • @ShamsurRehman-rt5sb
    @ShamsurRehman-rt5sb 4 ปีที่แล้ว

    Thanks mam its really very helpful
    Many many love from pakistan

  • @sendaljepit3788
    @sendaljepit3788 3 ปีที่แล้ว

    thank you so much you help a lot for my exam

  • @UDAY.1999
    @UDAY.1999 2 ปีที่แล้ว

    Excellent मैडम,आप पढ़ाते बहुत खतरनाक हैं और दिखते भी खतरनाक हैं।

  • @LEO-tj6kd
    @LEO-tj6kd ปีที่แล้ว +2

    Excellent work 😂

  • @priyankav6437
    @priyankav6437 4 ปีที่แล้ว +1

    Thank you so much ...understood well ♥️🔥

  • @jobinjose3917
    @jobinjose3917 4 ปีที่แล้ว +1

    thank you madam, your explanation was very clear

  • @KidNamedDenji
    @KidNamedDenji 2 ปีที่แล้ว

    Thank you maam. I understood it very well.

  • @panthuvilabinu4751
    @panthuvilabinu4751 2 ปีที่แล้ว

    U are the gift of god

  • @abhaychoudhary2319
    @abhaychoudhary2319 4 ปีที่แล้ว +5

    7:05 formula for need matrix max - allocation

    • @shashwat4299
      @shashwat4299 4 ปีที่แล้ว +1

      @A Abhay Choudhary thanks I was confuse but you helped me out to solve the problem

  • @saiabhinavkolli9375
    @saiabhinavkolli9375 3 ปีที่แล้ว

    Thanks to Jenny Lectures

  • @NishantSingh-yq5vo
    @NishantSingh-yq5vo 4 ปีที่แล้ว

    Thanks to you mam from the depth of my heart

  • @yogeshpawar134
    @yogeshpawar134 2 ปีที่แล้ว

    I wish my colleges teachers teaching like u

  • @ahsanali-ue1ip
    @ahsanali-ue1ip 4 ปีที่แล้ว

    I easily understood your lecture of bank algorithm

  • @proggenius2024
    @proggenius2024 ปีที่แล้ว

    just brilliant explanation!

  • @innocentbure4596
    @innocentbure4596 5 ปีที่แล้ว +1

    thanks very much made my life to be pretty easy Genius!!!!

  • @syithusoe2261
    @syithusoe2261 2 ปีที่แล้ว

    thank you. you are a life saver.

  • @AlfousseinyTraoré-p7b
    @AlfousseinyTraoré-p7b 2 หลายเดือนก่อน

    you're the best ❤

  • @abhishekvanenooru4959
    @abhishekvanenooru4959 5 หลายเดือนก่อน

    thanks akka , this is my 3rd attempt , wish me luck

  • @Harshu30mki
    @Harshu30mki ปีที่แล้ว

    The diifference btw teaching is very wide, this video is old like 4 year back its not only for jenny mam but also varun sir for gate smashers , the way they speak and specially when they were giving any example its hard to understand but now, they are one of the best teachers on youtube

  • @nojoodothmanal-ghamdi1026
    @nojoodothmanal-ghamdi1026 3 ปีที่แล้ว

    I cannot thank you enough really!

  • @zakariaalghamdi2454
    @zakariaalghamdi2454 3 ปีที่แล้ว

    Very well explained thank you very much

  • @nik3889
    @nik3889 ปีที่แล้ว +1

    if you can do correct in your first attampt of jenney mam qus , you get entire knowledge of the every type of qus

  • @sayanidas_7337
    @sayanidas_7337 4 ปีที่แล้ว

    mam , i always look up to you for new os videos .plz kindly add more videos

  • @painvalo
    @painvalo 7 หลายเดือนก่อน

    5y ago and still helpful

  • @cameracoverage3837
    @cameracoverage3837 3 ปีที่แล้ว +3

    I have a doubt
    You have calculated the amount of (Allocation) resources while the process after execution will release the amount of MAX resources.
    Example: you have 2 pen and you need 3 more so after shopping these pens if you don’t want any pen and you wanna release all these pens to someone else so in this case how many pens you will give to that person 2 or 5 ?????
    That is why I think you should calculate Available column with Max column.
    Wait for feedback !

  • @fathimarahuma4644
    @fathimarahuma4644 4 ปีที่แล้ว

    Thanx a lot... how you explain those things is grate
    Very easy to understand ❤❤❤

  • @Adi9022-p8f
    @Adi9022-p8f 2 ปีที่แล้ว

    Thank u jayanthi...