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??
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 😊😊😊😄
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!
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.
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 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.
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.💙
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..
"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."
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..
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
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 RUclips algorithm for recommending me your channel.......Preparing for gate 2021....Thanking you in advance
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.
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.
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?
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.
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 🙏)
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.
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💯
Sir, all I can say is there is no teacher I found on RUclips as good as you.
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..
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
I like your teaching skill.
You are one of the best teacher.
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
This man is saving million lives!!🥺
You are the no 1 educator on RUclips you make this topic so easy for me you are a MAGICIAN who can make anybody's mind in running 🏃 state.
I found your lectures more easy to understand than any others. You have such great elaboration skills.
Thank you Usman Warraich
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 😊😊😊😄
You made it really easy to understand difficult topics. Thanks a ton brother!
Sir aapne itne mushkil concept ko itna simple bana diya, kaash aap hamare OS ke teacher hote.
One of the greatest videos seen by me in RUclips...great,awesome effort sir...
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
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!
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 😊
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👀
Sir best explanation of round robin scheduling on RUclips . Really appreciate all your help .
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 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.
Me listening this a day before exams🌝
Same😂
Tension mat le engineer ha hum
Usss***
Me 30 min before bro 😂
Same here
U deserve National award for teaching hats off keep doing good things and thank you.
I love The Method and the way of Your explanation.
Nice Sir.
The way of your explanation is too easy to understand. Thank you soo much from the core of my heart.
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.
I don't usually go for the common gate lecture tutorials but this man made it sound so clear.
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.
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 👏👍
Finally i have understood this concept only cause of you😊.......
Yes
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.
Thank youu soooo muchh sir....you are very intellegent and smart😊
Your videos are the major and the only cause of my good grades. Thanks a lot! Keep doing
Thank you Sir...
your lectures help me a lot in both mid term and now in final terms.
Love from Pakistan
Sir,your lecture are excellent and you are champion of these subject
Great work sir.. No one explained me this like you did thanks a lot 🙏
Hum jab bhi round robin scheduling bhul jate hai to ye video akar dekh lete hai very easy explanation sir 🙏🥰
Congratulations Sir on 500K subscribers. Many mores to come
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.💙
You helped me a lot for my diploma exam through this playlist! Thank you 🙏🏻
I hv no word to explain ur teaching style. I am follow same strategy for my students in my college. Boom 💥
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.
Thank you for making this video
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, 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."
Kalyug ke Guru Dronacharya ❤
Woww sir..thank you🙏
Stay blessed👍
U r best ... Os is my favorite subject but I think I need lot of information about this.... N ur videos are best
15:28 At this point, who has remembered "Dora The Explorer"😅. Apart from this, this man helped a lot by making concepts easier. Thank You, Sir!
yess🤣🤣
This guy is very helpful for all of us ❤️❤️❤️❤️ such a. Great human 😁😁❤️❤️🙏🙏🙏🙏🙏
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 ❤️
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. ..
Context Switching works like Google form Autosave option.😁😁😁😁😁😁
thanku sir ....apne bht ache se explain kra....clg me smjh ni aaya pr apne smjhya qstn smjh aa gya
dil se thank you sir college me mujhe 25 of 25 mile and all credits goes to you....❤
Thankyou so much sir for this awesome lecture
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..
Best teacher on youtube for operating system
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?
Man your videos are love! You made preparing for my university's operating systems final exam so easy.
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
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
I watched this yesterday, and now I aced my exam.
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 RUclips algorithm for recommending me your channel.......Preparing for gate 2021....Thanking you in advance
Anyone from 2024 ?😂
Hehe I am from 2025
✋
👍🏻
1 12 2024
Time 1.17am
Date 1 12 2024
Time 1:18 am 😅😅😅
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.
Thanks for saving my examm
U explained everything perfectly 🤓 I really like this video👍🏻👍🏻
Love you Sir, I'm in love with you.
Awesome understanding...:) :*
Lots of Love and Blessings
Literally, no one explains the way you explain, sir.... every student can easily understand.. without any doubts ❤ great
Anyone in 2025 watching this 1 day before Exam ? 😂😂😂
2025 ayahi nei🙂
Mind blowing explanation ❤🎉
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.
Thank You Very Much Sir...main sjf, priority scheduling and round robin sabke sab samajh gaya
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.
I missed this lecture in class and I am glad I did your explanation is way way better :D.
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
Excellent teaching !! Ending the video with full clarity!!
You are awesome sir
best teacher ever
hats off
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.
Much helpful....
Mine first priority for any topic is Sir Varun Singla...Thank You Sir 🥰.....love from Pakistan🇵🇰🇵🇰
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
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!!
2 bje se ppr h bhai m abhi pdhra hu 😂
Toh comment karne mein time waste kyu kar Raha
Bhai pass ho gaya??
After listening your explanation all my doubts are cleared.
Thank you so much Bhaiya for sharing this video
Thank you
3:55 aha se dekho ( exam vale )😅
you rrr the best teacher ...thankuuu so much for explaniing such a difficult concept in easy details ..God bless uuu
Me listing one hour before exam 😅
😂
Tomorrow is my exam
Same as you....😂
Kuch humara haal bhi esa hi h 😢
Your way of teaching is very convenient and impressive 🔥❤️
Me listening this 20 mins befor the exam
Same