AQA A’Level SLR02 Global and local variables
About this video
AQA Specification Reference
AS Level 3.1.1.13 - 3.1.1.14
A Level 4.1.1.13 - 4.1.1.14
This video explores the important programming techniques of local and global variables. It discusses the differences in when and when one should be used over the other.
Key questions:
- What is the difference between global and local variables?
- What are the advantages and disadvantages of each?
00:00 Local and global variables
00:05 Intro
00:11 Variable scope
00:23 Local vs global variables
00:50 Visual Basic example
02:22 Variable scope continued
03:01 Key questions
03:13 Going beyond the specification
03:24 Beyond simple local and global variable scope
04:02 Outro
Last updated: 10.04.25