Task summaryWhat you will learn:
How loops are used to allow repetition that can carry out a task over and over again until a condition is met How you will be assessed: Through the progress you make with rapid router and an assessment about loops |
Key terminologyCondition:
A rule that controls an algorithm to carry out a task until the rule has been met, for example, 10+5 until time = 10 seconds, time here would be the condition Iteration: A programming term used when a piece of code is repeated |
Activities
Rapid routerYou may have started working with this web site as part of the previous task. Ask your teacher if you have a log in set up, if not no worries you can get started without a log in. Click on the image to left or here to get started.
|
Reached level 19?Before you start going any further lets take a closer look at loops.
Have a look at the image to the right and consider the lines of code below. Both of these lines of code will work just fine. The thing to consider is which approach is better any why? Without a loop or with a loop? |
Assessment Task 3
Going loopyUsing your understanding of loops and your application of them using Rapid router complete this google form.
|
Click here to go to the Task 4 page>>>
|