CCTAI Portal
← Class 6 unitsArtificial Intelligence

Class 6

Chapter 3: Simple Pattern Recognition and Decision Making

AI systems often work by spotting patterns and making decisions from them. We can practise this by hand using simple if-then rules and decision trees.

Learning outcomes

  • Spot patterns in shapes, colours and numbers
  • Use observed patterns to make simple decisions

Activities

  • Rule-based decision tree on paper

Worked examples

Read through these first, then try the practice below.

  1. Example 1 — Decision rule

    An umbrella app gets the rule: IF rain probability > 50% THEN suggest umbrella. If today's rain probability is 70%, what should it do?

    Solution: Suggest the umbrella, since 70% > 50%.

  2. Example 2 — Pattern in shapes

    ★ ◆ ★ ◆ ★ ? What comes next?

    Solution: The pattern alternates star and diamond, so next is ◆.

Self-do practice

Question 1 of 3 · Score 0/0

An app uses the rule: IF battery < 20% THEN show low-battery alert. The battery is 18%. What does the app do?

Sign in as a student in this class to save your progress.