answersLogoWhite

0


Best Answer

There is a Queue of processes that need to work on and each process has it's time requirement to complete,

eg:

process processor time

A 3

B 8

C 6

D 4

if the processor give 1 processor time to each process , then A->B->C->D will run each taking 1 processor time and complete a cycle and each process that is not complete will add to the end of the queue, if a process is completed it will remove from the queue(not enqueueing).

This process will continue until all the process are completed and the queue is empty.

Above que will work as follows.

A->B->C->D->A->B->C->D->A->B->C->D>B->C->D->B->C->B->C->B->B-> Que is empty

in each highlighted position process that complete their process time remove from the queue and therefore the rest are processing according to queue.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How does the round robin algorithm work?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the Round Robin algorithm?

It's an algorithm that is used for CPU schedulers.


Which CPU shchedule algorithm is used by Windows 8?

Round Robin


the performance of round robin algorithm depends on?

The size of the Time Quantum


the performance of round robin algorithm depends heavily on?

The size of the Time Quantum


Round robin scheduling program in java?

Round robin is the scheduling algorithm that is utilized by the CPU, or central processing unit, during the execution of the process. It is specifically designed for time sharing systems.


Why round robin algorithm not applicable for distributed environment?

distributed system doesn't have any global clock time. It uses some special schedule technique such as lampart's cycle and other algorithm.


Write an algorithm for round robin?

A round robin algorithm processes a number of tasks, steps or items one by one in a cyclic fashion like so:1. For N items, n=0, 2, 3, ..., N-1, let nbe 0.2. Process step (item, task) n3. Compute n = (n+1) % N, where % is the modulo operator (the remainder of integer division)4. Proceed to step 2.


Why was Robin Hood at the round table?

Robin Hood wasn't at the round table


What CPU scheduling algorithm is used Windows NT?

Windows XP uses a quantum-based, preemptive priority scheduling algorithm


Which feature takes priority-round robin or netmask orderingDNS server?

Round Robin takes precedence


What are soccer round robin?

A round robin competition is when every team plays every other team.


What is virtual round robin CPU scheduling?

A variant of round robin scheduling is called selfish round robin scheduling. In selfish round robin, there is a maximum limit on the number of processes that can be placed in the round-robin queue (including the process being executed by the CPU). After that maximum is reached, newly entering processes are placed on a holding queue. Processes in the holding queue do not get any time slice of the CPU. When a process in the round-robin queue completes and leaves the system, the oldest process in the holding queue is allowed to enter the round-robin queue