Skip to content

Scope and Access

Introduced
Handout
Video lesson for this topic Open the video page
7:25

Class Creation

Here is a student, stored as three loose variables: a name, a year, and a grade. That works. Now add a thousand students. You need three thousand variables…

English narration · English and 中文 subtitles you can switch

In this lesson

Video lesson
Vocabulary
English Meaning
local variable/ˈləʊkl ˈveərɪəbl/A variable whose name is accessible only within a particular function, block or other limited scope.
scope/skəʊp/The region of a program in which a particular name or binding can be accessed.
shadows/ˈʃædəʊz/

Handout

Log in or create account

IGCSE, A-Level & AP