In most programs we need the ability to repeat lines of code.
This saves time, device resources and makes programming more efficient.
Watch this video - it shows that this can be in a variety of different ways, but one of the most common is a fixed loop.
repeat 4 times
ask “what was your termly score”
total = total + answer
end repeat
Now it’s your turn!
Follow this link to access Scratch online: https://scratch.mit.edu/
Click on the link below to download the practical tasks to have a go at completing
Click here to access "Do that again" Activities
When you have finished, have a go at the quiz below.
© 2023 Tayside Regional Improvement Collaborative
Website by Internet Creation Ltd