Algorithms and Flowcharts

Ages 16–18

Difficulty adapts to you

Algorithms and Flowcharts

An algorithm is a sequence of unambiguous steps that turns inputs into outputs. Use sequence, selection, and repetition. A flowchart makes control flow visible; a trace table records changing values as the algorithm runs.

Your goals

  • ✓You can write precise, finite steps and represent decisions with flowcharts and pseudocode.
  • ✓You can use Algorithms and Flowcharts, model correctly.
  • ✓You can use the definitions, units, assumptions, and examples to check your answer.

Words to know

Algorithms and Flowcharts:
Write precise, finite steps and represent decisions with flowcharts and pseudocode.
model:
A rule or representation used to describe a situation and make a prediction.

Examples

  • 1To find the largest of three numbers, set a current maximum, compare each input, update when needed, then output the maximum.
  • 2A loop must have a condition that eventually becomes false.

Why this matters

A correct algorithm gives the right result and terminates for every input in its stated domain.

Ask yourself: where could this idea help you make a decision, explain a pattern, or check whether an answer makes sense?

Check these

  • • Do not skip the meaning of a term or give a result without explaining what it means.
  • • Keep every number, symbol, label, and unit in its correct place.
  • • Show enough working to check how you reached your answer.

Helpful habits

  • • Read the whole question before choosing what to do.
  • • Show one clear step at a time and check each step.
  • • If you are stuck, draw a model, try smaller numbers, or revisit the example.

Now try your own

Create your own algorithms and flowcharts example, solve it, and explain how you checked it.

Byte

Byte

Helpful Hints

“If you are stuck, skip and come back later.”