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 😊😊😊😄
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. 😇😇
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!
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 👏👍
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 ...
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.
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 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 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. ..
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..
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
"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."
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..
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 😊❤
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 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
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 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?
Alot of love from pak sir u r so Genous teachr today is my OS paper and i will solve paper easily and All credit goes to you.... Allah aap ko or tarkki dai or kamyaaab karee😍❤❤❤❤❤
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 UA-cam 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
I like your teaching skill.
You are one of the best teacher.
You are the no 1 educator on UA-cam you make this topic so easy for me you are a MAGICIAN who can make anybody's mind in running 🏃 state.
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..
One of the best explanation on CS subjects....Makes it so easy to understand in short amount of time..Keep up the Good Work..
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 😊😊😊😄
This man is saving million lives!!🥺
I found your lectures more easy to understand than any others. You have such great elaboration skills.
Thank you Usman Warraich
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. 😇😇
One of the greatest videos seen by me in UA-cam...great,awesome effort sir...
You made it really easy to understand difficult topics. Thanks a ton brother!
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
I don't usually go for the common gate lecture tutorials but this man made it sound so clear.
Thank you, after watching this video my all doubts are clear 😊
The way of your explanation is too easy to understand. Thank you soo much from the core of my heart.
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!
Sir aapne itne mushkil concept ko itna simple bana diya, kaash aap hamare OS ke teacher hote.
Sir best explanation of round robin scheduling on UA-cam . Really appreciate all your help .
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.
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
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 👏👍
Perfect and easy to understand! Thank you so much!
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💖
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 ...
U deserve National award for teaching hats off keep doing good things and thank you.
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👀
Your videos are the major and the only cause of my good grades. Thanks a lot! Keep doing
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
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.
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 hv no word to explain ur teaching style. I am follow same strategy for my students in my college. Boom 💥
Me listening this a day before exams🌝
Same😂
Tension mat le engineer ha hum
Usss***
Me 30 min before bro 😂
Same here
Woww sir..thank you🙏
Stay blessed👍
I love The Method and the way of Your explanation.
Nice Sir.
Thank you for making this video
Thank youu soooo muchh sir....you are very intellegent and smart😊
Excellent teaching !! Ending the video with full clarity!!
Congratulations Sir on 500K subscribers. Many mores to come
Hum jab bhi round robin scheduling bhul jate hai to ye video akar dekh lete hai very easy explanation sir 🙏🥰
This guy is very helpful for all of us ❤️❤️❤️❤️ such a. Great human 😁😁❤️❤️🙏🙏🙏🙏🙏
thanku sir ....apne bht ache se explain kra....clg me smjh ni aaya pr apne smjhya qstn smjh aa gya
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 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.💙
Finally i have understood this concept only cause of you😊.......
Yes
Much helpful....
Mine first priority for any topic is Sir Varun Singla...Thank You Sir 🥰.....love from Pakistan🇵🇰🇵🇰
Great work sir.. No one explained me this like you did thanks a lot 🙏
Best teacher on youtube for operating system
Kalyug ke Guru Dronacharya ❤
You would praised by all, by your hardwork👏
You helped me a lot for my diploma exam through this playlist! Thank you 🙏🏻
U explained everything perfectly 🤓 I really like this video👍🏻👍🏻
Thank you Sir...
your lectures help me a lot in both mid term and now in final terms.
Love from Pakistan
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. ..
Blessed to have u as our Professor in our University sir_ ur student ❤️
One of the easiest explanation🔥🔥🔥 i ever seen. You are great sir👍👍👍👍👍
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.
FINALLLYYYY THIS IS SOOOO BEUTIFULLY EXPLAINEDDDDDD THANKYOUUUUUUU
U r best ... Os is my favorite subject but I think I need lot of information about this.... N ur videos are best
Thankyou so much sir for this awesome lecture
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
Literally, no one explains the way you explain, sir.... every student can easily understand.. without any doubts ❤ great
Context Switching works like Google form Autosave option.😁😁😁😁😁😁
Best channel ♥️😊
dil se thank you sir college me mujhe 25 of 25 mile and all credits goes to you....❤
Sir,your lecture are excellent and you are champion of these subject
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?
Sir, your teaching is really good and speaking speed is perfect . Very easy to understand. Thanks sir! :D
Anyone in 2025 watching this 1 day before Exam ? 😂😂😂
2025 ayahi nei🙂
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.
"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."
Thanks for saving my examm
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
best teacher ever
hats off
Love you Sir, I'm in love with you.
Awesome understanding...:) :*
Lots of Love and Blessings
Thanku so much teacher for such a easy and clear explanation
Blessings ftom Pakistan ❤
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..
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 😊❤
You are awesome sir
Mind blowing explanation ❤🎉
Anyone from 2024 ?😂
Hehe I am from 2025
✋
👍🏻
1 12 2024
Time 1.17am
Date 1 12 2024
Time 1:18 am 😅😅😅
you rrr the best teacher ...thankuuu so much for explaniing such a difficult concept in easy details ..God bless uuu
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.
You are doing a Nobel work. Your explanation is too good..... Take love...❤❤❤❤
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.
Thank You Very Much Sir...main sjf, priority scheduling and round robin sabke sab samajh gaya
3:55 aha se dekho ( exam vale )😅
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
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.
you are my favorite teacher ever and forever.🙂🙂
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
Alot of love from pak sir u r so Genous teachr today is my OS paper and i will solve paper easily and All credit goes to you.... Allah aap ko or tarkki dai or kamyaaab karee😍❤❤❤❤❤
2 bje se ppr h bhai m abhi pdhra hu 😂
Toh comment karne mein time waste kyu kar Raha
Bhai pass ho gaya??