Choose a curriculum

All exam boards (KS4)

KS3 & KS4 computing curriculum

Unit sequence

Filter and highlight

Year group

Highlight a thread
Computer Science
Year 10

Programming: subroutines

8 lessons

Threads

  • Algorithms and data structures
  • Programming

Description

In this unit pupils will be introduced to structured programming. They will explore the differences between functions and procedures and use functions to return values in programs. They will be introduced to the concept of scope and how parameters can be used to reduce the need for global variables.

This unit introduces pupils to the structured approach to programming. They will determine why subroutines are used in programs and how they are used for decomposition. Pupils will have already used built-in functions in their programs but they will now write their own. They will learn how to structure a function and will revisit trace tables in order to trace the input, process and output for various functions.

  1. Structured programming
  2. Functions
  3. Procedures
  4. Global and local variables
  5. Creating an XOR function
  6. Graphical user interfaces
  7. Programming project: subroutines I
  8. Programming project: subroutines II

67 units shown,

Need help with our new curriculum?

Visit our help centre for technical support as well as tips and ideas to help you make the most of Oak.

Go to help centre