Compare and contrast Round Robin and Shortest Job First scheduling. In what scenario would Round Robin be preferred?
Last updated
Shortest Job First (SJF) runs the smallest CPU burst first. It is optimal for average waiting time but needs burst estimates and can starve long jobs.
Round Robin gives each process a fixed time quantum in turn: fair, no starvation, good response time, but higher turnaround and context-switch overhead.
Prefer Round Robin in interactive/time-sharing systems, or when burst times are unknown and fairness matters most.
- https://www.reddit.com/r/cscareeradvice/new/
- https://www.reddit.com/r/macbook/comments/1jg7fl6/24gb_ram_enough_for_software_engineering/
- https://www.reddit.com/r/infosys/comments/1t71add/anyone_received_round_2_mails/
- https://www.reddit.com/r/cscareeradvice/best/
- https://www.reddit.com/r/LeetcodeChallenge/
- https://www.reddit.com/r/infosys/comments/1t71i55/infosys_specialist_programmer_april_26_1st_round/
- https://www.reddit.com/r/programming/comments/1hqo19u/static_search_trees_40x_faster_than_binary_search/