Scheduling: round robin and first come first served – OCR A Level Computer Science lesson (H446)
Students learn to apply round robin and first come first served to a set of processes and compare their fairness.
Lesson 5 of 15 in unit 12.5 Systems Software and Translators, taught in Year 12, Spring 1. It answers one big question: How does the operating system decide which process runs next?
By the end, students can apply round robin and first come first served to a set of processes and compare their fairness.
- The Build (the main task)
- Draw the order in which four jobs on a Fellside Libraries branch PC run under first come first served and under round robin with a time slice of 2 units – P print (6 units), S catalogue search (2), C scan (3) and E email receipt (1), all in the queue at time 0 in that order – and explain which is fairer to library users (6 marks).
- Support version
- Two part-drawn timelines with the job lengths and arrival order given, and the first slices placed.
- Challenge
- Calculate the average waiting time of the four jobs under each algorithm (4 marks).
- Real-world link
- Users at a Fellside Libraries branch PC print, search the catalogue and scan a document at the same time.
- Key words
- Round robin, First come first served and Fair, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “In round robin each process runs to completion in turn”; “First come first served uses time slices”.
- OCR H446 specification
- 1.2.1 (d).
Every lesson follows the same Code & Commerce structure: a Bell Task recall starter, key vocabulary with definitions and icons, short teaching chunks with a check before pupils move on, The Build (one main task), challenge questions that get harder, and an exit question. Answers reveal one at a time on the slides, and everything is editable PowerPoint and Word.
Students can do it all on paper.
Also sold in the Systems Software and Translators unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.
An independent resource written for OCR A Level Computer Science (H446). It is not endorsed by OCR or Cambridge University Press & Assessment. Programming project (NEA) lessons teach general skills on a made-up example project and give supervised time, within JCQ's rules on the help a centre may give.
What's included
- Slide deck (PowerPoint)
- Lesson plan (Word)
- Worksheet (Word)
- Support worksheet with scaffolds (Word)
- Single-teacher licence: use and adapt it with your own classes
More for A Level Computer Science
See allStudents learn to explain the main functions of an operating system and the purpose of each.
Free sample lessonStudents learn to describe paging and segmentation and compare them as ways of managing memory.
Students learn to explain how virtual memory works and the consequence of disk thrashing.
Written for the specifications named. Not endorsed by or affiliated with any exam board.