Choose exam board for KS4 Computer Science (GCSE)
Choose exam board for KS4 English
Choose exam board for KS4 French
Choose exam board for KS4 Geography
Choose exam board for KS4 German
Choose exam board for KS4 History
Choose tier for KS4 Maths
Choose exam board for KS4 Music
Choose exam board for KS4 Physical education (GCSE)
Choose exam board for KS4 Religious education (GCSE)
Choose exam board for KS4 Spanish

Programming: subprograms

Downloads can take a few minutes, especially for larger files or slower connections.

Threads

Why this why now

Having already developed confidence with sequences, selection and iteration, pupils are now ready to structure their programs more effectively. This unit introduces subroutines, showing how breaking problems into smaller, reusable parts. Pupils build on their earlier use of built-in functions by learning to write their own, helping them appreciate the importance of decomposition in programming. Crucially, this way of thinking by dividing complex challenges into manageable steps and is a valuable skill beyond computer science, supporting problem-solving across subjects and in everyday life.

Prior knowledge requirements

  • Pupils can create programs that use sequence, selection and iteration.
  • Pupils have experience of designing algorithms for a given purpose.
  • Pupils have used subroutines as part of block-based programs.

Threads

Why this why now

Having already developed confidence with sequences, selection and iteration, pupils are now ready to structure their programs more effectively. This unit introduces subroutines, showing how breaking problems into smaller, reusable parts. Pupils build on their earlier use of built-in functions by learning to write their own, helping them appreciate the importance of decomposition in programming. Crucially, this way of thinking by dividing complex challenges into manageable steps and is a valuable skill beyond computer science, supporting problem-solving across subjects and in everyday life.

Prior knowledge requirements

  • Pupils can create programs that use sequence, selection and iteration.
  • Pupils have experience of designing algorithms for a given purpose.
  • Pupils have used subroutines as part of block-based programs.