Programming (Year 12)
Explain the concept of a function in programming.
A function is a reusable block of code that performs a specific task, which can take inputs, process them, and return an output.