Skip to content

A NSW Government website

NSW Curriculum
NSW Education Standards Authority

function

A term used in programming to describe a self-contained sequence of instructions that performs a specific task or tasks and is designed to be able to be reused throughout the program. Functions often accept some kind of input, perform some process on that input, and return a result that can be used by other parts of a program. Most programming languages allow for user-defined functions, but will also provide pre-defined functions.

Technology 7–8 (2023)Computing Technology 7–10 (2022)Computing Technology Life Skills 11–12 (2022)Enterprise Computing 11–12 (2022)