L-4.5: Deadlock Avoidance Banker's Algorithm with Example |With English Subtitles
ฝัง
- เผยแพร่เมื่อ 19 ก.ย. 2024
- 👉Subscribe to our new channel: / @varunainashots
Banker's algorithm is a deadlock avoidance algorithm. It is used in banking systems to determine whether a loan can be granted or not.
►Operating System (Complete Playlist):
• Operating System (Comp...
Other subject-wise playlist Links:
--------------------------------------------------------------------------------------------------------------------------------------
►Design and Analysis of algorithms (DAA):
• Design and Analysis of...
►Database Management System:
• DBMS (Database Managem...
► Theory of Computation
• TOC(Theory of Computat...
►Artificial Intelligence:
• Artificial Intelligenc...
►Computer Networks (Complete Playlist):
• Computer Networks (Com...
►Computer Architecture (Complete Playlist):
• Computer Organization ...
►Structured Query Language (SQL):
• Structured Query Langu...
►Discrete Mathematics:
• Discrete Mathematics
►Compiler Design:
• Compiler Design (Compl...
►Number System:
• Number system
►Cloud Computing & BIG Data:
• Cloud Computing & BIG ...
►Software Engineering:
• Software Engineering
►Data Structure:
• Data Structure
►Graph Theory:
• Graph Theory
►Programming in C:
• C Programming
►Digital Logic:
• Digital Logic (Complet...
---------------------------------------------------------------------------------------------------------------------------------------
Our social media Links:
► Subscribe to us on TH-cam: / gatesmashers
►Subscribe to our new channel: / @varunainashots
► Like our page on Facebook: / gatesmashers
► Follow us on Instagram: / gate.smashers
► Follow us on Instagram: / varunainashots
► Follow us on Telegram: t.me/gatesmash...
--------------------------------------------------------------------------------------------------------------------------------------
►For Any Query, Email us at: gatesmashers2018@gmail.com
►Be a Member & Give your Support on the below link: / @gatesmashers
#Deadlocks#OperatingSystem#GATE#UGCNET
I heard that Banker's Algorithm is very tough topic...
But if a teacher like VARUN SINGLA teaches us...then nothing can be tough❤️
Bhai vo topic hi tough nahi tha 😂😂
@@Haha1234-z7f exactly
@@izanagisburden9465 topic is tough
Same 😂
@@sharad7340 Bro addition and subtraction is tough to you? Although Varun sir makes every topic seem easy but this one was really not difficult
All the best for tomorrow's exams😅😅
Bro you predicted verry well🤣🤣
It's today
Yes tomorrow lol😂😂
Thanku so much
Muze laga exam pehale din me akela padai karata hu😂😂😂
Is saal ke gate mein itna lamba aur bhayanak question ayya tha resource allocation par, but meine yeh video badiya se dheek rakhi the.. bilkul nahi daara mein.. aur ek line mein solve kiya! Thanks a ton brother.. do din mein, mere barc ki exam hai, and i am all prepared and badiya confidence aa rakha hai, just cause of you. God bless you man.
I am struggling to resolve the questions like this..below
any help please?
Consider four resource types with the following profile in this system:
Resource
Type
Rank Number of
Instances
RT1 4 2
RT2 7 4
RT3 8 3
RT4 10 2
Let the following sequence of resource requests be processed by the system (note that
REQ(A, B, k) represents the request of k resources of type B by process A and
REL(A, B, k) represents process A releasing k resources of type B):
* REQ(P4, RT2, 3)
* REQ(P3, RT3, 2)
* REQ(P2, RT4, 1)
* REL(P4, RT2, 3)
* REQ(P4, RT1, 2)
* REL(P2, RT4, 1)
* REL(P3, RT3, 2)
* REQ(P3, RT2, 3)
* REQ(P2, RT3, 2)
* REQ(P1, RT4, 2)
Note that all of the above request and release operations can be processed without any
violation of the deadlock-prevention policy of the system.
For each of the following sequences of request/release operations, examine if it can or
cannot be processed without violating the deadlock-prevention scheme above. Can you
identify a sequence that is allowed by the scheme and consequently can be processed
without leading to system deadlock?
a) REL(P2, RT3, 2), REQ(P4, RT4, 2), REQ(P2, RT4, 2), REQ(P1, RT1, 2)
b) REL(P2, RT3, 2), REQ(P4, RT2, 2), REQ(P3, RT3, 2), REQ(P2, RT2, 3)
c) REQ(P2, RT4, 2), REL(P3, RT2, 3), REQ(P4, RT2, 2), REQ(P3, RT1, 2)
d) REQ(P4, RT2, 3), REL(P2, RT3, 2), REQ(P2, RT4, 2), REQ(P3, RT1, 2)
e) REQ(P3, RT3, 2), REL(P4, RT1, 2), REQ(P4, RT4, 2), REQ(P2, RT2, 3)
@@golluunlimited Is it a MCQ or there has to be only one correct sequence?
@@akankshashukla7484 yeah
So how was the barc exam? What would you like to say after three years?
🤣
after 5 years, it is still so understandable , and easily capture into our mind. This is real gold in term of education
Heyy Do you want my handwritten Operating system notes ?? I am selling it at a low price , I have covered many topics from sir's video only so maybe it will be helpful for you
price ?? @@mynameis.aditie
@@mynameis.aditieshutup ediot just earning money
Thanks for saving my semester :)
mine too bro😂
@@MukeshGates tum to elon musk hi,fail hote to bhi farkh nahi padata
@@sonianarendramodi2605 🤣🤣🤣🤣
@@sonianarendramodi2605 aur tum Narendra Modi ho Tumhe kaise koi fail karegi bhala
Mine too ...😅
I am watching your lectures every morning for the last 3-4 months for prep of GATE 2022 and what motivates me to get up early is solely your productive lectures!
My morning starts with you every day, Thank you so much!
you took so long completing this, don't you!
@@pawanchandrajoshi841 well, she never said that she was watching this playlist, but she said about watching his videos, and there are lot of his videos on this channel.
@@adityabhandari6688 I don't want to argue. Maybe I was wrong. Thanks 👍
Sir, You saved me. I watched most of your video from Operating system playlist just one day before my OS final exam and alhamdulillah it went amazingly well. All credit goes to you. Lot's of Dua for you....From Bangladesh.
I feel like giving all my collage fees to u sir !!! Such a clear a explaination u give for everything .....i wish I become a great teacher like you !!!
gpaY HIM
gpaY HIM
Gpay kar do fir
Bhai English seekhle pehle
Sir, you teach with such dedication and sincerity that I'm getting emotional. Engineering classes in uni make anyone lose hope for even graduating let alone becoming an engineer. You're a savior to many of us struggling undergrads. You're the awesomest, Ma Sha Allah !
Same lol. Our professors in college have no interest in teaching and don’t care about the students.
Our Professors be like : Life is a Race
Today i taken my sem exam i got this question for 14 marks i was literally feeling happy.
Thanks not enough to you sir. You really doing great for us......
Which type of ques
Yarr yeh allocation or max need ki values hmy di hn g? Paper mae
Chala andhamga unnav 🙂
You deserve to teach at top institutions in india sir . You are helping many students learn the subject i hope you reach great heights in life .
Thank you for your love and support..lots of 👼🙏❤
He is a teacher at Lovely Professional University. And believe he is the best teacher in LPU
@@harvendrasinghrathore2848 But i think he should teach in some IITs or NIT's and lpu stands no where in front of them.
@@amanbhadani8840 LPU must paying him big enough.....otherwise, he could have much better option....
I studied my all Operating System for your videos in just one week and now in the morning (27-7-2020) I have exams and I'm fully prepared for the exams. Thanks a lot, Sir, You have a computer mind and I am getting a lot of knowledge from your videos. Keep up the great work. Also, I watch your videos in 2X but still clear. No one has explained these terms in such an easy and clear way. So Billion-time thanks, Sir.
You are in ktu University?
Man! This guy explain concepts so smoothly and delivers in fantastic way. I'm your fan bro. You got a new subscriber here. Keep making awesome videos
Thank You Madhav
@@GateSmashers welcome😁
@@btechmadhav88 After 3 years you came back to reply😂
It's semester time 💀
Real
Jai Shree Ram ❤️🙏
Hahahaha yeah 😂
Best Explanation of Bakers algo i the TH-cam
I agree with bhajan
@@dewadattaa268 banker's
@@adarshsinghpawar lol
@@sonianarendramodi2605 Sonia and modi sath me rofl🤣
000 👍👍👍👍0 👍👍0 👍👍0 👍👍👍👍👍
All the best for today's exam
How do you know by the way thankyou
we are blessed to have teachers like you.
The Best explanation....my sir told the same topic for 5times even though i didn't understand..but ur explanation is simply superb and understandable...
Best explanation of banker algorithm on TH-cam
Thank you so much
Sir, we need more professors like you, if we get such professors then most of our studies is done in class itself
I am studying BCA, And i from Karnataka btw...... Its really helpfull from yur teachings for ma syllabus..... Aise he vedios banthe raho....
th-cam.com/video/mNCCSyNTcsE/w-d-xo.html
@@GurpreetKaur-gq6zw tumko koi kaam nhi bacha hai sab k comments me link daal rhi ho to
Love you sir... You are now my crush teacher... Handsome+ intelligent......... And excellent teaching skills
😂😂😂
Best explanation...
I learned it first time and I clearly comprehend it..
Thanks a lot for this.
Aapki wajah se ye subject bohot easy ho gya. Confidence aaraha hai, ki accha hi perform karungi. Thank you, sir.
May God bless you. 😊
Thank you for your valuable feedback... Thank u for the blessings...
@@GateSmashers 😊🤗
U R The best techer for Engineering online classes. Easy Understanding . Great efforts Sir, Tysm🤗🤗
You are really awesome teacher for computer hardware subjects your teaching style is very gracious .in youtube your content is diffrent
Used to be and still am very anxious during exams but with your help its so much easier to study and understand and also score . God bless you sir . Warm regards ❤️❤️
Got my exams tomorrow and the whole playlist has been played 😂😂❤
This guy explain concepts so clearly and easy manner. You got a new subscriber here.i just addicted to your videos and thank you soo much bro.
Thank you so much for this tutorial. I have a final today on my OS course and this video lecture literally saved my life.
Best wishes and hope to get more and more topics in the upcoming days.
all the best for Tomorrow exams 2023-24 aktu 😅
Thanks for taking so much effort in explaining this to me in simple,lucid terms.
End Semester Examination 2024💀
good luck bhai mine is 6 semmester
@@Ahmedshahwar-t5t but it's 4th sem concept
@@zero-ui1ewMine 2nd sem🥲
@@zero-ui1ew he must be doing some other course
2nd semester MCA 😂
The simplest and easy way to understand the banKer algorithms is just watching this video instantly.. Thank You Sir
Dear sir,
I watched your many video all are appreciatable, I am a IT instructor, whenever I feel problem on a topic then I used to watch ur tutorial.
You're indeed a saviour sir.... Thanks a ton for such a great video on Banker's Algorithm
Huge respect to you Brother. Highly appreciable content! Thanks
you always make even a complicated topic very easy to understand, which is impossible for our teachers to do.
I am so thankful that you are putting subtitles on your videos because it is helping me a lot because I am from Nepal and I do not understand a lot of Hindi but this subtitles are amazing thanks a lot Sir.
You are making videos for Gate exam but you don't how much time & effort you are saving of Bangladeshi CS students ☺️☺️ Thank you so much ❤️❤️
This video is a life saviour for those studying one night before exams! 👍🏻💯
You are so good at explaining things. Thanks a ton sir !
Man you are literally awesome....
Your teaching skill is at another level ...keep going
And yeah thanks for clearing my doubt which I found in this vedio
Glad to hear that
excellent explaination
fantastic way of explaining sir. Thanks alot
Wow, what an explaination! Your efforts can be seen in this video! Your concepts are just so perfect regarding this topic! Best video of all-under this topic! Salute sir! 😊
All are here for 😂 tomorrow's exam..#.OS
Mera parso h exam
No only quiz 💀
Me😂
😂
I m watching this from exam hall 💀💀
Wtf💀💀💀
😂😂
Legend 😮
2 hours of lectures in college covering just 2 points whereas 20-25 mins of lecture by you covering much more than 2 points and still, those 2 hours of college lectures are not even close to the content and quality that you deliver!! Thank you sirr!!! This is the first time I completed two chapters on one day (normally that happens when there's an exam the next day but never on normal days). Thankss!!!!!!
I Support You Sir By Watching Full Advertisement.
Thankyou
So nice of you...Thank you
No it's not like that. you have to click the ad
The best teacher one can have ---- One and only Varun 🙌🏻🔥❤
You just earned yourself a subscriber! Thank you!
love from fiji .. your teaching skills are amazing
sir you are teaching skills are wow!!!!!
Simple & Brilliant explanation of Deadlock & Banker Algorithm.
Perfect explaination of BANKER'S ALGORITHM.. thankyou !
Isko bolte hain teacher! Ek version english me bhi daal de bhai, international audience bhi milega. Best video.
bhai u r doing a great job by explaining each part in a very well precise manner.
Thank You..Keep sharing and learning
Best teacher ever for operating system
happy teachers day sir...
these videos are too good and tbh youve been an amazing teacher and will continue to be for years to come
keep it up
Thanks for such a simplified way of teaching us.....it helps me alot to understand banker's algorithm ☺
Sir you and mam are great teacher ever and the best part of this channel tha we can watch video on 2x then too we understand each and every thing properly...
You even don't know how many life's you both have saved and make them feel confident in exam
I just hope u both never stop doing this
Just one request make a complete playlist on 8085 microprocessor and 8051 microcontroller so I can understand easily
I am getting KT(means re exam ) in same paper again and again
Please accept my request 🙏🥺 asap
I am in so last moment that I am literally watching this at 2x speed. But, then too i understood each and every point and logic. Thank you sir!!!!🔥🔥🔥🔥🔥🔥🔥
Best explanation of this algorithm and easy to understand
You are my life saver sir! Your explanations are up to mark and easy... Thank you so much sir💓
You teach more confidently in HINDI than English.
Kyoo apko hindi nahi aati kyaa..itna achha explain kar rahe hai
@@kamathprajna Lgta h aapko English nhi aati
@@nou4696 l may know English or may not..but I respect and love hindi ❤️
Love from pakistan. You are best , you are life saver since my Bs. And now I’m doing Ms. Thank you for saving life
Bhot acha concept Diya hai sir ap ne, subah paper hai Mera. Allah bless u🙂😊😊
one of the most confusing algos explained in the most easiest way possible ! Hats off
Very Helpful video..Thank you very match sir
Sir literally concept seems too easy after watching your video! Not only this video, all the concepts are well explained in each and every video! Thank you so much!
Best of luck for the exam that is starting in 30 minutes.
The concept explanation are so smooth...i am able to understand the concept better...you are a life saver sir...thanks a lot for this video...😍😊
Awesome Way of Teaching !! Thanq So much Sir ❤️✨
My favorite Teacher in OS Course
I have one doubt can u clear plzzzz
*NEXT LEVEL TEACHING METHODS😇🙏🏻🤗🔥🔥🔥🔥THANK YOU SO MUCH SIR🤗🤗ONE FACT:BANKER'S ALGORITHM K ABHI TAK 2 QUESTION HI BANE HEIN😄😄😄SABSE COMPLICATED🔥🔥🔥LOTS OF ♥♥♥FROM GUJRAT☺*
The best teacher I have ever learnt.. but Please off showing the words on screen... We can't see the board properly..
Sir please make more videos covering all the topics of CSE. These videos are helping me a lot in my semester exams, and hope that it will help in gate 2021 too.
did you crack gate exam?
You are osm sir 🙏kitna easily ap apna baat dusron tk pauchate ho... Hai bht complex but apka tarika bht perfect
Who are watching 1 day before of exam
One day before exam ❌️. *on the day of the exam✅️
One day before exam. ❌️. *On the day of exam ✅️
Thankyou very much for making it easy peasy.
Thank You for the Test Sir, I'm in the First Year of my Masters in Software Engineering
Love
Wow...!!! You have explained the whole concept in a very simple steps sir....👍🙏👍
Amazing lecture !
sir you are the one of the best teacher i have ever seen in my life...
Professors really should watch these videos before they teach a topic.
Wah bhut achhe se smjhaye ho ap..🙏🙏good explanation 😎
You are so amazing guy! Your teaching quality are outstanding🥰🥰🥰
Keep continue
Excellently Explained Sir...
good luck for tomorrow's exam lol
How did you guess 😂
Shukriya...🌚
Thank You so much sir!! kal exam hai aur aaj sara clear hogaya. God bless you!!
Thank you Sir....Please come to our university and tell the teachers k aaise parhaty hain bachoon ko..you are absolutely brilliant and Ma'am from Jenny's lecture you both are my favourite..thanks fail hony sy bachaya ha pichly semester now i am here for some concepts which i lost..❤❤💕💕
Love your way to explaination ☺️you made it very interesting
bro you made my exam better love your explaination.... Love from Pakistan
awwe this guy is amazing.. thanks brother..
Thank you sir for making this topic easier🤩👍
Sir your videos are so helpful for us ....and no one can explains like uhh .......your teaching method made all taught concept convert in easy and life time remembering concept
whenever i want to study something at last moment i refer this channel. thank you soo much for saving my ass in sem ends.
Thanks sir its cleary understandable how you teach
Love from Pakistan plz make more and more best lecture on that channel
This**
Such a great explanation. Thanks a lot . You are like Angel for me in this online teaching.