Introduce while
loops.
What sorts of actions do you repeat in quick succession in your day-to-day life?
Examples: Walking, working out, spamming buttons while gaming
The PowerPoint covers the syntax of while loops, along with some examples.
For the code-along, build up an application that calculates a factorial given a number from the user.
The students will follow the instructions to create a program that prints out all even numbers from 0-100. This exercise could be completed in a group or pair setting.
Have students complete the basic exercises. These should help reinforce the concept of while loops, and give students extra practice writing them.
There are many challenges for the students to complete.