This lesson was made for home learning during the pandemic.

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

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.

This lesson was made for home learning during the pandemic.

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