L-4.5: Deadlock Avoidance Banker's Algorithm with Example |With English Subtitles
Вставка
- Опубліковано 10 бер 2018
- 👉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 UA-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/gatesmashersofficial
--------------------------------------------------------------------------------------------------------------------------------------
►For Any Query, Email us at: gatesmashers2018@gmail.com
►Be a Member & Give your Support on the below link: / @gatesmashers
#Deadlocks#OperatingSystem#GATE#UGCNET
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😂😂😂
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
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 😂
It's semester time 💀
Real
Jai Shree Ram ❤️🙏
Hahahaha yeah 😂
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?
🤣
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 ...😅
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
All the best for today's exam
How do you know by the way thankyou
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 m watching this from exam hall 💀💀
Wtf💀💀💀
😂😂
Legend 😮
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 👍
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
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 UA-cam
Thank you so much
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
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.
we are blessed to have teachers like you.
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😂
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 🙂
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?
Thanks for taking so much effort in explaining this to me in simple,lucid terms.
Best Explanation of Bakers algo i the UA-cam
I agree with bhajan
@@dewadattaa268 banker's
@@adarshsinghpawar lol
@@sonianarendramodi2605 Sonia and modi sath me rofl🤣
000 👍👍👍👍0 👍👍0 👍👍0 👍👍👍👍👍
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.
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! 😊
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.
Best of luck for the exam that is starting in 30 minutes.
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....
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 ✅️
You are so good at explaining things. Thanks a ton sir !
Huge respect to you Brother. Highly appreciable content! Thanks
You just earned yourself a subscriber! Thank you!
The simplest and easy way to understand the banKer algorithms is just watching this video instantly.. Thank You Sir
You are really awesome teacher for computer hardware subjects your teaching style is very gracious .in youtube your content is diffrent
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
you always make even a complicated topic very easy to understand, which is impossible for our teachers to do.
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 😂😂❤
U R The best techer for Engineering online classes. Easy Understanding . Great efforts Sir, Tysm🤗🤗
Best explanation of this algorithm and easy to understand
This video is a life saviour for those studying one night before exams! 👍🏻💯
Always ur explanation makes clear all the minor doubts. So I feel confidently. Thank u so much.
Thanks for such a simplified way of teaching us.....it helps me alot to understand banker's algorithm ☺
no one can explain bankers algorithm better than this. best explanation.
You are my life saver sir! Your explanations are up to mark and easy... Thank you so much sir💓
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 😊🤗
fantastic way of explaining sir. Thanks alot
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.
Very Helpful video..Thank you very match sir
you made me understand this so well! thank you so much!
excellent explaination
You're indeed a saviour sir.... Thanks a ton for such a great video on Banker's Algorithm
I am studying BCA, And i from Karnataka btw...... Its really helpfull from yur teachings for ma syllabus..... Aise he vedios banthe raho....
ua-cam.com/video/mNCCSyNTcsE/v-deo.html
@@GurpreetKaur-gq6zw tumko koi kaam nhi bacha hai sab k comments me link daal rhi ho to
Such a great explanation. Thanks a lot . You are like Angel for me in this online teaching.
I am saying from my heart! You helped me alot❤️
Simplest wayy to understand this algorithm
Thnxu so much sirr
good luck for tomorrow's exam lol
How did you guess 😂
Shukriya...🌚
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!
Seriously I appreciate the way you’ve explained 👏
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 ❤️❤️
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!!!!🔥🔥🔥🔥🔥🔥🔥
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...😍😊
You're a life saver mate ! Even after 3 years later you still Savin life's
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
Awesome Way of Teaching !! Thanq So much Sir ❤️✨
Completed OS completely from gate smashers & specially teaching your gate's example hatts of to you & cover all the imps is amazing 🔥🙌TQ so much 🙏🙏
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.
Perfect explaination of BANKER'S ALGORITHM.. thankyou !
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
Wow...!!! You have explained the whole concept in a very simple steps sir....👍🙏👍
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
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
whenever i want to study something at last moment i refer this channel. thank you soo much for saving my ass in sem ends.
love from fiji .. your teaching skills are amazing
I didn't watch a single video of your channel. But I am now watching this video. You just got a new fan ❤️. Thank you. 😌
sir you are teaching skills are wow!!!!!
Amazing lecture !
Super clear explanation of concepts! Sir, thank you from the bottom of our hearts for helping millions of students understand the subject. ❤🙏
Love your way to explaination ☺️you made it very interesting
Thank you sir for making this topic easier🤩👍
bhai u r doing a great job by explaining each part in a very well precise manner.
Thank You..Keep sharing and learning
Wow! Thank you sir! This video really helped me learning the Banker's Algo concept.
The best teacher one can have ---- One and only Varun 🙌🏻🔥❤
Thank u so much sir... Best explaination🙏😍
Dude You are perfecto!! Thanks Man!!
sir you are the one of the best teacher i have ever seen in my life...
Bhot acha concept Diya hai sir ap ne, subah paper hai Mera. Allah bless u🙂😊😊
Thank You for the Test Sir, I'm in the First Year of my Masters in Software Engineering
Love
Helped a lot Sir!
Thank You so much!
Take a bow sir. Explaining concepts is a tough job. And you're indeed a benchmark in the process.
You are so amazing guy! Your teaching quality are outstanding🥰🥰🥰
Keep continue
You have taught very well then Please Explain Deadlock Detection Algorithm
thanku so much sir your teaching skills is really good, May god bless you :)
*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☺*
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?
your explanation method is very is to understood the all the concept. A big thanks for u...wid the help of this i will track my get as well as semester...once again thanks allote and...
Sir thanks a lot
This video cleared my all doubts...
simply great. saved my sessional. :*
ua-cam.com/video/mNCCSyNTcsE/v-deo.html
So Incredible 🥺❤️
awwe this guy is amazing.. thanks brother..
13:02,18:45 I watched so many other vidoes and didn't get clear explanation for this. Only you mentioned it clearly... Even though I don't know hindi without on the subtitle I managed to understand well.
Thank You