warning

This lesson will be removed by end of Summer Term 2025.

We've made brand-new and improved lessons for you.
Year 11Computing

Scope

Lesson outcome

In this lesson, we will learn about the scope of variables. When a variable is initialised within a subroutine it cannot be easily accessed and modified by other subroutines. This lesson will teach us about the different levels of scope and show us how to access variables that are initialised within subroutines.

warning

This lesson will be removed by end of Summer Term 2025.

We've made brand-new and improved lessons for you.