3.1.4
Algorithms (2/2)
Algorithms
Algorithms


Repetition
Repetition
- Repetition means doing the same step over again.
- The step can be repeated with different variables.
- A variable is something that can change.


Repetition: example
Repetition: example
- The toppings must be placed on the cakes.
- The step is repeated for each cake (repetition).
- But the type of topping can change each time (variable).


Repeat until...
Repeat until...
- Sometimes a step can be repeated until something happens.
- Then we can move to the next step.
- A step is repeated until something happens.
- This step is called a ‘repeat until’ instruction.


Repeat until: example
Repeat until: example
- Put cake batter in each paper case.
- Repeat until all the cases are filled
- Then stop and go to the next step.
1Using Computers
1.1Computers as a Tool
1.3Plagiarism & Illegal Sharing
2Networks & the World Wide Web
3Computational Thinking
Jump to other topics
1Using Computers
1.1Computers as a Tool
1.3Plagiarism & Illegal Sharing
2Networks & the World Wide Web
3Computational Thinking
Unlock your full potential with Seneca Premium
Unlimited access to 10,000+ open-ended exam questions
Mini-mock exams based on your study history
Unlock 800+ premium courses & e-books