Algorithm Design and Problem-Solving: an algorithm is a step-by-step set of instructions to solve a problem.
Algorithms can be shown as a flowchart or in pseudocode. The three basic structures are sequence (step by step), selection (IF choices) and iteration (loops that repeat).
Remember
- Algorithm = ordered steps to solve a problem.
- Sequence, selection (IF), iteration (loop).