What scope means
What scope means
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.
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.