In this lesson you will learn about scope of variables. When a variable is initialised within a subroutine it cannot be easily accessed and modified by other subroutines. This lesson will teach you about the different levels of scope and show you how to access variables that are initialised within subroutines.
This quiz will help you to check any previous learning on this topic, and re-cap anything you may have forgotten. Once you have completed this, click ‘Close Quiz’ and then ‘Next’ below.
Click on the play button to start the video. If your teacher asks you to pause the video and look at the worksheet you should:
- Click "Close Video"
- Click "Next" to view the activity
Your video will re-appear on the next page, and will stay paused in the right place.
This quiz is a great way for you to test your learning from this lesson.
If you would like to re-cap any of the lesson, or repeat any exercise, click ‘Back’ below.