Introduction to variables in Scratch - Barclays Code Playground
Key Stage: Key Stage 2 Coding Language: Scratch Resource type: Lesson plan and teacher guide
Key resource information
- You will need: Laptops or desktop computers, access to https://scratch.mit.edu
- Some experience with a block based programming language is helpful, but not essential.
Teaching assessment opportunities
- Have the children try out each other’s code – did they all use the same blocks?
- What was different?
- What is the benefit of using variables in your programme, instead of keeping score on paper?
- 45 minutes
- "I understand what a variable is and can use them in my programming with various outputs”
- “I understand the operation of a process and its outcome. I can structure related items of information.”
- “I can compare, describe and show number relationships, using appropriate vocabulary and the symbols for equals, not equal to, less than and greater than.”
Introduction to loops
Creating clear and simple code makes fixing, or debugging, your code much easier and using loops to simplify your instructions is a great way to start writing efficient code. In this lesson get the class moving as they learn about loops through dance before moving on to create a drawing project using loops in Scratch.