Round Robin Scheduling - Solved Problem (Part 1)

  Рет қаралды 395,573

Neso Academy

Neso Academy

Күн бұрын

Operating System: Solved Question on Round Robin Scheduling Algorithm in OS
Topics discussed:
1) Formation of Gantt Chart for Round Robin Scheduling Problems when Arrival Times are given.
Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
Follow me on Instagram: @jaiz_itech (bit.ly/2M3xyOa)
Contribute: www.nesoacademy.org/donate
Memberships: bit.ly/2U7YSPI
Books: www.nesoacademy.org/recommende...
Website ► www.nesoacademy.org/
Forum ► forum.nesoacademy.org/
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#OperatingSystemByNeso #OperatingSystem #RoundRobinScheduling #SchedulingAlgorithms #os

Пікірлер: 81
@personaliTia
@personaliTia 4 жыл бұрын
I'm at video 51 of the Operating Systems playlist and I just have to stop and say how grateful I am for this. This man does not miss a beat in his explanations. THANK YOU !!!
@jayachandra677
@jayachandra677 3 жыл бұрын
Everything is so hard until you find a video by Neso Academy. Thanks a lot!
@preciousliseli
@preciousliseli 3 жыл бұрын
Honestly!!!👏🏻😂🔥
@AvikNayak_
@AvikNayak_ 2 жыл бұрын
Everything becomes hard because of professor's poor explanation.
@anshumansharma2251
@anshumansharma2251 2 жыл бұрын
@@AvikNayak_ i always wonder how can they became professors?
@trywellwashington7506
@trywellwashington7506 4 жыл бұрын
6:25 tricky part: a pre-empted process gets behind a new process arriving at the same time that the first process is pre-empted ...
@vladcristea8378
@vladcristea8378 2 жыл бұрын
A comment you wrote 1 year ago helped a total stranger from the other part of the globe at 1 am in the morning
@jaydeepdas9754
@jaydeepdas9754 Жыл бұрын
damn that thing i didnt got it
@virgarg9653
@virgarg9653 Жыл бұрын
@@vladcristea8378 same happened with me today at exactly 1am in India
@epsv113
@epsv113 Ай бұрын
thank you man ,hope your doing good
@user-md3lt7tx5f
@user-md3lt7tx5f Ай бұрын
Man you are the best, i wasted my time for hours until i found your video
@vinayaksharma-ys3ip
@vinayaksharma-ys3ip 3 жыл бұрын
Just took a moment to applaud the hard work that has been put in making this awesome video!! Thanks a ton!!!💯👍🙏
@Xavierpng
@Xavierpng 4 жыл бұрын
Tomorrow is my os exam - bscit 🤗 i hope u will upload full course for other people
@Xavierpng
@Xavierpng 4 жыл бұрын
@@nesoacademy thanks 🤘😁
@Tkdanso
@Tkdanso 3 жыл бұрын
Same here. I find this playlist very helpful thanks guys.
@jrMichael-ut9lv
@jrMichael-ut9lv 2 ай бұрын
Tomorrow is also mine Bscit and i am here now
@adediranoreoluwa9834
@adediranoreoluwa9834 Жыл бұрын
Oh my good God! This is so amazing. How you managed to perfectly explain this scheduling is just awesome! A big kudos, I must say, to Naso Academy.
@georgosfyssas7397
@georgosfyssas7397 Жыл бұрын
Your videos are amazing for computer science students like myself taking courses in concurrent programming and operating systems. Thanks for all the help with your videos!
@programminginfo3403
@programminginfo3403 3 жыл бұрын
I will never forget your contribution and efforts🙏🙏. Congratulation for getting golden button play 👏👏. You deserve it.
@ganeshk44
@ganeshk44 4 жыл бұрын
I'm struggling with process synchronisation and concurrency. I'm waiting for lectures on those topics. Not comprehensive but a little introductory with little explanation can really help me me out. By the way, in upcoming march, I will apply for interview at Neso Academy for Compiler Design Course.
@mrityunjaypandey9123
@mrityunjaypandey9123 7 ай бұрын
In a typical round-robin scheduling system, the decision of whether to place the preempted process or the newly arrived process first at the back of the queue depends on the specific implementation of the scheduling algorithm. There isn't a universally standardized rule for this, and different operating systems or schedulers may handle this situation differently. Here are two possible scenarios: Place Preempted Process First: The preempted process could be placed back in the queue before the newly arrived process. This means that the preempted process, which was already in the middle of its execution, gets another chance to continue from where it left off before the newly arrived process gets its turn. Place Newly Arrived Process First: The newly arrived process could be placed in the queue before the preempted process. This means that the system prioritizes the new arrival, allowing it to start execution before the preempted process gets another turn. in this lecture, they have taught for 2nd scenario only.
@mohanalane3415
@mohanalane3415 7 ай бұрын
yes even i thought same and if u watch gate smashers he explains 1st way so don't know which method is correct as different answers are coming
@vedantdesai2981
@vedantdesai2981 6 ай бұрын
the clock and alarm concept really helped understanding the algorithm clearly 👍🏻
@t2gamerz4
@t2gamerz4 2 ай бұрын
6:25 Important vip part: a pre-empted process gets behind a new process arriving at the same time that the first process is pre-empted.
@randomvideos6355
@randomvideos6355 3 жыл бұрын
Very Clear explanation Big thumps up for you sir
@mengasrivani5027
@mengasrivani5027 3 жыл бұрын
Thank you very much sir... In this pandamic situation these lecture help me a lot...
@koderkids7260
@koderkids7260 3 жыл бұрын
Great explained !!
@sweetmelon3365
@sweetmelon3365 3 жыл бұрын
thanks a lot, helped me understand for my project
@dianacarolinavertizdelvall6836
@dianacarolinavertizdelvall6836 2 жыл бұрын
Hi, great video! thanks a lot. I have a question about round robin, why does it use a circular queue? can it be implemented using regular queue?
@prernagarg5892
@prernagarg5892 3 жыл бұрын
Nice explanation , it's clear my doubt Sir
@divyaagarwal3091
@divyaagarwal3091 Жыл бұрын
Awesome explanation
@ShamSundarK
@ShamSundarK 2 ай бұрын
Thank you sir you are just amazing
@linguafranca7834
@linguafranca7834 3 жыл бұрын
Sir? I have a question? That I've done by myself first but without the ready queue. Means I've got arrangement as p1,p3,p4,p1,p1,p2,p5,p2, p5 Is it correct if we don't follow the ready queue.?
@noobgameplay21
@noobgameplay21 Жыл бұрын
idk if I dont have enough sleep or if im too fckng dumb that I am not able to fully understand the subject. anyways, after P3 why P1 go in next instead of P4?
@ayushiyadav1
@ayushiyadav1 2 ай бұрын
19:42 thanks a lot, crystal clear.
@mhamadslyman608
@mhamadslyman608 8 ай бұрын
after executing p1 in the first time p1 get a ready queue at time 2 and p3 gets ready queue at time 2 so the arrival time of p1 and p3 is the same so we execute p1 because the pid of p1 is 1 less than the pid of 3 which is 3
@imaneousalah
@imaneousalah 2 жыл бұрын
Thank you so much sir
@shahadalrawi6744
@shahadalrawi6744 6 ай бұрын
You are a legend!
@dontwanna6759
@dontwanna6759 4 жыл бұрын
sir you are angel !!!!!!!!!!!!!
@saumyadeepsaha9292
@saumyadeepsaha9292 11 ай бұрын
@Neso Academy 11:57 one thing I didn't understand that when p1 arrives the remaining time quantum was only 1unit due to process p3 voluntary releases itself from the CPU as it's execution is over. So it should execute for only 1 ms after it would again be preempted. Please clear my doubt
@md.obaidarahmani604
@md.obaidarahmani604 Жыл бұрын
best explanation
@abhishekverma2845
@abhishekverma2845 4 жыл бұрын
Thanks sir ..
@badrinarayanan6227
@badrinarayanan6227 10 ай бұрын
Amazing sir
@mahimabisht6470
@mahimabisht6470 2 жыл бұрын
i cannot understand why p1 came after p3 in gantt chart
@hasan_eke
@hasan_eke Жыл бұрын
because till time 2 there was no process to put in ready queue, therefore scheduler put the p1 after p3 to complete the job, however at time 3 p4 has arrived and it had to be put in behind the p1 and it kept going like that.
@ShahbazKhan-pf3oo
@ShahbazKhan-pf3oo 8 ай бұрын
Because p1 gets preempted at time 2ms and at that time p4 hasn't arrived (p4 arrives at 3ms) so p1 enters the ready queue and is placed after p3 and then at 3ms p4 arrives and is placed after p1..
@lyrical_kumaun.
@lyrical_kumaun. 3 ай бұрын
Dimag kharab ho gya bhyiii
@FawadAbdullah-cd8fk
@FawadAbdullah-cd8fk 3 ай бұрын
​@@lyrical_kumaun.Mera kal paper ha aur ye ni aata baki sab aata😂
@aleksandarristoski2777
@aleksandarristoski2777 Ай бұрын
@@ShahbazKhan-pf3oo te obozhavam
@Santosh-xh9il
@Santosh-xh9il Жыл бұрын
Sir..thank you for this video..and i get knowledge on this problem But i have a question....that is. Assume the following workload in a system: Process Arrival Time Burst Time P1 5 5 P2 4 6 P3 3 7 P4 1 9 P5 2 2 P6 6 3 Draw a Gantt chart illustrating the execution of these jobs using Round robin scheduling algorithm and also Calculate the average waiting time and average turnaround time Plz..plz..solve the problem
@abbasramees4238
@abbasramees4238 2 жыл бұрын
what if there is a priority with round robin, should I consider it? I have got that kind of question in an exams
@t2gamerz4
@t2gamerz4 2 ай бұрын
this video is better than sir Faisal Cheema's 1.5 hour lecture.
@firozs1923
@firozs1923 3 жыл бұрын
Hello sir.... I want all the PPT's of OS of your lecture . How can I get. I have exams to come need to prepare. Please do reply
@soujanyaas9074
@soujanyaas9074 3 жыл бұрын
Best one
@m.andrafadhillah8516
@m.andrafadhillah8516 2 жыл бұрын
Welp im here to say thank u very much
@orekisato9145
@orekisato9145 2 жыл бұрын
whats happens when there is no time quantum given?
@janetmajekodunmi3965
@janetmajekodunmi3965 Жыл бұрын
why wouldn't the gantt chart order be p1, p2, p3, p4 instead of p1, p2, p3, p1 at @8:06?
@nidhinhari8397
@nidhinhari8397 4 жыл бұрын
Sir Upload all videos... please
@abigailbitrus9785
@abigailbitrus9785 11 ай бұрын
Make a video for FCFS in I/O requirements
@ChandanG94805
@ChandanG94805 Жыл бұрын
super
@divyanshtripathi4280
@divyanshtripathi4280 28 күн бұрын
Why P1 come after P3??
@amanchaudhary8817
@amanchaudhary8817 Жыл бұрын
Is this playlist enough for gate cse sir?
@abolirandhir5242
@abolirandhir5242 3 жыл бұрын
What if the arrival time start from 1 ms
@darshan.818
@darshan.818 7 ай бұрын
💥
@Robdbank
@Robdbank 3 жыл бұрын
My os exams is today 😥
@user-vn3dg9lp2g
@user-vn3dg9lp2g 3 жыл бұрын
your tutorial did not completed
@felix1211
@felix1211 Жыл бұрын
avg=8.5
@frontmanplays8084
@frontmanplays8084 2 жыл бұрын
I will send one question would you tell me the answer
@frontmanplays8084
@frontmanplays8084 2 жыл бұрын
Plz
@bavenraj1562
@bavenraj1562 2 жыл бұрын
My lecturer got PhD but u teach far better than him. 🤝
@ShivamSharma-vw5zg
@ShivamSharma-vw5zg 3 жыл бұрын
Average Waiting time = 5.8 ms Average Turn-around time = 8.6 ms Is it correct ?
@shivamrawat4289
@shivamrawat4289 3 жыл бұрын
yes, it is as also i got the same ans.
@PradeepYadav-fg2yg
@PradeepYadav-fg2yg 2 жыл бұрын
yes even i got the same answer
@letmecodefirst7892
@letmecodefirst7892 2 жыл бұрын
Same here
@unzi876
@unzi876 Жыл бұрын
how did you find it can you write the steps
@techsmash5240
@techsmash5240 10 ай бұрын
Kumalaala kumalala savesta
@juliennemontiel3544
@juliennemontiel3544 2 жыл бұрын
wala q maintindihan,, auko n maging bobo
@jeannaoris3519
@jeannaoris3519 3 жыл бұрын
Punyita wala ako maintindihan 6al
@randomvideos6355
@randomvideos6355 3 жыл бұрын
hahahahahahahahhaah
@jaerooctaviano7653
@jaerooctaviano7653 2 ай бұрын
Naka graduate ka na po?
@dhanushsivajaya1356
@dhanushsivajaya1356 3 жыл бұрын
Thankyou sir
Round Robin Scheduling - Solved Problem (Part 2)
6:51
Neso Academy
Рет қаралды 132 М.
Scheduling Algorithms - Round Robin Scheduling
15:16
Neso Academy
Рет қаралды 248 М.
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 38 МЛН
Как бесплатно замутить iphone 15 pro max
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 51 МЛН
Multilevel Feedback-Queue Scheduling Algorithm
14:13
Neso Academy
Рет қаралды 131 М.
FANG Interview Question | Process vs Thread
3:51
ByteByteGo
Рет қаралды 299 М.
First Come First Served Scheduling (Solved Problem 1)
18:50
Neso Academy
Рет қаралды 518 М.
Round Robin(RR) CPU Scheduling Algorithm in OS with example
19:47
Jenny's Lectures CS IT
Рет қаралды 957 М.
Process Control Block
7:02
Neso Academy
Рет қаралды 494 М.
Round Robin Scheduling (Turnaround Time & Waiting Time)
19:28
Neso Academy
Рет қаралды 303 М.
Scheduling Algorithms - Priority Scheduling
17:11
Neso Academy
Рет қаралды 206 М.
Semaphores
22:51
Neso Academy
Рет қаралды 453 М.
Scheduling Algorithms - First Come First Served (FCFS)
17:00
Neso Academy
Рет қаралды 332 М.
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 38 МЛН