GeekInterview.com
Series: Subject: Topic:
Question: 12 of 85

how round robin algorithm works ?

Asked by: kirankumar samudrala | Member Since Feb-2011 | Asked on: Apr 16th, 2011

View all questions by kirankumar samudrala   View all answers by kirankumar samudrala

Showing Answers 1 - 1 of 1 Answers
Sandhya.Kishan

Answered On : Mar 10th, 2012

View all answers by Sandhya.Kishan

In round robin algorithm time slices are assigned to each process in equal portions and in circular order, handling all processes without priority. Round-robin scheduling is simple, easy to implement, and starvation-free.

Let us consider that there are 4 jobs :A,B,C,D.
Round Robin will give each job the same amount of CPU time until they are finished. Cycle goes like A B C D A B C D for two cycles.If one of the jobs finishes it will be removed from the queue. If a job is added it will be added to the circular queue.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.