# AI Basics > Seventh graders learn how AI actually learns. A machine-learning model is trained on many examples, tested on new ones, and then makes predictions — getting… **Computer Science** | **Grade 7** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-g7-cs-ai-intro.html* Seventh graders learn how AI actually learns. A machine-learning model is trained on many examples, tested on new ones, and then makes predictions — getting better with feedback. They order the learning pipeline, then discuss where the data (and its bias) comes from. **Copy link** works with Canvas, Schoology, Moodle and any other LMS — paste it in as a resource or assignment. ## Everything you need before the bell rings ### Learning Objectives Students will be able to… - Explain **machine learning**. - Order the **training pipeline**. - See why **data matters**. - Spot possible bias. How does an AI learn to make predictions? ## Order the Learning Pipeline Project this and have students put the machine-learning steps in order. ## 50 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Hook — How Does It Guess? How does a photo app know a cat from a dog? #### 👩‍🏫 Teacher Moves - Show an AI prediction. - Ask how it learned. - Set the goal. #### 🎒 Student Actions - Look. - Guess. - Get ready. ### Use — AI Basics Students use the idea. #### 👩‍🏫 Teacher Moves - Send students to Order the Learning Pipeline. - Order the steps. - Note data → train → test → predict. #### 🎒 Student Actions - Order. - Say. - Note it. ### Modify — Change the Data Students modify. #### 👩‍🏫 Teacher Moves - Swap in different training data. - Predict how results change. - Spot a possible bias. #### 🎒 Student Actions - Swap. - Predict. - Spot. ### Create — Apply It Students create. #### 👩‍🏫 Teacher Moves - Pick a task AI could learn. - List the data it would need. - Name one risk or bias. #### 🎒 Student Actions - Pick. - List. - Name. ### Reflect — Reflect Students close. #### 👩‍🏫 Teacher Moves - Say what training means. - Say why data matters. - Complete the exit ticket. #### 🎒 Student Actions - Say it. - Say. - Complete the exit ticket. ## Built to the standards you report on Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students. Use and refine models to make predictions. Discuss issues of bias in computing systems. Decompose a process into steps. Build and evaluate data models. ## One lesson, every learner ### Multilingual Learners - Use a cats-vs-dogs example. - Frame: “learn from examples.” - Order picture cards. ### Support & Access - Use 3 steps (data, train, predict). - One step at a time. - Use pictures. ### Stretch & Extend - Explain overfitting simply. - Design a fair dataset. - Debate an AI use case. ### What to gather - 📽️Screen / board - 🧠Pipeline step cards - 💻Order the Learning Pipeline - 🗂️Data examples - 📓Notebooks - 🎫Exit-ticket slips ### Key terms - **artificial intelligence**: computers doing tasks that seem to need thinking - **machine learning**: learning patterns from examples - **data**: the examples a model learns from - **train**: to teach a model from data - **model**: what the AI builds to make predictions - **predict**: to make a best guess on new input - **bias**: unfairness that can come from the data - **feedback**: corrections that help a model improve ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### Reflect: AI basics. Have students name one task AI could learn and the data it would need. A printable AI worksheet is in the Computer Science library. ## Check your understanding **1. What does “artificial intelligence” mean?** - computers doing tasks that seem to need thinking *(correct)* - to make a best guess on new input - corrections that help a model improve - to teach a model from data “artificial intelligence” means: computers doing tasks that seem to need thinking **2. Which word means: “learning patterns from examples”?** - bias - machine learning *(correct)* - data - train “machine learning” means: learning patterns from examples **3. What does “data” mean?** - to make a best guess on new input - the examples a model learns from *(correct)* - computers doing tasks that seem to need thinking - learning patterns from examples “data” means: the examples a model learns from **4. Which word means: “to teach a model from data”?** - train *(correct)* - machine learning - predict - feedback “train” means: to teach a model from data **5. What does “model” mean?** - to make a best guess on new input - the examples a model learns from - what the AI builds to make predictions *(correct)* - learning patterns from examples “model” means: what the AI builds to make predictions **6. Which word means: “to make a best guess on new input”?** - feedback - train - bias - predict *(correct)* “predict” means: to make a best guess on new input ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-g7-cs-ai-intro.html All lessons: https://lessonplans.k12academics.com/