Quick answer: This free 45-minute AI lesson plan helps teachers introduce machine learning to ages 10-14 using a sorting game and Google Teachable Machine. Students learn how labelled examples train a model, why new test data matters, how simple accuracy is checked, and how bias can appear in classroom AI systems.
Key takeaways
- Free 45-minute lesson for ages 10-14
- Includes unplugged sorting and a tool demo
- Covers labels, training data, test data and accuracy
- Includes worksheet, answers, MCQs and fallback plan
- Links to AI4K12, CBSE AI ideas and UK KS3 computing
Direct answer: Use this free 45-minute machine learning lesson plan to teach ages 10-14 how AI learns from examples. Students first sort classroom objects by labels, then watch or build a simple Teachable Machine model, test it with new examples, and discuss accuracy, bias and fair evaluation.
Lesson overview
Lesson title: Teach machine learning with a sorting game and Teachable Machine.
Age range: 10-14 years. It suits upper primary, middle school, lower secondary and KS3-style classes. In India, teachers can use it as an introductory activity before more formal AI project work in Classes 9-10.
Time: 45 minutes.
Main question: How does a machine learning model learn to classify things?
Outcome: Students can explain that a machine learning model learns patterns from labelled examples, then needs testing on new examples before we can trust it.
This lesson is for teachers searching for ai lesson plans for teachers free and practical ways of teaching AI in the classroom without heavy coding. If your class is new to the topic, pair it with the AI for Kids complete guide before or after the lesson.
Learning objectives
By the end of the lesson, students will be able to:
- Define artificial intelligence and machine learning in simple classroom language.
- Explain the difference between training data and test data.
- Describe how labels help a model learn categories.
- Test a model using examples it has not seen before.
- Calculate simple accuracy as correct answers out of total test examples.
- Identify one reason a model may be unfair, biased or inaccurate.
- Complete a short worksheet using evidence from the class activity.
Key definitions for students
- Artificial intelligence: AI is computer software that can do tasks that seem smart, such as recognising images, understanding words or making suggestions.
- Machine learning: Machine learning is a type of AI where a computer learns patterns from examples instead of being given every rule by a human.
- Model: A model is the trained system that uses what it learned from examples to make a prediction or classification.
- Classifier: A classifier is a model that puts an example into a category, such as pencil or not pencil.
- Training data: Training data is the set of examples a model uses to learn patterns.
- Test data: Test data is new examples used to check whether the model works on things it has not learned from directly.
- Label: A label is the correct category attached to an example, such as pencil, eraser, red, not red, cat or dog.
- Accuracy: Accuracy is how many test examples the model gets correct out of all the test examples tried.
- Evaluation: Evaluation is the process of checking how well a model works, where it fails, and whether it is safe and fair enough to use. For follow-up, see Evaluation Class 10.
- Bias: Bias happens when data or design choices make a model work better for some cases than others.
Curriculum links, stated carefully
Use these as broad teaching links, not as a formal claim that one short lesson covers a whole syllabus. Always check your local curriculum documents before recording formal coverage.
- AI4K12: The lesson connects most strongly to Big Idea 3: Learning, because students see that computers can learn from data. For a pupil-friendly overview, use our guide to the AI4K12 five big ideas.
- CBSE AI Classes 9-10: This introductory lesson can support classroom discussion around the AI project cycle and later work on data, modelling and evaluation, but teachers should match it to the current CBSE document used in their school. For follow-up reading, see AI Project Cycle Class 9 and Modelling Class 10.
- UK KS3 computing: In general terms, the lesson supports computing ideas such as algorithms, data, logical reasoning, digital systems and responsible use of technology.
- Digital citizenship: Students discuss safe data choices, consent for images, and why AI answers should be tested instead of accepted automatically.
Materials needed
- Projector or shared screen.
- Teacher computer with internet access.
- Google Teachable Machine opened in a browser.
- 10-20 classroom objects, such as pencils, erasers, notebooks, rulers, sticky notes, glue sticks or paper clips.
- Two category cards, such as pencil and not pencil, or red and not red.
- Printed worksheet or copied questions in notebooks.
- Optional student devices, only if your school allows supervised tool use.
Safety and privacy note: Use objects rather than student faces for the fastest and safest demo. If any camera, microphone or student image is used, follow school policy, local privacy rules and adult supervision requirements. Do not use names, addresses, uniforms with visible school identifiers, or other private information. For other supervised options, see free AI tools for kids.
Timing plan
| Time | Activity | Teacher focus |
|---|---|---|
| 0-5 min | Starter question | Connect AI to familiar examples |
| 5-20 min | Unplugged sorting game | Introduce labels and patterns |
| 20-35 min | Teachable Machine demo | Train, test and improve a model |
| 35-45 min | Reflection and worksheet | Check understanding and misconceptions |

Teacher checklist and fallback plan
- Choose two clear categories before class. Good examples are pencil or not pencil, red or not red, and roundish or not roundish.
- Prepare varied examples for each category. Include different colours, sizes, positions and backgrounds.
- Keep two or three objects hidden for testing later.
- Open Teachable Machine before the lesson and check that the camera is working.
- If the internet fails, run the full lesson unplugged. Ask students to act as the model, train on labelled objects, then test on the hidden objects.
- If the camera fails, show the tool interface only and let students complete the worksheet from the unplugged activity.
Activity 1: Starter, 5 minutes
Ask students: Where have you seen a computer make a guess?
Likely answers include phone face unlock, autocorrect, shopping suggestions, video recommendations, camera filters, maps predicting traffic, a game matching players, or a sports app recognising movement.
Teacher script prompts
- AI is not magic. It is software using patterns from data.
- Today we will not build a human brain. We will build a small classifier that sorts examples.
- A classifier answers a category question, such as: is this a pencil or not a pencil?
If students say AI knows everything, write the idea on the board. Tell them: Today we will test whether that is true.
Activity 2: Unplugged sorting game, 15 minutes
Put 10-20 objects on a desk. Show two labelled areas, for example writing tools and not writing tools. Ask students to sort objects one at a time. For each object, ask what feature helped them decide.
Examples students recognise:
- A pencil goes into writing tools because it makes marks on paper.
- An eraser goes into not writing tools because it removes marks instead of making them.
- A stylus may create debate because it can write on a tablet but not on paper.
- A highlighter may create debate because it marks text but is not used like a pencil.
Now explain the machine learning idea: the class is acting like the training process. Each labelled object is an example. A model would look for patterns across the labelled examples. It might notice shape, colour, size, position or background. It may also learn the wrong pattern if the examples are poor.
Teacher script prompts
- What label did we give this object?
- What pattern are we using: shape, use, colour or something else?
- If all our pencils are yellow, might a model think yellow means pencil?
- What new object could test whether our rule is strong?
Introduce test data by holding back two or three objects. Ask whether every object should be used for training, or whether some should be saved to check the model later. Students should see that testing on new objects is fairer than checking only the examples already used for learning.
Training data vs test data
Students often confuse practice examples with checking examples. Use this comparison before the tool demo.

Activity 3: Teachable Machine demo, 15 minutes
Open Teachable Machine on the projector. Explain that Google Teachable Machine is a browser-based tool for demonstrating machine learning with examples. In this lesson it trains a small demonstration model; not all real-world machine learning works this simply or this quickly.
- Create two classes, such as pencil and not pencil.
- Add several image samples to each class using safe classroom objects.
- Use varied examples: different colours, angles, distances and backgrounds.
- Train the model.
- Test it with a new pencil it has not seen before.
- Test tricky examples, such as a pen, ruler, yellow eraser or pencil case.
- Ask whether the model seems reliable and what evidence supports that view.
Teacher script prompts during the demo
- This model is not reading our minds. It is comparing new images with patterns from training examples.
- If we only show pencils close to the camera, what might happen when the pencil is far away?
- If all pencil examples are on a white table, could the model learn the table instead of the pencil?
- How can we improve the training data without changing the computer code?
Improvement steps include adding more varied examples, balancing the number of examples in each class, correcting labels, removing confusing samples and testing again with new examples.
Mini accuracy check
After training, test five new objects and record correct or incorrect. If the model gets four out of five correct, say: our simple test accuracy today is 4 out of 5, or 80% if your class has learned percentages. This is useful, but it is not the whole story. A model can score well on easy test examples and still fail on unusual examples.
| Test item | Prediction | Correct? |
|---|---|---|
| New pencil | Pencil | Yes |
| Pen | Not pencil | Yes |
| Yellow eraser | Pencil | No |
Ask: should we trust the model after only three tests? A good answer is no. We need more new examples, including tricky ones, before making a confident judgement.
Teacher reflection note
If the demo fails, treat it as learning evidence rather than a mistake. Common failure cases include too few examples, all objects held in the same position, a background that gives away the answer, or one category having many more examples than the other. Ask students which change they would try first and why.
Activity 4: Reflection and worksheet, 10 minutes
Give students the worksheet questions below or display them for notebook answers. Students can work alone for three minutes, discuss in pairs, then share one answer with the class.
Printable worksheet content
Name: ____________ Date: ____________
- What two categories did our class use today?
- Write one example of training data from the lesson.
- Write one example of test data from the lesson.
- What label did we give to one object or image?
- What pattern might the model have learned?
- Give one reason the model could make a wrong prediction.
- How could we improve the model?
- If the model got 4 out of 5 test examples correct, what was its simple accuracy?
- In one sentence, explain machine learning to a younger student.
- Why should we avoid using private personal data in a classroom AI demo?
- Challenge: If a phone unlock system works well for one person but not another, what data problem might be involved?
Worksheet answer guide
- Answers depend on class choice, such as pencil and not pencil.
- A training example is any labelled object or image used before training.
- A test example is a new object or image not used for training.
- A label is the category name, such as pencil, not pencil, red or not red.
- The pattern may be shape, colour, edge, size, background or a mix of features.
- The model may be wrong because examples were too few, too similar, biased or badly labelled.
- Improve it by adding varied examples, balancing categories, checking labels and testing again.
- 4 out of 5 correct, or 80% if percentages have been taught.
- Good answer: machine learning is when a computer learns patterns from examples to make predictions.
- Private data can identify or expose people, so we use safe object data and follow school rules.
- It may involve biased or unbalanced training data, or weak testing across different people.
Assessment questions with answers
| Question | Good answer |
|---|---|
| What is machine learning? | A type of AI where software learns patterns from examples. |
| Why do labels matter? | They tell the model the correct category for each training example. |
| Why should test data be new? | New examples show whether the model can generalise beyond memorised examples. |
| What does simple accuracy mean? | The number correct out of the total number of test examples. |
| What can cause bias? | Training data that misses important groups, cases, angles, colours or situations. |
| How can we improve a weak model? | Add varied examples, correct labels, balance classes and test again. |
Differentiation
Support for learners who need more help
- Use two simple categories with visible differences, such as red and not red.
- Provide sentence starters: The model learned from, The label means, The test example was.
- Let students point or sort physically before writing.
- Pair students so one handles objects and one explains the reason.
Challenge for faster learners
- Design a three-class version, such as pencil, pen and eraser.
- Predict a failure case before testing.
- Compare accuracy on training examples with accuracy on test examples.
- Connect the lesson to photo search, spam filters, game difficulty, sports movement tracking or shopping recommendations.
Common misconceptions to correct
- AI understands like a human. A classroom model is matching patterns in data; it does not understand an object’s purpose like a person does.
- More data is always better. More useful and varied data can help, but repeated poor examples or wrong labels can hurt performance.
- If the model is correct once, it is reliable. One correct test is not enough. We need several fair tests using new examples.
- Training data and test data are the same thing. Training data is for learning; test data is for checking.
- Bias only means someone was unfair on purpose. Bias can happen accidentally if data is incomplete, unbalanced or collected in a narrow way.
Exit ticket
Ask every student to answer these before leaving:
- What is one thing the model learned from?
- What is one new test you would use before trusting the model?
A strong exit ticket mentions labelled examples for learning and new examples for testing. If many students still say the model just knows, repeat the unplugged activity next lesson with a different object set.
Optional extension lesson
In a follow-up lesson, groups can create their own safe classifier using objects, drawings or sounds, depending on school policy and tool access. They should write a mini project cycle: problem, data, model, evaluation and improvement. This helps students move from using a tool to thinking like designers and evaluators.
Practice MCQs (with answers)
-
What is machine learning?
- A type of AI that learns patterns from examples
- A computer screen used in schools
- A rule that never changes
- A way to make the internet faster
Show answer
Answer: A. A type of AI that learns patterns from examples Machine learning uses examples to find patterns and make predictions or classifications.
-
In the sorting game, what is a label?
- The teacher's desk
- The correct category name
- The number of students
- The internet connection
Show answer
Answer: B. The correct category name A label is the correct category for an example, such as pencil or not pencil.
-
Why should test data be different from training data?
- So the model can memorise answers
- So the test is easier
- So we can check the model on new examples
- So labels are not needed
Show answer
Answer: C. So we can check the model on new examples New test examples show whether the model can generalise beyond the examples it learned from.
-
A class trains only with yellow pencils. The model later calls a yellow eraser a pencil. What may have happened?
- The model may have learned yellow as a pattern
- The model has become a human
- The test data was not new
- Labels are never useful
Show answer
Answer: A. The model may have learned yellow as a pattern If training examples are too similar, the model may learn an unhelpful pattern such as colour instead of object type.
-
Which action could improve a weak classroom model?
- Use fewer examples every time
- Add varied, correctly labelled examples
- Never test it again
- Remove all category names
Show answer
Answer: B. Add varied, correctly labelled examples Varied, balanced and correctly labelled data can help a model learn more useful patterns.
-
Which situation is a sign of possible bias?
- The model works for many different examples
- The model is tested on new data
- The model works well for one group but poorly for another
- The model has clear labels
Show answer
Answer: C. The model works well for one group but poorly for another Bias can appear when data or design choices make a model work better for some cases than others.
Frequently asked questions
How do you teach AI to middle school students?
Teach AI through concrete examples before abstract terms. Start with phone recommendations, camera filters, game bots or autocorrect. Then use an unplugged sorting activity to show labelled data and patterns. After that, demonstrate a simple tool and ask students to test the model with new examples.
What is a simple machine learning lesson plan for beginners?
A simple beginner plan is: introduce familiar AI examples, sort classroom objects into labelled groups, explain training data, train a small image classifier, test it on new objects, and reflect on mistakes. The key learning cycle is examples, labels, model, testing and improvement.
Can I teach machine learning without coding?
Yes. For ages 10-14, it is often better to teach the concept before code. A sorting game shows how labels and patterns work, and a visual demo can show training and testing. Students can learn bias, accuracy and evaluation without writing Python or JavaScript.
How many examples do we need for Teachable Machine?
There is no single classroom number that guarantees a good model. For a short demo, use enough examples for students to notice variation in each category, then test with new objects. If the model fails, add more varied and correctly labelled examples, balance the categories, and test again.
What if my classroom has no internet or student devices?
Run the lesson as a fully unplugged activity. Students sort labelled classroom objects, keep some objects hidden as test data, and record whether their class rules work on new examples. You can still teach training data, test data, accuracy, bias and evaluation without using an online tool.
Is Teachable Machine safe for classroom use?
Teachable Machine can be useful for supervised demonstrations when it fits your school policy and local privacy rules. Use objects, drawings or classroom items instead of student faces. If cameras, microphones or student images are involved, get appropriate permission, supervise closely, and avoid personal information.
What is the difference between training data and test data for kids?
Training data is like practice material that helps the model learn patterns. Test data is like a quiz that checks whether the model can use those patterns on new examples. If students use the same examples for training and testing, the result may look better than it really is.
What should students know after a first AI lesson?
After a first AI lesson, students should know that AI is not magic and does not automatically understand the world. They should be able to say that machine learning uses labelled examples, models can make mistakes, and new test examples are needed before we trust a result.