Teacher guide ยท Think Lab ยท Harder ยท about 35 min

๐Ÿ Code Logic

Pupils practise problem solving through "Code Logic": AND, OR and variables.

Lesson guide

  1. 1. Hook ยท 5 min

    Show the ๐Ÿ mission title and read the opening: "score = 5, then score = score + 3. Score?". Take three quick guesses.

  2. 2. Model ยท 5 min

    Think aloud through the first step together. Use Cog the Owl's line as your prompt: "Good thinking. Show me the why."

  3. 3. Do ยท 10 min

    Pairs work through the 3 steps on screen or on the printed sheet. Circulate and ask "why?"

  4. 4. Discuss ยท 10 min

    Use two or three of the discussion questions. Ask pairs to share different answers, not just correct ones.

  5. 5. Reflect ยท 5 min

    Exit ticket: one sentence on how they used problem solving today.

Discussion questions

  • What was the hardest choice in "Code Logic", and why?
  • score = 5, then score = score + 3. Score โ€” explain your reasoning to a partner.
  • 'If sunny AND warm then beach'. Sunny but cold โ€” explain your reasoning to a partner.
  • 'If cake OR ice cream then happy'. Only cake โ€” explain your reasoning to a partner.
  • Where could you use problem solving outside school this week?
  • If you did this again, what would you change?

Adapting it

Support: Read prompts aloud, pair with a confident partner, and accept spoken or drawn answers for writing steps.

Stretch: Ask pupils to create their own extra step for a partner and explain the correct answer.

Curriculum links

  • National Curriculum: Computing: algorithms, debugging and online safety
  • National Curriculum: Maths: reasoning mathematically and problem solving
  • National Curriculum: Computing: logical reasoning and algorithms
  • PSHE: Living in the wider world: making decisions and evaluating choices

Pupil sheet

๐Ÿ Code Logic

Name: ____________________ ย  Date: __________

  1. 1. score = 5, then score = score + 3. Score?

    โ˜ 5

    โ˜ 53

    โ˜ 8

  2. 2. 'If sunny AND warm then beach'. Sunny but cold?

    โ˜ Beach

    โ˜ Both

    โ˜ No beach

  3. 3. 'If cake OR ice cream then happy'. Only cake?

    โ˜ Error

    โ˜ Happy

    โ˜ Not happy