Global versus local access
What Global versus local access means in Computer Science GCSE, as defined for Pearson Edexcel.
Definition of Global versus local access
Check what you remember
Read the wording for your board, then hide it and explain Global versus local access in your own words. Rough notes are fine. This is a self-check, with no mark or grade.
Reference: Pearson Edexcel
A global is declared in the main program and accessible throughout, whereas a local is created inside a subprogram and code outside cannot see it.
Topics that use Global versus local access
- Subprograms (Pearson Edexcel GCSE)
Related terms
- Appropriate design using parameters and return values
- Library subprogram
- Scope of variables
- Arguments
- Built-in subprogram
- Function
- Lifetime of local variables
- Parameters
Using Global versus local access in the exam
Check the command word and mark scheme for your exact question. After comparing your explanation with the reference, use the term in an answer on the linked topic. This practice does not predict an exam mark.
Practise Computer Science questions
Create a free account to answer exam-style questions on this topic and get feedback on your answers.
A week of Premium from your first lesson · Then the free plan continues · No card, no charge