Skip to content

Course home

x
Sign up
x

What scope means

What scope means

Scope diagram showing global variables in the main program, local variables and parameters inside functions, and a return value sent back to the main program A program stores values in variables and runs tasks in subprograms such as Python functions. Scope means the part of the program where a variable name can be used.

Global and local variables Lesson

  1. GCSE
  2. /Computer Science
  3. /Global and local variables

Step-by-step lessons on Edexcel GCSE Computer Science Global and local variables. Each one builds up to exam-style questions. Build strong foundations in binary, logic and core programming constructs before moving on to the more complex algorithm design and evaluation questions.

Lessons