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.
intro
Introduction
Prepare
chevron-right
quiz
Starter quiz
Activate - 3 Questions
chevron-right
video
Lesson video
Learn
chevron-right
quiz
Exit quiz
Check - 5 questions
chevron-right