Function - GCSE Computer Science Definition
Reviewed by: James Woodhouse
Last updated
In GCSE Computer Science, a "function" is a set of instructions grouped together to perform a specific task in a program. You can think of a function as a mini-program within a larger program. It has a name and can be reused whenever needed in the code, which makes programming more organised and efficient. Functions can take inputs, called "arguments", and often produce an output or a result. They help break down complex problems into smaller, more manageable parts, making it easier to understand and solve tasks in coding.
Examiner-written GCSE Computer Science revision resources that improve your grades 2x
- Written by expert teachers and examiners
- Aligned to exam specifications
- Everything you need to know, and nothing you don’t

Share this article