Functions and Parameters
Learn Functions and Parameters for Years 6–9 pupils (ages 10–14). Free practice questions, lessons and worked examples — aligned to the UK National Curriculum.
What you'll learn
- 1
A function is like a magic machine that takes something in, does a job, and gives something back! 🪄
- 2
What does a function always give you back? 🤖
- 3
Let's make a function called 'double' that takes a number and doubles it. We'll use a parameter called 'number'.
- 4
Now you try! Drag the input into the function and see what comes out.
- 5
If we have a function called 'addFive' with parameter 'x', what does addFive(7) give back? ➕
- 6
Build your own function! Pick a name, a parameter, and what it does.
- 7
A parameter is like a setting that changes how the function works. True or false? 🤔
Practise Functions and Parameters with Whizlo
Free AI-tutored lessons, unlimited practice questions, and progress tracking for ages 10–14. Aligned to the UK National Curriculum.