The Computer Science Lesson plans a coding session using computational thinking and PRIMM: an unplugged starter, a worked example with pseudocode, runnable starter code, tiered Core/Extension/Challenge tasks, a model solution and the bugs novices actually hit.
β¨ Uses 1 AI generation per run
Step by step
- Enter the topic and choose the language.
- Set year group, lesson length and difficulty.
- Tick the unplugged option if you want a no-computer starter emphasised.
- Press β¨ Generate β code blocks print in monospace.
- Run the starter code and solution yourself before the lesson.
Tips
- π‘ The "common bugs" section is the highest-value part β it names real novice errors (= vs ==, off-by-one, indentation) and how to guide students to the fix.
- π‘ Code is kept short enough to read on a printout and uses only the standard library.
Example
"For loops", Python, Year 8, 60 min β unplugged starter, worked example, starter code, tiered tasks and model solution.