GCSE – Lesson 19 – Functions
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
- Slide decks
- Learner resources
- Homework
Don't have an account?
GCSE revision
A comprehensive range of content and helpful practice questions are also available for this topic.
View on Ada Computer ScienceEnjoyed teaching these lessons? Found a mistake?
Fill in a short form to give feedback on these resources.