Today we worked with the program Scratch.
Using loops on Scratch can be very useful. There are many different types of loops you could use. You could make temporary loops or forever loops. The difference between the two is that, Temporary loops will only last for a certain or chosen amount of time. For example, in Scratch I used a repeat 10 times loop so it only went up to 10. However, if I was to use a forever loop, the cycle would go over and over again until I stopped it. In this session with Scratch, I used the 10 times loop to make my bat character count up to 10. The second picture is the same type of loop but in a more simple but longer way.
This is a good explanation in your own words. What is the effect of writing a loop for the coder? And the effect for the computer?
ReplyDelete