← Teacher guides

Teacher guide: AI Foundations

Explore how AI predicts and learns, then practise clear communication and deliberate use of AI assistance.

Open the student course · How the ideas build

Each lesson works two ways. Students can work through the online tutorial at their own pace (it checks their answers and saves their progress in their browser), or you can teach it to the whole class from the slides, then send students into the tutorial for the Modify and Make steps.

Every lesson guide has plain-language notes, the answers to every check, a solution for every task, and slides and a worksheet for Waypoints Prepare. These guide pages are not linked from student pages, but they are not secret either: keep printed Teacher editions for answers you do not want students to find.

Course resources: Recap

How AI generates text

Predict the next word, sample using dice, then automate a simple probabilistic text generator.

How text prediction works in 5 minutes (read before teaching this unit)

The idea in plain words

A text generator can choose what to write next based on patterns. In our first model, we count which word follows a fixed phrase in a small invented set of examples.

After "the cat sat on the", suppose our six examples end: mat, mat, mat, chair, chair, roof.

Ending Count Chance when sampling proportionally
mat 3 3/6
chair 2 2/6
roof 1 1/6

These probabilities describe our model, not what is true about every sentence. To sample with a die, assign faces 1–3 to mat, 4–5 to chair and 6 to roof.

Why this is useful

The example separates learning from examples, assigning probabilities and selecting an output. Repeated samples may differ even when the model stays the same.

Where the picture breaks

  • A fixed phrase-to-word table can only produce one word. A multi-step n-gram model uses recent words to choose successive words.
  • Modern LLMs use tokens, neural networks and learned representations of longer contexts, not a literal six-row count table.
  • A common continuation is not necessarily correct, safe, appropriate or truthful.
  • Changing the examples changes the probabilities; it does not prove what a writer intends.

Common misconceptions

  • "The most likely word is the only correct word."
  • "The model knows what the writer meant."
  • "One unusual roll means the probabilities changed."
  • "Our die generator works exactly like ChatGPT."

A short opening investigation

Show six invented sentence endings. Have learners predict before revealing the counts, then choose an ending by rolling a die. Ask whether an unusual outcome invalidates the model.

Questions students ask

Why might the same input give different outputs? Sampling can choose among several possible next words.

Does more data guarantee truth? No. Patterns depend on the examples and the task.

Why use a simplified model? Because every decision is visible; the simplification also sets strict limits on what we can infer about real LLMs.

How it connects

Next, students repeat sampling by hand, then automate the repeated process. They must still decide whether the model and its evidence are suitable.

How AI learns

Investigate examples and labels, model mistakes, combining clues and training a tiny neural network, then name four kinds of AI and how each goes wrong.

How AI learns in 5 minutes (read before teaching this unit)

The idea in plain words

A model learns from labelled examples: each example has some clues (here, a fruit's colour and shape) and a label (the answer, apple or banana). Given a new case, the model uses what it learned from the examples to predict a label.

The unit uses three boards. A sorter copies the label of the nearest examples (lessons 1 and 2). A single decision unit adds up weighted clues, with weights students set by hand (lesson 3). A real, tiny neural network learns its own weights by training (lesson 4).

Why this is useful

Students see that a model can follow its steps perfectly and still be wrong, because it is only as good as its examples. They see that weights decide which clue matters most, and that training changes those weights while testing does not.

Where the picture breaks

  • Real fruit has far more than two clues, and real classifiers use thousands or millions of learned features.
  • The sorter and the decision unit are transparent teaching models, not neural networks. Only lesson 4's board is a neural network (2 inputs, 2 hidden neurons, 1 output).
  • The board's pretend world (long means banana, round means apple) is tidier than real life.

Common misconceptions

  • "The model knows what a banana is." It matches clues to examples.
  • "If the program works, the answer is right." Wrong labels and missing examples cause mistakes in a working program.
  • "Testing a fruit teaches the network." Only training changes its weights.
  • "More data always fixes it." More of the wrong kind of example can make things worse.

Try it yourself (5 minutes)

Open lesson 2's board. Swap two banana labels and test a yellow, long fruit. Then restore the examples, remove the yellow, round apple and test a yellow, round fruit. You have just caused both kinds of mistake.

Questions students ask

Is a chatbot like this? A chatbot is a very large neural network trained on huge amounts of text to predict the next word. The idea of learning weights from examples is the same; the size is not.

Can we see what a real AI learned? Not easily. Its weights are numbers that don't map neatly to human ideas, which is why its answers need checking.

Four kinds of AI (lesson 5)

The unit ends by naming the kinds side by side, in plain words: rules written by people (automation that learns nothing, though news stories often call it AI), learns to predict or sort (classifiers, scores, recommenders: the fruit sorter and neural network), makes new content (generative AI: the dice generator, chatbots, image makers) and takes actions (agents: generative AI with tools that buy, send or delete). Each goes wrong differently: a wrong rule hits everyone at once; wrong or missing examples; convincing content that isn't true; acting before anyone checks. The later courses AI in your life and Who Does AI Affect? recap these four names.

How it connects

Unit 1 showed text generation as choosing likely next words. This unit shows where "likely" comes from: examples and learned weights. Unit 3 turns to talking with AI.

Communicating with AI

Write purposeful prompts and use follow-up questions to clarify, question and redirect responses.

Communicating with AI in 5 minutes (read before teaching this unit)

The idea in plain words

A prompt is the request you give an AI assistant. Saying your goal, the useful context and the kind of help you want (an explanation, steps, a question first, or a hint) changes what comes back. A conversation can also be steered: if the first reply misses, a follow-up can fix the specific problem.

Why this is useful

Students learn to name what is wrong with a reply before reacting to it: it gave the answer away, assumed things that aren't true, used words they don't know, or made a claim that isn't well supported. Each problem has a different fix.

Where the picture breaks

  • Both boards use prepared replies, not a live AI. Real assistants vary and do not always follow instructions.
  • A clear prompt cannot guarantee a correct answer, and asking an AI to check itself is not independent checking.
  • Longer is not better: extra detail helps only when it would change what good help looks like.

Common misconceptions

  • "There is a magic prompt that always works."
  • "If I ask it to be sure, it will be right."
  • "More context fixes every problem." It doesn't fix jargon or a shaky claim.
  • "Personal details help." They are rarely needed and should stay out.

Try it yourself (5 minutes)

On lesson 2's board, open "Studying for a test". Try "Give more context" first, then "Question an assumption". Notice which one exposes the shaky claim.

Questions students ask

Do I have to be polite to AI? Politeness is fine, but it doesn't tell the assistant anything about your task.

What if it ignores my follow-up? Say so again, more plainly, or use another source. Notice what it actually does.

How it connects

Unit 4 builds on this: asking for the right kind of help, checking what AI tells you, and deciding what to hand over.

Getting good help from AI

Ask for the right kind of help, check what AI tells you and decide what to hand over.

Getting good help from AI in 5 minutes (read before teaching this unit)

The idea in plain words

Three habits: ask for the right kind of help (a hint, feedback or a worked example, depending on what you need to practise), check what AI tells you against evidence you can inspect, and decide what to hand over (keep the thinking that is the skill you're learning; hand over jobs on the edge of it, then check them).

Why this is useful

A finished answer can skip the thinking a student came to practise, and a fluent claim can be wrong. These habits keep the learning with the student without banning help.

Where the picture breaks

  • The boards use prepared hints, claims and situations, not a live AI.
  • Worked examples are not "bad": beginners often learn well from them, if they then explain and try a new question.
  • "Supported by these measurements" is narrower than "always true".

Common misconceptions

  • "A hint is always better than an answer."
  • "If it sounds confident, it's right."
  • "Anything boring can be handed over." Only if it isn't the skill you're learning.

Try it yourself (5 minutes)

On lesson 1's board, do the fractions challenge once with one hint and once with the worked example, then try the new question each time. Which run left more of the thinking to you?

Questions students ask

Can I use AI for homework? That is your school's rule to set. These lessons help you decide which parts of a task to keep, whatever the rule.

How do I check an AI claim? Look for the key word (every, always, average) and test it against the evidence, or a source you trust. Asking the same AI again isn't checking.

How it connects

Does AI Help Us Learn? tests these habits: does using them actually help students learn, and when?