Chapter 7

Algorithm Design and Problem-Solving

Algorithms, flowcharts, pseudocode and the structures sequence, selection and iteration — with an interactive exercise.

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).

Stuck on this topic? A verified JomKelas tutor can walk you through it.

Find a verified tutor