This topic will cover how to use counted loops to repeat code a specific number of times.
1. Follow along with the lesson in class or complete the tutorial on your own.
Make sure you know the format of a For loop and how to tell which code is inside the loop block.
For more examples and code you can step through, read sections 4.1 and 4.2 on Programming Arcade Games:
http://programarcadegames.com/index.php?chapter=loops&lang=en#section_4
Make sure to fill out the handout (electronic or paper). Solutions can be found in the Files section.
2. Complete as many of the programming exercises as you can. We will take these up as a class.
3. Choose any 3 of the Programming Assignment options. The assignment is worth a total of 15 marks.
Submit the three tasks that you chose from the For Loops Programming Assignment document.
Choose any of the three programming tasks listed below. Some are harder than others, make sure that you choose ones you can do/figure out.
This assignment is out of 14.