Parameters versus arguments
The name in a function definition that receives a value, like name in def greet(name). The value passed in the call, like greet('Ava'), is the argument.
Understanding Parameters versus arguments in WA Computer Science ATAR Unit 1
What it does: Writing parameter=value in the call is a keyword argument. Python matches by name, so height can come before width. The function has two parameters, so the call supplies two arguments, one for name and one for town. An argument is the actual value passed in when the function is called. Positional arguments match by order. a gets 10 and b gets 3, so the result is 10 - 3 = 7. With positional arguments the first value goes to the first parameter, the second to the second, and so on. Names listed in the brackets of a def line are parameters. They act as placeholders until the function is called.
Common mistakes: The function has one parameter, name, so the call must pass one argument. greet() passes none and causes a TypeError. It should be greet('Ava'). The parameters are w and h. The name height does not exist inside the function, so Python raises a NameError. It should be return w * h.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 100–314) and word search (Modules 100–470).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
parameterFill in the Blanks
Spot the Error
Student with a class code? Join your class →