The perfect place for all your EYFS, KS1 and KS2 resources, Explore Education aims to provide you with amazing, outstanding lessons that help you to shine. Each lesson often has detailed planning, PowerPoints and differentiated resources. So whether you are looking for a maths lesson to get you through your next interview, an English lesson that will help you impress OFSTED or a history, science, RE, PSHE or PE unit to wow your class, this is the shop for you!

pdf, 235.27 KB
pdf, 235.27 KB
pptx, 442.15 KB
pptx, 442.15 KB
docx, 25.52 KB
docx, 25.52 KB
docx, 22.56 KB
docx, 22.56 KB

Engaging 20–45 minute lesson ideal for observations, interviews, or Ofsted

This practical and well-structured KS2 computing lesson helps children understand what algorithms are and how to debug them, using the ever-popular Jam Sandwich Bot activity. Originally created by an experienced computing lead for an interview lesson, it’s now a go-to favourite for anyone wanting to teach algorithms in a memorable, hands-on way.

What’s the lesson about?
Children explore how to write and debug simple algorithms by “programming” the teacher to make a jam sandwich. This encourages precise instructions, teamwork, and plenty of laughter—all while covering key computing objectives.

What’s included:
★ A detailed lesson plan with clear structure and timing suggestions
★ PowerPoint presentation to guide the lesson and explain new vocabulary
★ Debugging worksheet for independent or paired work
★ Printable keyword posters with clear definitions for display or recap

How to use it:

  • Start with the PowerPoint to introduce key terms
  • Use the Jam Sandwich Bot activity to demonstrate the need for clear, logical instructions
  • Follow up with the debugging worksheet to reinforce the learning
  • Display the keyword posters to keep computing language visible throughout the topic

Why it works well:
✔ Simple to deliver with clear guidance and resources
✔ Highly engaging and interactive
✔ Encourages problem solving and logical thinking
✔ Easy to adapt for different timings or ability levels
✔ Ideal for Year 3 and Year 4, but adaptable across KS2

You may also be interested in…
PRIMARY COMPUTING Progression of Skills
Computing Skills Progression Y1-Y6

Stand out in interviews or observations by bringing a unique and exciting lesson to the table. Make computing memorable with the Jam Sandwich Bot!

Tags: KS2 computing | algorithms | debugging | jam sandwich activity | computing interview lesson | Year 3 | Year 4 | observation lesson | Ofsted | programming | logical thinking | lesson plan | classroom resources

Reviews

Something went wrong, please try again later.

This resource hasn't been reviewed yet

To ensure quality for our reviews, only customers who have purchased this resource can review it

Report this resourceto let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.