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
GCSE Computer Science revision resources

Share this article

James Woodhouse

Reviewer: James Woodhouse

Expertise: Computer Science Lead

James graduated from the University of Sunderland with a degree in ICT and Computing education. He has over 14 years of experience both teaching and leading in Computer Science, specialising in teaching GCSE and A-level. James has held various leadership roles, including Head of Computer Science and coordinator positions for Key Stage 3 and Key Stage 4. James has a keen interest in networking security and technologies aimed at preventing security breaches.

The examiner written revision resources that improve your grades 2x.

Join now