How round robin works
Each runnable process joins a FIFO ready queue. The scheduler runs the first process for a quantum, or until its burst finishes. If it still needs CPU time, it returns to the back. Newly arriving processes join the queue before the process at the end of its current slice is requeued.
Try a quantum of two
For two processes arriving at time zero with bursts of four and two, the sequence is A from 0–2, B from 2–4, then A from 4–6. A completes at 6 and waits 2 time units. B completes at 4 and waits 2. Reducing the quantum changes the order and responsiveness. This model excludes context-switch overhead, so it cannot show the real cost of very small quanta.
Continuous versus finite
Continuous mode keeps every process runnable and demonstrates equal turns. Finite mode admits processes at their arrival times and removes them when their work finishes. Round robin ignores ticket weights in both modes. Compare it with lottery scheduling, where weights change the probability of receiving the next turn.