This study notes covers Memory Trick within Variable Scope for GCSE Computer Science. Revise Variable Scope in 3.2 Programming for GCSE Computer Science with 18 exam-style questions and 10 flashcards. This topic appears less often, but it can still be a useful differentiator on mixed-topic papers. It is section 5 of 7 in this topic. Use this study notes to connect the idea to the wider topic before moving on to questions and flashcards.
Topic position
Section 5 of 7
Practice
18 questions
Recall
10 flashcards
Memory Trick
Local = Lives Locally (inside function only)
Global = Goes everywhere (whole program)
Keep building this topic
Read this section alongside the surrounding pages in Variable Scope. That gives you the full topic sequence instead of a single isolated revision point.
Practice Questions for Variable Scope
Where can a local variable be accessed?
Identify and explain the scope error in this pseudocode: function calculateTotal(price, quantity) local total = price * quantity endfunction calculateTotal(10, 5) output total
Quick Recall Flashcards
18 questions on Variable Scope — practise free
Instant marking, adaptive difficulty, and 10 spaced repetition flashcards. Free until your GCSEs.
Try PrepWise Free