warning

This lesson will soon be taken down.

We've made brand new and improved lessons for you.
Read the help article
chevron-right
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.