SHSubjectHub

Making Decisions: Selection

KS3Lesson packSubscription
Also online

This worksheet marks itself

Set it as homework or classwork and every answer is marked as pupils go, with feedback on what they got wrong. The scores go straight into your mark book, so you can see who needs help before the next lesson.

  • 6 questions
  • 15 marks
  • about 25 minutes
  • marked instantly

Question types: multiple choice, true or false, matching, fill the gap, short answer.

Try one from this worksheet

When Python compares two values it hands back a Boolean — only ever True or False. What does print(5 != 5) display?

Pick an answer: it's marked straight away, just as your pupils would see it.

About this resource

KS3 Computing — Python, Lesson 4 of 6. Booleans and comparison operators, if / elif / else, indentation as Python's block structure, and combining conditions with and / or. Students write and run real Python in the built-in interpreter to build a grade-checker and a branching chatbot.

14 slides.

Lesson outline

  1. Do Now — Retrieval
  2. Booleans & Comparison Operators
  3. Quick Check — True or False?
  4. We Do — Your First if Statement
  5. if / elif / else — and why indentation matters
  6. Hinge Check — Spot the Bug
  7. We Do → You Do — Build a Grade Checker
  8. Predict the Output
  9. Combining Conditions — and / or
  10. Main Task — Build a Branching Chatbot
  11. Explain Your Chatbot
  12. Plenary — What We Learned
Unit bundlePython
Part of: Python: the whole unitEvery resource in the unit in one zip.

More from Python