So far, programs have been limited to executing the instructions we write just once. This all changes with loops: the ability to repeat some sets of instructions in a program many times.
- We start with simple loop controlled by a counter
- … and move on to more general loop conditions.
- We also think about errors and debugging
Course Materials
Practical Sheet 4 |
Practical Sheet 4 |
Slides Set
Powerpoint | |
4.1 While Loops | 4.1 While Loops |
4.2 Faults and Debugging | 4.2 Faults and Debugging |
Test Papers
Test Sheet 4 |
Test Sheet 4 |