3.1.3
Algorithms (1/2)
Algorithms
Algorithms


Definition
Definition
- An algorithm is the steps and rules that are followed when completing a process.
- The main actions in an algorithm are sequence, selection and repetition.


Sequence
Sequence
- The sequence is the order of the steps.
- E.g. the toppings cannot be put on the cakes until they are cooked.


Selection
Selection
- Selection is a yes/no choice.
- A yes/no choice can be thought of as an ‘if ... then’ instruction.
- E.g. should the cakes be taken out of the oven?
- If an inserted knife comes out clean, then yes.
- If an inserted knife comes out dirty, then no.


Repetition
Repetition
- Repetition means doing the same step over again.
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