< Back

Lab 8: More Loops!

So far, we have only had one loop in our programs. However, the way that the blocks are socketed, there's nothing preventing us from putting multiple loops in your programs. We can even put loops inside of loops!

For all of our activities, make sure your practice with the new blocks today. Some of the activities you can complete without using the new blocks. They do save some time and headaches. Open up the Practice Area, and take a crack at the following activities.


Activity 1: Spiralgraph

Create a blockly program which mimics the following image. You must use one of our loops in this program, but which one is up to you.

While you might not be able to exactly match the image, your spiral must be closed. This means that your turtle should eventually match back up with the originally drawn line.

Challenge


Activity 2:

Create a blockly program which will be able to draw a seires of squares as shown in the image below. You must use AT LEAST two loops in this exercise.

Challenge