7.1 - While Loops
A Conditional Loop, also known as a While Loop will repeat a block of code as long as a condition is true.
Topic 7.1 - While Loops
What To Do?
1 - Complete the lesson tutorial Topic 7.1 - While Loops, including specified programming tasks.
Solutions to programming tasks: https://github.com/AldworthClass/While-Loops
2 - Complete the Topic 7.1 - Programming assignments as specified at the end of the lesson tutorial. There are two options:
Option 1 (two easier programming tasks):
Programming Assignment 1 - Average of Numbers in a Loop and
Programming Assignment 2 - Hi Low with Limited Tries
Option 2 (one more difficult programming task)
Programming Assignment Challenge - Simple Casino Game
For more information on While loops here is a good website:
https://www.w3schools.com/cs/cs_while_loop.asp
What to Hand In?
One of the following:
Option 1 (two easier programming tasks):
Programming Assignment 1 - Average of Numbers in a Loop and
Programming Assignment 2 - Hi Low with Limited Tries
Option 2 (one more difficult programming task)
Programming Assignment Challenge - Simple Casino Game