Teach about AI using Jam Sandwiches Follow FizzicsEd Articles: Comments 0 When you talk with students, many have a wide variety of ideas when it comes to understanding our Artificial Intelligence (AI) works. Some students can give clear & concise descriptions of the mechanics of artificial intelligence, whilst others will give vague answers containing misconceptions and partially correct ideas. Let’s be honest, it’s confusing. Especially when you consider the pace at which AI is moving and the wide variety of versions out there. So with this in mind, let’s help students understand the basics of algorithms and feedback loops inherent in AI by adapting a classic in-classroom activity… with jam sandwiches! Simulating AI for Making a Jam Sandwich Using Simple Decision-Making Rules Materials Needed Bread (2 slices) Jam (any kind) Butter knife or spoon Plate Napkin or paper towel Index cards or small slips of paper A friend or family member (optional) Blindfold (optional) Concept In this experiment, students will simulate the step-by-step process that a robot with AI might follow to make a jam sandwich. They will act as the “AI” by strictly following a sequence of predefined instructions. The key point is to emphasize how specific and detailed instructions (algorithms) are required to perform tasks correctly. Steps Part 1 – Preparing the Environment (Ingredients and Tools) Set Up Ingredients and Tools Place the bread, jam, knife or spoon, and plate on a table. Make sure all the items are in reach, but not yet assembled into a sandwich. Write Down the Rules On index cards, write down very simple instructions that represent the “if-then” logic a robot might follow. For example: “If the bread is on the plate, pick up the knife.” “If holding the knife, dip it into the jam jar.” “If the knife has jam on it, spread it on one slice of bread.” Part 2 – Simulating the AI Process Follow the Instructions as a Robot Start by assuming the role of a “robot” AI. You are only allowed to perform actions based on the instructions written on the index cards. For example, if one of the instructions says, “Pick up the bread,” you can only do that after ensuring the bread is on the plate. Make sure the instructions are specific enough to avoid confusion. For example, instead of just saying “spread the jam,” the instruction should specify which slice of bread and how to spread it. Blindfold Variation (Optional) You or a helper can be blindfolded to simulate how robots rely purely on logical instructions (as they do not “see” the way humans do). In this case, the non-blindfolded person can read the instructions aloud Be sure to enforce that if the instructions are too vague (e.g., “spread jam”), this may result in spreading the jam on the wrong side of the bread or missing a step. Each mistake represents how a robot or AI agent might misinterpret or fail if instructions aren’t clear. Part 3 – Learning and Adjusting the Rules The jam sandwich activity is a fantastic way to introduce the core concept of how algorithms and precise instructions drive AI decision-making. After students engage with this hands-on experiment, they’ll have a clearer understanding of how AI works with specific, step-by-step processes. Once they’ve mastered this, they can begin to grasp more complex AI concepts, like feedback loops and machine learning. Evaluate the Process After attempting to make the sandwich, evaluate how well the instructions worked. Did the process go smoothly, or were there gaps in the instructions that led to mistakes? Record any errors (e.g., missed steps, jam not spread properly) and adjust the instructions to be more precise. For example, “Pick up the jam jar with your left hand and the knife with your right hand.” This stage mimics the evaluation of a machine learning model’s performance. Just as AI models make predictions, their instructions lead to results, which can be either successful or flawed. The key here is to record errors and identify where the instructions could be clearer. For example, “Pick up the jam jar with your left hand and the knife with your right hand” ensures both hands are accounted for. Refine and Retry Once you’ve identified gaps or errors, rewrite the instructions to fix them. Then, try again following the new set of instructions. The goal is to make the process more efficient and error-free, simulating how AI algorithms improve over time with feedback and refinement. This stage is about students updating their instructions after pinpointing errors, mimicking the process of “training” an AI model. This mirrors how machine learning models improve: they are adjusted and retrained based on performance, with the goal of becoming more efficient and minimizing mistakes. Once updated, students will test their refined instructions again, aiming for a smoother process. The iteration process here highlights how AI models get better with continuous feedback. A Twist – Passing Instructions to Another GroupFor a deeper understanding of machine learning, have each group pass their updated instructions to another group. This new group, acting as a “new AI model,” will follow these instructions and attempt to recreate the sandwich. This exercise is analogous to transferring machine learning models between datasets or environments and observing how the model adapts.Just as different AI agents trained on different datasets yield varying results, the new group might experience different outcomes. Even with the same general goal (making a sandwich), subtle variations in instructions or interpretation might cause unexpected results, reflecting the real-world complexity of deploying AI systems. Machine Learning in Practice – Build a Dataset and Compare the Model Taking it a step further, students can work in small groups to build a simple dataset, such as gathering data on different techniques for making a sandwich. They can then use this dataset to train an AI model, simulate the process, and compare their results.For example, one group might gather data on spreading jam evenly, while another focuses on different bread textures (try pumpernickel, rye, wholemeal, multigrain and raisin toast). When they run their models, the outputs might differ due to variations in the data they collected, just as AI models trained on different datasets can produce unique results. The act of comparing outputs across groups helps students grasp how data quality and variety influence machine learning outcomes. By the end of these activities, students will better understand the iterative nature of machine learning, the importance of clear instructions (algorithms), and how feedback loops improve AI models over time. Observations and Questions for Students How specific do the instructions need to be to make the sandwich correctly? What happens if an instruction is missing or unclear? How many times did you need to refine the instructions to complete the sandwich-making process successfully? What do you think would happen if AI or robots were given unclear instructions in a complex task? There are many variations of this experiment, (eg. teaching robotics without a robot), but the bottom line is that students need to learn how AI functions as they prepare for the world. Once they understand the implications of feedback loops and clear instructions, you can then look at teaching students how machine learning and neural networks work. From there students have more of a chance to understand how AI is trained on datasets and how these layers of data are connected via deep learning for hierarchical representations and relationships. So, how did your students go? Learn more Listen to Ben Newsome, Carrie Benedet, Suzette Bailey and Jonathan Shack on the EdgyTechMe podcast as we discussed a variety of impacts of AI across Education & Industries. Have a Workshop Fizzics Education & Neuaranext teaches AI & Robotics in schools too! Happy teaching, Ben Newsome Primary science teaching book! “Be Amazing! How to teach science, the way primary kids love” Want more ideas for teaching science? Subscribe to the FizzicsEd Podcast! Love Science? Subscribe! Join our newsletter Receive more lesson plans and fun science ideas. PROGRAMS COURSES SHOP SCIENCE PARTIES Calendar of Events HIGH SCHOOL Science@Home 4-Week Membership 12PM: March 2024 Feb 26, 2024 - Mar 29, 2024 12PM - 12PM Price: $50 - $900 Book Now! PRIMARY Science@Home 4-Week Membership 2PM: March 2024 Feb 26, 2024 - Mar 22, 2024 2PM - 2PM Price: $50 - $900 Book Now! Light and Colour Online Workshop, Jan 18 PM Jan 18, 2024 2PM - 3PM Price: $50 Book Now! Light and Colour Online Workshop, Jan 18 AM Jan 18, 2024 9AM - 11AM Price: $50 Book Now! Lego Robotics, Sydney Olympic Park Jan 2024 Jan 24, 2024 9AM - 12PM Price: $50 Book Now! Creative Coding, Sydney Olympic Park Jan 2024 Jan 24, 2024 1PM - 4PM Price: $50 Book Now! Creative Coding, Sydney Olympic Park July 11 2023 Jul 11, 2023 9AM - 4PM Price: $100 Book Now! Fizzics Education STEAM Day: Robots vs Dinosaurs, Lalor, Apr 14 Apr 14, 2023 9AM - 12PM Price: $45 - $50 Book Now! Creative Coding, Sydney Olympic Park April 14 2023 Apr 14, 2023 9AM - 4PM Price: $100 Book Now! Science@Home After School 4-Week Membership: March 2023 Mar 06, 2023 - Mar 31, 2023 4PM - 5PM Price: $40 - $1200 Book Now! Featured Articles Top tips for 3D printing in schools Topics Biology [44] Events [45] National Science Week [3] Space Science [33] competitions [13] Sustainability [12] Student investigation [2] Social Emotional Learning [1] CAST test [1] Books [3] Farming [1] Outdoors [36] Sport [8] careers [10] UN SDGs [4] collaboration [1] Engineering [4] US Education [1] China [1] Food [5] Outreach [35] STEM [227] Physics [6] Global [2] K to 2 education [1] Virtual reality [2] citizen science [1] Churchill Fellowship [19] Gaming [7] Ozscied [2] Teaching [265] Chemistry [5] International [1] Photography [1] Play [1] numeracy [1] Cleveland [1] Gifted [7] Podcasts [119] Television [2] design thinking [8] Chinese student visits [1] Parenting [4] preservice teaching [5] Higher order thinking [1] Club [4] History [4] Pop Culture [4] Toys & Gadgets [1] project-based learning [5] Science & Technology Camps [1] Lesson ideas [1] Comedy [2] Philosophy [1] Coding [14] Indigenous [3] Preschool [24] Video Conferencing [40] family [2] Design [2] Lab Tech [1] math [1] Pakistan [1] Cooking [3] Kids [36] Remote Education [18] Virtual Excursions [9] Inclusive education [6] Oceans [6] Leadership [1] Electricity [1] Agritech [1] Dinosaurs [7] Kids Parties [5] Robotics [12] Edutech [26] Classroom management [1] video conference [1] special needs [1] scholarship [1] Botany [1] Apps [11] Distance Education [51] Kitchen Chemistry [7] Safety [2] Distance Learning [19] Student encouragement [2] online [5] image [1] Africa [1] Agriculture [4] Eastershow [2] Maker Space [11] Scicomm [141] primary education [46] STEAM [10] virtual [2] gamification [1] Asia Pacific [1] Art [17] Edchat [223] Maths [14] Scied [34] literacy [7] Higher education [4] Child online safety [1] Esports [1] Easter [1] Augmented Reality [4] Edtech [68] Media [18] Science [6] secondary education [45] teacher [1] dis [0] biotechnology [1] curriculum [2] AussieED [1] Education [212] Museums [31] Science News [4] Christmas [1] Vacation care [1] Film [1] computational thinking [2] high [1] Awards [14] Educhange [5] Music [3] Social Media [8] experiments [6] middle school [2] Inquiry-based learning [5] digital technologies [5] Earth science [1] Big History [1] Environment [39] NASA [6] Soils [1] seasonal [1] Artificial Intelligence [4] List [1] Games [1] Medicine [1] Load More Topics
When you talk with students, many have a wide variety of ideas when it comes to understanding our Artificial Intelligence (AI) works. Some students can give clear & concise descriptions of the mechanics of artificial intelligence, whilst others will give vague answers containing misconceptions and partially correct ideas. Let’s be honest, it’s confusing. Especially when you consider the pace at which AI is moving and the wide variety of versions out there. So with this in mind, let’s help students understand the basics of algorithms and feedback loops inherent in AI by adapting a classic in-classroom activity… with jam sandwiches! Simulating AI for Making a Jam Sandwich Using Simple Decision-Making Rules Materials Needed Bread (2 slices) Jam (any kind) Butter knife or spoon Plate Napkin or paper towel Index cards or small slips of paper A friend or family member (optional) Blindfold (optional) Concept In this experiment, students will simulate the step-by-step process that a robot with AI might follow to make a jam sandwich. They will act as the “AI” by strictly following a sequence of predefined instructions. The key point is to emphasize how specific and detailed instructions (algorithms) are required to perform tasks correctly. Steps Part 1 – Preparing the Environment (Ingredients and Tools) Set Up Ingredients and Tools Place the bread, jam, knife or spoon, and plate on a table. Make sure all the items are in reach, but not yet assembled into a sandwich. Write Down the Rules On index cards, write down very simple instructions that represent the “if-then” logic a robot might follow. For example: “If the bread is on the plate, pick up the knife.” “If holding the knife, dip it into the jam jar.” “If the knife has jam on it, spread it on one slice of bread.” Part 2 – Simulating the AI Process Follow the Instructions as a Robot Start by assuming the role of a “robot” AI. You are only allowed to perform actions based on the instructions written on the index cards. For example, if one of the instructions says, “Pick up the bread,” you can only do that after ensuring the bread is on the plate. Make sure the instructions are specific enough to avoid confusion. For example, instead of just saying “spread the jam,” the instruction should specify which slice of bread and how to spread it. Blindfold Variation (Optional) You or a helper can be blindfolded to simulate how robots rely purely on logical instructions (as they do not “see” the way humans do). In this case, the non-blindfolded person can read the instructions aloud Be sure to enforce that if the instructions are too vague (e.g., “spread jam”), this may result in spreading the jam on the wrong side of the bread or missing a step. Each mistake represents how a robot or AI agent might misinterpret or fail if instructions aren’t clear. Part 3 – Learning and Adjusting the Rules The jam sandwich activity is a fantastic way to introduce the core concept of how algorithms and precise instructions drive AI decision-making. After students engage with this hands-on experiment, they’ll have a clearer understanding of how AI works with specific, step-by-step processes. Once they’ve mastered this, they can begin to grasp more complex AI concepts, like feedback loops and machine learning. Evaluate the Process After attempting to make the sandwich, evaluate how well the instructions worked. Did the process go smoothly, or were there gaps in the instructions that led to mistakes? Record any errors (e.g., missed steps, jam not spread properly) and adjust the instructions to be more precise. For example, “Pick up the jam jar with your left hand and the knife with your right hand.” This stage mimics the evaluation of a machine learning model’s performance. Just as AI models make predictions, their instructions lead to results, which can be either successful or flawed. The key here is to record errors and identify where the instructions could be clearer. For example, “Pick up the jam jar with your left hand and the knife with your right hand” ensures both hands are accounted for. Refine and Retry Once you’ve identified gaps or errors, rewrite the instructions to fix them. Then, try again following the new set of instructions. The goal is to make the process more efficient and error-free, simulating how AI algorithms improve over time with feedback and refinement. This stage is about students updating their instructions after pinpointing errors, mimicking the process of “training” an AI model. This mirrors how machine learning models improve: they are adjusted and retrained based on performance, with the goal of becoming more efficient and minimizing mistakes. Once updated, students will test their refined instructions again, aiming for a smoother process. The iteration process here highlights how AI models get better with continuous feedback. A Twist – Passing Instructions to Another GroupFor a deeper understanding of machine learning, have each group pass their updated instructions to another group. This new group, acting as a “new AI model,” will follow these instructions and attempt to recreate the sandwich. This exercise is analogous to transferring machine learning models between datasets or environments and observing how the model adapts.Just as different AI agents trained on different datasets yield varying results, the new group might experience different outcomes. Even with the same general goal (making a sandwich), subtle variations in instructions or interpretation might cause unexpected results, reflecting the real-world complexity of deploying AI systems. Machine Learning in Practice – Build a Dataset and Compare the Model Taking it a step further, students can work in small groups to build a simple dataset, such as gathering data on different techniques for making a sandwich. They can then use this dataset to train an AI model, simulate the process, and compare their results.For example, one group might gather data on spreading jam evenly, while another focuses on different bread textures (try pumpernickel, rye, wholemeal, multigrain and raisin toast). When they run their models, the outputs might differ due to variations in the data they collected, just as AI models trained on different datasets can produce unique results. The act of comparing outputs across groups helps students grasp how data quality and variety influence machine learning outcomes. By the end of these activities, students will better understand the iterative nature of machine learning, the importance of clear instructions (algorithms), and how feedback loops improve AI models over time. Observations and Questions for Students How specific do the instructions need to be to make the sandwich correctly? What happens if an instruction is missing or unclear? How many times did you need to refine the instructions to complete the sandwich-making process successfully? What do you think would happen if AI or robots were given unclear instructions in a complex task? There are many variations of this experiment, (eg. teaching robotics without a robot), but the bottom line is that students need to learn how AI functions as they prepare for the world. Once they understand the implications of feedback loops and clear instructions, you can then look at teaching students how machine learning and neural networks work. From there students have more of a chance to understand how AI is trained on datasets and how these layers of data are connected via deep learning for hierarchical representations and relationships. So, how did your students go? Learn more Listen to Ben Newsome, Carrie Benedet, Suzette Bailey and Jonathan Shack on the EdgyTechMe podcast as we discussed a variety of impacts of AI across Education & Industries. Have a Workshop Fizzics Education & Neuaranext teaches AI & Robotics in schools too! Happy teaching, Ben Newsome Primary science teaching book! “Be Amazing! How to teach science, the way primary kids love” Want more ideas for teaching science? Subscribe to the FizzicsEd Podcast!
This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Cookie Policy.
Thank you for looking to subscribing to our newsletter 🙂 Through this service you’ll be first to know about the newest free experiments, science news and special offers. PLUS: Get a free Kitchen Chemistry Booklet with >20 experiments, how to use variables plus a handy template!
Please fill out the details below and an email will be sent to you. Once you get that just click on the link to confirm your subscription and you're all done!