← AI Foundations

What kind of AI is it?

Sort everyday systems into four kinds (rules written by people, models that predict, models that make new content, and agents that act; one useful way to sort them), then match each kind to the way it usually goes wrong.

People call many different things "AI". Some follow rules that people wrote. Some learned from examples, like your fruit sorter. Some make new text or pictures, like your dice generator. Some take actions for you. These four kinds are one useful way to sort them. Knowing which kind you are looking at tells you how it might go wrong.

How this lesson works: Engage, Explore, Explain, Elaborate, Evaluate
Extra examplesYour teacher may tell you which.
EngageCommit to a prediction before you test anything. A wrong guess is fine: it shows you what to look for.

Engage: Is it all the same thing?

An advert says a school's bell app, a spam filter and a chatbot all 'use AI'. Do they all work the same way?

ExploreTry it on the board and compare what happens with your prediction.

Explore: Sort the systems

The four kinds:

  1. Rules written by people. The computer follows instructions a person wrote. It doesn't learn. News stories often still call this "AI" or "an algorithm".
  2. Learns to predict or sort. It learns patterns from labelled examples, then predicts or sorts new cases. Your fruit sorter and neural network were this kind.
  3. Makes new content. It learns from huge amounts of text, pictures or sound, then makes something new. Your dice generator was a tiny version. Chatbots and image makers are this kind. It is often called generative AI.
  4. Takes actions. It is usually a content-making AI that can also use tools: it plans steps and does things, like buying, sending or deleting. It is often called an AI agent.

Ask: did a person write the rule, did it learn from examples to sort, does it make something new, or does it do something for you?

Which kind is each system?

Your fruit sorter from this unit
Your dice text generator
A bell app that rings at 8:50 because someone typed in that time
A spam filter trained on emails people marked as spam
An app that draws a picture from a sentence you type
An assistant that books a bus ticket, pays for it and emails you the receipt
A library system: 'if a book is 7 days late, send a reminder'
A video app that picks your next video from what you watched

ExplainPut a name to what you saw, and why it works.

Explain: How does each kind go wrong?

Each kind usually goes wrong in its own way:

Read each problem. Which kind of system is it, and so how did it go wrong?

When something goes wrong, the kind tells you where to look.

Name the four kinds, and one way each goes wrong.

Which way of going wrong fits each problem?

The library system sends 'Your book is late!' to students who were away sick, every single time
A spam filter keeps hiding emails from a new sports club, because it never saw emails like them
A chatbot writes a book list for your project. Two of the books don't exist
An assistant pays for the wrong bus ticket before you can look at it

A rule-following system and a system that learned from examples both give the wrong answer. Where would you look first to fix each?

Elaborate Extra · typicalUse the idea in a new situation.

Elaborate: One app, several kinds

Real apps often mix several kinds. A single "AI" label can hide all four.

Look at the last two parts. Pressing Submit follows a rule. Handing in work on its own is an action the AI chooses. Which one needs a person to check first?

A made-up homework app does all of these. Which kind is each part?

It writes an explanation when you ask a question
It suggests which topic to practise next, from what students like you got wrong
It hands in your work to your teacher when you press Submit
It can find a due date in your calendar and hand in your work on its own

Elaborate More · widerUse the idea in a new situation.

Elaborate: What does the headline mean?

A headline says: "AI decided who got the job."

That could mean a rule people wrote ("only people with a licence"), a model that learned from past hiring, a chatbot that wrote a summary of each person, or an agent that sent the rejection emails. For each meaning, what is the first question you would ask?

Rewrite the headline so it says which kind it was.

EvaluateLook back at your first ideas and what changed.

Evaluate: Which kind, so which question?

On paper, write: "____ is the kind of AI that ____. It can go wrong when ____." Do it for one kind you used in this course.

Where this leads: whenever you meet a new system, ask which kind it is before you ask whether to trust it.

A news story says: 'An algorithm lowered students' marks.' What should you find out first?

Now you can
Next lesson9. How do you communicate with AI?Compare vague and purposeful prompts, then decide what information helps an AI assistant respond usefully.
For teachers

Students sort everyday systems into four kinds of AI (rules written by people, predict or sort, make new content, take actions), then match each kind to the way it usually goes wrong. About 25 minutes.

Open the teacher guide: answers, solutions, slides and a worksheet.

Students will be able to

Before class

Core idea: "AI" covers different kinds of system that fail for different reasons, so the first question about any system is "which kind is it?". Students have already built two kinds in this course: a generator (Unit 1's dice generator, a tiny content maker) and a learner (Unit 2's fruit sorter and neural network). This lesson adds the two they haven't met: rules written by people (automation without learning) and agents (generative AI with tools that takes actions). Plain-word names used with students, with the usual terms in brackets: rules written by people (rule-based automation); learns to predict or sort (predictive machine learning: classifiers, scores, rankings, recommenders); makes new content (generative AI); takes actions (AI agents). Rules are not machine learning, but news stories often call them "AI" or "an algorithm". Real examples for discussion (teacher background, not needed in class): Robodebt was automation without AI; England's 2020 exam-grade adjustment was a statistical formula. The later courses AI in your life and Who Does AI Affect? open with a short recap of this lesson and use these four names. All the systems in the lesson are generic or made up; it makes no claims about a real product. No account, online tool or board is needed. The sorts work as paper cards.

Running the lesson

  1. Engage: take a vote on the advert before showing the four kinds. Ask what makes something 'AI'.
  2. Explore: sort as a class or in pairs with cards. The bell app and the library rule are the ones students most often call AI; ask whether anything was learned.
  3. Explain: the four ways of going wrong. Link 'learned from wrong or missing examples' back to the fruit sorter lesson.
  4. Elaborate: real apps mix kinds. Ask which part of the homework app most needs a person to check before it acts.

The hard part (on purpose)

Students tend to call anything on a computer 'AI', and to think all AI works like a chatbot. The sort separates what was written by people from what was learned or made.

When students get stuck

Stretch and support

Stretch: Find a system at home or school that mixes at least two kinds. Which part would you want a person to check?

Support: Give the four kinds as column headings on paper, each with one example from the course already in place (dice generator, fruit sorter), so students only place the new cards.

Where it leads

Unit 3 turns to talking with AI: writing a clear request, then following up. The four kinds come back in the later AI in your life and Who Does AI Affect? courses.