Scheduling: shortest job first, shortest remaining time and multi-level feedback queues – OCR A Level Computer Science lesson (H446)
Students learn to apply shortest job first and shortest remaining time, describe a multi-level feedback queue, and explain starvation.
Lesson 6 of 15 in unit 12.5 Systems Software and Translators, taught in Year 12, Spring 1. It answers one big question: Which scheduling algorithm suits which mix of processes?
By the end, students can apply shortest job first and shortest remaining time, describe a multi-level feedback queue, and explain starvation.
- The Build (the main task)
- Explain how a multi-level feedback queue would schedule catalogue searches, a long nightly backup and staff keystrokes on Fellside Libraries' server, and how it avoids starvation (6 marks).
- Support version
- A diagram of three queues with arrows to label (demote, promote, run) and sentence starters for each process.
- Challenge
- Calculate the average waiting time for four given jobs under shortest job first and under shortest remaining time, and explain the difference (5 marks).
- Real-world link
- Fellside Libraries' server runs a long backup every night while staff keep working.
- Key words
- Shortest job first, Multi-level feedback queue and Starvation, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “A multi-level feedback queue is one queue sorted by priority”; “Shortest job first and shortest remaining time are the same”.
- 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.