Skip to main content

Education recovery: Explore our curated collection of CPD, resources and support.
Online courses: FutureLearn are changing what data they store as part of GDPR on 20 Oct 2021. You may need to take action.


Lesson 19 Functions

Curriculum > KS4 > Unit > Lesson

During this lesson, learners will be introduced to functions. They have already used built-in functions when programming, but haven’t actually written their own yet. They will learn how to structure a function, and then use a trace table to trace the input, process, and output of various functions. They will then be shown how functions can be used for decomposition, and will take part in a pair programming/live coding activity where they modify a previous program to introduce functions. Finally, homework will be set to test learner understanding of functions.

Learning objectives

  • Explain the difference between a function and a procedure
  • Use trace tables to investigate functions
  • Use functions to return values in programs

Package contents

  • Lesson plans
  • Learning graphs
  • Unit overviews
  • Activities
Log in to download

Not registered yet?

Create an account and get access to over 500 hours of free teaching resources.

Help us make these resources better

Provide your feedback

Or email us at [email protected]