define: defining a function
A keyword that starts a function definition, naming the function and listing the parameters it accepts
Understanding define: defining a function in QCE Digital Solutions Unit 1
What it does: This description matches define, the keyword used to begin a function definition. This bracketed list represents the parameters a function accepts. end function marks the end of a function's definition in VCAA pseudocode. The keyword is written in lowercase as define, not DEFINE. Multiple parameters are listed inside the brackets, separated by commas, such as add(a, b). The instructions the function performs are written between its define line and its closing end function. A function definition must close with end function, in that exact order.
Common mistakes: A function definition must close with end function, not end func. The keyword should be written in lowercase as define, not DEFINE.
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 158–380) and word search (Modules 82–380).
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
defineFill in the Blanks
Spot the Error
Student with a class code? Join your class →