Y7/8 Digital Technologies

Workbook + Lesson Plans + AI Helper

Lesson Plan • Week 2 Lesson 2
Privacy + Integrity: Do not enter names or personal information. The AI provides hints and structure — you must write your own work.

Functions + decomposition

Learning intention

Create and use functions to organise code.

Success criteria

  • I can explain decomposition.
  • I can write a simple function.

Lesson flow

  • 5 min Starter
    Spot repeated logic.
    Identify what should be a function.
  • 15 min Teach
    Function syntax + parameters.
    Build 1–2 functions.
  • 15 min Workbook
    Explain your function choice.
    Answer prompts.
  • 5 min Exit ticket
    One function use case.
    Describe a function in words.

Video support

Online game / interactive activity

Workbook resources

Workbook + AI Helper
Privacy + Integrity: Do not enter names or personal information. The AI provides hints and structure — you must write your own work.

Workbook

Answers save automatically on this iPad in this browser.

What is decomposition? Give a simple example.
Write a function example and explain what it does.

AI Video Assistant

Generates a short lesson explainer, key vocabulary and a teacher-approved activity prompt. It gives hints only and reminds students not to enter personal information.

AI Helper

Ready to help with: Functions + decomposition

Ask the AI for help (hints only)