Round Robin is like PaniPuri wala giving Puri to everyone standing there one by one And FCFS is like ticket counter , you came first so you can buy ticket first , And SJF is like grocery store kaam saman waley list ko pehle de deta hai
If time qua. Is one then ??? In my problem... Process BT AT P1. 3 1 P2. 2 2 P3. 5 0 ................................. But time quantum is 1... The with this method... Start of runnable queue is P3.... P1....P3....P2..... .... And Real Answer runnable queue is P3....P1....P2...P3...P1...P2....P3... ... Please help sir??
Huge respect from Pakistan ... What an easy way of touching the grassroot level of students ... I am 6.5 years experienced SE and now em getting clear my concepts ... I wish we could have university teachers like you ...
A huge and heartfelt thank you for teaching so well!! It's crystal clear and student-friendly! You've cleared all possible doubts before we could ask them! Thank you again! Allaah aapko khush rakhe, buhut taraqqi dey! Ameen!
When mine college sir taught this alogrithm i was confused very badly but when i watched this video this algorithm was very well explained and i have no doubts at all thank you varun sir for well explaining this algorithm 😊😊😊😄
Thank you so much Sir, after watching many videos of RR, I found ur vdeo the best one to explain it!! Cant deny, ur way of teaching n explaining is awesome Sir in every vdeos. 😇😇
Thanks a million for making me understand this concept in a beautiful way...I was having a lot of confusion in this topic but now I can do it very well in my NET exam without any confusion. Thanks a gazillion .Best teacher ever.
Thank You is not enough. Subhe uthke sabse pehle bhawan ko aur fir aapko thankyou karti hu bas........dinn achha jata h.always always gratitude towards you bhaiya.
Amazing explanation for Round Robin Algorithm this type of explanation I dont saw even in colleges too....!!! First time I come to Know that To maintain two gantt charts 😊 superb 👏👍
"Sir, thank you so much for such an insightful lecture today. The way you explained Round Robin Scheduling Algorithm really made it much clearer and easier to understand. Your teaching style always inspires me to learn more deeply."
Mindblowing explanation, I have not seen anyone yet explaining the concepts in such very easy,understoodable&in detailed way;much much better than Ravindrababu Ravula in terms of teaching concepts!provide complete Gate CS course asap,it will be of great help for Gate aspirants!Thanks..
Not just one of the best explanation for this subject....indeed it is the best explanation ever i have watched on this topic.....Thanks to you sir and TH-cam algorithm for recommending me your channel.......Preparing for gate 2021....Thanking you in advance
I am from bangladesh. But I love and respect your teaching skills soo much. I just literally watch and understand so easily! !!!!!!! Respect on you.. really. ..You are really amazing skills of teaching. ..
Great Video Sir, but I think Context switches are actually = 3, as P3's burst time is = Time quantum = 2, and P4 also gets completed in only it's first time quantum(so it doesn't get saved after), also we don't save P2 after we execute the 2nd time because it gets completed.
I don't think so Utsav. If there is expiry of Time quantum, it's called preemptive context switch. If the current process terminates, it's called non - preemptive context switch. Thus, both are considered as context switch..
I had purchased a paid course for OS, but had to see his video for clear understanding. His efforts are clearly seen in his video as he makes every difficult concept simple to understand. I recommend watch his videos rather than going for any paid courses.
Thank you so much sir for your lucid classes, i dont attend my online classes now, just after seeing your tutorial the concept gets Crystal Clear.No need to watch any 2nd video on the topics that you teach.💙
thank you so much dear i got understand for this algorithm for the first time after a very much hardwork on it and you make it so easy to understand that i really wish you GOOD LUCK awesome mindblowing thank you so much
Great video sir .. ❤ But i think the number of context switching is *4* not 5. Because we didn't save _p3 state_ , coz p3's brust time is 2 so it's terminate there.
Context switches are actually 3, because P4 also gets completed in only it's first time quantum, and we don't save P2 after we execute the 2nd time because it gets completed.
The best thing about You and Your class is - bate kam kaam Jada... Like other you tube channel no unnecessary shouting no unnecessary speaking.... talking only about topic saving lot of time 👏😊 Small video with great Knowledge
Thank you so much. I understood really really well. However I have this question. The p4 here, it was done at 9, and then CPU executed p2. If p4 is completed and then CPU switched to p2, is it still context switching?
Context switches are actually = 3, as P3's burst time is = Time quantum = 2, and P4 also gets completed in only it's first time quantum, also we don't save P2 after we execute the 2nd time because it gets completed.
P3 and p4 never got context switched we brought it in the ready queue based on their arrival time, hence it is only there one time and gets completed when it enters the running queue.
Thank you sir for give me knowledge of An Operation System... I am studying in Diploma IT Enginnering in Sem 3. This content is more useful for me. Thank you so much sir
Sir muje video pasand aya exam hey muje end time me ek baar video dekha or muje turant yaad rah gaya mind me meri exam hey aj Unix ka papar hey so thank you so much sir for this amezing video 😊❤
BUt after p3 shouldn't we run p4 before p1 because p4 has just arrived at time interval 4 ?? ( That is how our teacher has taught us, so please clear this sir 🙏)
This person is so dedicated that even the lines on the board are drawn using a ruler. Thanks a lot for providing such nice content. Respect 🙏🏻
Round Robin is like PaniPuri wala giving Puri to everyone standing there one by one
And FCFS is like ticket counter , you came first so you can buy ticket first ,
And SJF is like grocery store kaam saman waley list ko pehle de deta hai
So good yr
Wahh what a real life examples ......op 🔥🔥
nice brother
Perfect bro..
Best for last minute studies 😃😃
I don't usually go for the common gate lecture tutorials but this man made it sound so clear. I wish he was my operating system teacher😁
Thanks..Bless u
Your explantion about round robin is remarkable ....indeed u are best one thku for best explanation😊😊
Same I wish
@gate smashersir can we get ljf problem video please
But He is in my college, but it's our bad luck that he didn't teach in our section.
This video deserves a million views and your channel deserves a million subs too💯
After watching a lot of videos on Round Robin, I found that your explanation is better than others. Thank you.
same thank u so much
mere sath bhi bhai
Same
If time qua. Is one then ???
In my problem...
Process BT AT
P1. 3 1
P2. 2 2
P3. 5 0
.................................
But time quantum is 1... The with this method... Start of runnable queue is
P3.... P1....P3....P2.....
....
And
Real Answer runnable queue is
P3....P1....P2...P3...P1...P2....P3...
...
Please help sir??
@@trainlikeafighter9056 yup . if we apply this method then the answer would be wrong. Did u find the right answer
Sir, I found you like a bright light at the end of a dark tunnel! THANK YOU SO MUCH! ALLAAH BUHUT KHUSH RAKHE AAPKO HAMESHAA! Aameen!
Thank you so much for blessing..
Sir, all I can say is there is no teacher I found on TH-cam as good as you.
One of the best explanation on CS subjects....Makes it so easy to understand in short amount of time..Keep up the Good Work..
i don't know why people are disliking this video. This man is teaching in very easy and efficient manner...Hats off to u sir!!!!
All the dislikes came from the university professors
I found your lectures more easy to understand than any others. You have such great elaboration skills.
Thank you Usman Warraich
I like your teaching skill.
You are one of the best teacher.
One of the greatest videos seen by me in TH-cam...great,awesome effort sir...
You made it really easy to understand difficult topics. Thanks a ton brother!
I'm preparing for placements and your lectures are helping me a lot. Thank you for making these lectures!!
Tell me also brother how I prepared🙏
@@nishantdiaries3697 you can also refer Love Babbar's video on final year roadmap for placements
Ager arrival time same ho p1 &p2 ma to to phly konsa process consider karain gy???? Kindly guide
@@nimraaziz6850 p1
Where u placed👀
This man is saving million lives!!🥺
I don't speak hindi, but this made a lot more sense than any other English video :)
Caption are there 🙂
@@vinayaksharma7134 4 yrs ago there was no auto caption
@@Diddy-f7d oh yayaya🙂
@@Diddy-f7d 🙂☠️
Where are you from
Huge respect from Pakistan ... What an easy way of touching the grassroot level of students ... I am 6.5 years experienced SE and now em getting clear my concepts ... I wish we could have university teachers like you ...
You are the no 1 educator on TH-cam you make this topic so easy for me you are a MAGICIAN who can make anybody's mind in running 🏃 state.
Such an amazing explanation! I have an online presentation tomorrow for this topic and this just helped me so much! Thank you so much Sir.
A huge and heartfelt thank you for teaching so well!! It's crystal clear and student-friendly! You've cleared all possible doubts before we could ask them! Thank you again! Allaah aapko khush rakhe, buhut taraqqi dey! Ameen!
so muccch better explaination than a professor...u are capable to teach in a university than any other proffessor in our university hats off to u sir
First teacher who really undersrands students, accept them as learners and our basic obvious doubts..Thankyou sir
When mine college sir taught this alogrithm i was confused very badly but when i watched this video this algorithm was very well explained and i have no doubts at all thank you varun sir for well explaining this algorithm 😊😊😊😄
Sir best explanation of round robin scheduling on TH-cam . Really appreciate all your help .
Thank you so much Sir, after watching many videos of RR, I found ur vdeo the best one to explain it!! Cant deny, ur way of teaching n explaining is awesome Sir in every vdeos. 😇😇
Thank you, after watching this video my all doubts are clear 😊
Sir you taught the main part so smoothly that it appeared to be quite easy from the beginning.I just loved your video.Thank you💖
Perfect and easy to understand! Thank you so much!
The way of your explanation is too easy to understand. Thank you soo much from the core of my heart.
I love The Method and the way of Your explanation.
Nice Sir.
Your videos are the major and the only cause of my good grades. Thanks a lot! Keep doing
Thanks a million for making me understand this concept in a beautiful way...I was having a lot of confusion in this topic but now I can do it very well in my NET exam without any confusion.
Thanks a gazillion .Best teacher ever.
Thank You is not enough. Subhe uthke sabse pehle bhawan ko aur fir aapko thankyou karti hu bas........dinn achha jata h.always always gratitude towards you bhaiya.
Kalyug ke Guru Dronacharya ❤
U deserve National award for teaching hats off keep doing good things and thank you.
Finally i have understood this concept only cause of you😊.......
Yes
Sir aapne itne mushkil concept ko itna simple bana diya, kaash aap hamare OS ke teacher hote.
Thank you Sir...
your lectures help me a lot in both mid term and now in final terms.
Love from Pakistan
The way you teach anyone could possibly clear GATE without stress. 🤝🙇 Thankful that I have access to watch this kind of tutorials of your's for free.
Congratulations Sir on 500K subscribers. Many mores to come
Amazing explanation for Round Robin Algorithm this type of explanation I dont saw even in colleges too....!!! First time I come to Know that To maintain two gantt charts 😊 superb 👏👍
Thank youu soooo muchh sir....you are very intellegent and smart😊
"Sir, thank you so much for such an insightful lecture today. The way you explained Round Robin Scheduling Algorithm really made it much clearer and easier to understand. Your teaching style always inspires me to learn more deeply."
Mindblowing explanation, I have not seen anyone yet explaining the concepts in such very easy,understoodable&in detailed way;much much better than Ravindrababu Ravula in terms of teaching concepts!provide complete Gate CS course asap,it will be of great help for Gate aspirants!Thanks..
Thank You so much for your love and support..
@@GateSmashers super
Sir, your teaching is really good and speaking speed is perfect . Very easy to understand. Thanks sir! :D
Blessed to have u as our Professor in our University sir_ ur student ❤️
Literally, no one explains the way you explain, sir.... every student can easily understand.. without any doubts ❤ great
Sir I loved this video of yours. This was completely awesome. Thanks for helping students like us in times of need. :D
Thank you so much for your love and support. Bless you.
I don't usually go for the common gate lecture tutorials but this man made it sound so clear.
You helped me a lot for my diploma exam through this playlist! Thank you 🙏🏻
Best teacher on youtube for operating system
Great work sir.. No one explained me this like you did thanks a lot 🙏
Not just one of the best explanation for this subject....indeed it is the best explanation ever i have watched on this topic.....Thanks to you sir and TH-cam algorithm for recommending me your channel.......Preparing for gate 2021....Thanking you in advance
U r best ... Os is my favorite subject but I think I need lot of information about this.... N ur videos are best
Sir,your lecture are excellent and you are champion of these subject
This guy is very helpful for all of us ❤️❤️❤️❤️ such a. Great human 😁😁❤️❤️🙏🙏🙏🙏🙏
FINALLLYYYY THIS IS SOOOO BEUTIFULLY EXPLAINEDDDDDD THANKYOUUUUUUU
Me listening this a day before exams🌝
Same😂
Tension mat le engineer ha hum
Usss***
Me 30 min before bro 😂
Same here
I am from bangladesh. But I love and respect your teaching skills soo much. I just literally watch and understand so easily! !!!!!!! Respect on you.. really. ..You are really amazing skills of teaching. ..
dil se thank you sir college me mujhe 25 of 25 mile and all credits goes to you....❤
Man your videos are love! You made preparing for my university's operating systems final exam so easy.
Great Video Sir, but I think Context switches are actually = 3, as P3's burst time is = Time quantum = 2, and P4 also gets completed in only it's first time quantum(so it doesn't get saved after), also we don't save P2 after we execute the 2nd time because it gets completed.
yeah i thought the same
I was looking for this only
👍🙂
Exactly.
I don't think so Utsav. If there is expiry of Time quantum, it's called preemptive context switch. If the current process terminates, it's called non - preemptive context switch. Thus, both are considered as context switch..
I hv no word to explain ur teaching style. I am follow same strategy for my students in my college. Boom 💥
Context Switching works like Google form Autosave option.😁😁😁😁😁😁
I had purchased a paid course for OS, but had to see his video for clear understanding. His efforts are clearly seen in his video as he makes every difficult concept simple to understand. I recommend watch his videos rather than going for any paid courses.
Say to yourself first!!
Anyone from 2024 ?😂
Hehe I am from 2025
✋
👍🏻
1 12 2024
Time 1.17am
Date 1 12 2024
Time 1:18 am 😅😅😅
Thank you so much sir for your lucid classes, i dont attend my online classes now, just after seeing your tutorial the concept gets Crystal Clear.No need to watch any 2nd video on the topics that you teach.💙
I have my interview tomorrow , wish me luck🙂
Did you get your job?
@@appu4892😢
😮
What's the Result? Selected??
Then what are u doing here it it coming in your interview?
The best Teacher For OS i have ever came across and also For DSA problems. Keep Up The Good work sir. Your teaching technique is just amazing.
I watched this yesterday, and now I aced my exam.
thank you so much dear i got understand for this algorithm for the first time after a very much hardwork on it and you make it so easy to understand that i really wish you GOOD LUCK awesome mindblowing thank you so much
Thanks for saving my examm
thanku sir ....apne bht ache se explain kra....clg me smjh ni aaya pr apne smjhya qstn smjh aa gya
Love you Sir, I'm in love with you.
Awesome understanding...:) :*
Lots of Love and Blessings
After listening your explanation all my doubts are cleared.
Thank you so much Bhaiya for sharing this video
Thank you
Great video sir .. ❤
But i think the number of context switching is *4* not 5. Because we didn't save _p3 state_ , coz p3's brust time is 2 so it's terminate there.
Context switches are actually 3, because P4 also gets completed in only it's first time quantum, and we don't save P2 after we execute the 2nd time because it gets completed.
The best thing about You and Your class is - bate kam kaam Jada... Like other you tube channel no unnecessary shouting no unnecessary speaking.... talking only about topic saving lot of time 👏😊
Small video with great Knowledge
16:00 agar koi process wahi par running queue me terminated ho gaye hai to usko thodi save karenge
so wo context switch kaise hua
Same question
Thnx sir g
Ap k method boht zyada acha he
Ap k Lectures se hmari all class ko boht benefit hua
Allah pak apko or bulndyon tk pohnchaye🇵🇰
Thank you so much. I understood really really well.
However I have this question. The p4 here, it was done at 9, and then CPU executed p2. If p4 is completed and then CPU switched to p2, is it still context switching?
did you find answer ?
yes, i think cuz it still loads the context of the process p2
@@tamimeechishty3244 Did you?
@@saurabhsingh8312 nope
best teacher ever
hats off
When we count the no. of context switches, do we also count where a process gets terminated and a new one comes in (like P1 after P3)?
I was searching for this question in comment section . Did u got ur answer ??
Even I have same doubt....can you plz share the answer if you have got your query solved
Yes, we do count them. It just means that CPU is switching from one process to another(whether preemption or termination)
i also have a same doubt....if somebody knows about it , then please clarify...btw i love the way you teach sir❤❤
Context switches are actually = 3, as P3's burst time is = Time quantum = 2, and P4 also gets completed in only it's first time quantum, also we don't save P2 after we execute the 2nd time because it gets completed.
You would praised by all, by your hardwork👏
Anyone in 2025 watching this 1 day before Exam ? 😂😂😂
2025 ayahi nei🙂
you rrr the best teacher ...thankuuu so much for explaniing such a difficult concept in easy details ..God bless uuu
You are awesome sir
U explained everything perfectly 🤓 I really like this video👍🏻👍🏻
Sir how P3 process gets context switched, it gets terminated there.
Very nice explanation Varun Sir, just please clarify the above point and also similar kind of case was with P4
Exactly how P3 and P4 context switched?
P3 and p4 never got context switched we brought it in the ready queue based on their arrival time, hence it is only there one time and gets completed when it enters the running queue.
Thank you sir for give me knowledge of An Operation System...
I am studying in Diploma IT Enginnering in Sem 3.
This content is more useful for me.
Thank you so much sir
2 bje se ppr h bhai m abhi pdhra hu 😂
Toh comment karne mein time waste kyu kar Raha
Bhai pass ho gaya??
Much helpful....
Mine first priority for any topic is Sir Varun Singla...Thank You Sir 🥰.....love from Pakistan🇵🇰🇵🇰
3:55 aha se dekho ( exam vale )😅
I missed this lecture in class and I am glad I did your explanation is way way better :D.
Me listening this 20 mins befor the exam
Same
Sir muje video pasand aya exam hey muje end time me ek baar video dekha or muje turant yaad rah gaya mind me meri exam hey aj Unix ka papar hey so thank you so much sir for this amezing video 😊❤
Me listing one hour before exam 😅
😂
Tomorrow is my exam
Same as you....😂
Kuch humara haal bhi esa hi h 😢
Seriously this guy is the best OS teacher in the whole country
BUt after p3 shouldn't we run p4 before p1 because p4 has just arrived at time interval 4 ?? ( That is how our teacher has taught us, so please clear this sir 🙏)
same question i think he did it wrong
Pr bhai shayad wo P1 remaining tha to usko P4 ke ready queue mai aane se pehle hi last mai laga diya tha
No bro , during 2 seconds p2 and p3 is added into the queue but since p1 is not completed it is added and then as p2 starts processing p4 is added .
@@AK-xg5bh he is right bro
@@darshanv8345 Yea , Thank you
You are doing a Nobel work. Your explanation is too good..... Take love...❤❤❤❤
December 2, 2024