# Events > Sixth graders learn about events — things that happen (a click, a key press, a timer) that a program responds to. Most apps and games are event-driven: "when… **Computer Science** | **Grade 6** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-g6-cs-events.html* Sixth graders learn about events — things that happen (a click, a key press, a timer) that a program responds to. Most apps and games are event-driven: "when this happens, do that." They explore the idea, then make something respond to an event. **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… - Define an **event**. - Name common **events**. - Use “**when…do**”. - Make code respond. How does a program know when to do something? Project this and tap each. Have students explore events in programs. ## 50 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Hook — When You Click How does a game know the moment you press a key? #### 👩‍🏫 Teacher Moves - Pose the question. - Share ideas. - Set the goal. #### 🎒 Student Actions - Think. - Share. - Get ready. ### Use — Events Students learn. #### 👩‍🏫 Teacher Moves - Send students to Events. - Tap each one. - Note "when…do." #### 🎒 Student Actions - Tap each. - Say. - Note it. ### Modify — Try It Students practice. #### 👩‍🏫 Teacher Moves - Make a click do something. - Make a key move a sprite. - Add a timer. #### 🎒 Student Actions - Click. - Key. - Timer. ### Create — Create Students apply. #### 👩‍🏫 Teacher Moves - Build an event program. - Use two events. - Test each one. #### 🎒 Student Actions - Build. - Use. - Test. ### Reflect — Reflect Students close. #### 👩‍🏫 Teacher Moves - What is an event? - Name one kind. - Complete the exit ticket. #### 🎒 Student Actions - Say it. - Name one. - 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 events to control programs. Design event-driven algorithms. Test event handlers. Create interactive programs. ## One lesson, every learner ### Multilingual Learners - Event picture cards. - Frame: "when I click, ___." - Demo each event. ### Support & Access - Use click & key only. - Use a template. - Demo it. ### Stretch & Extend - Combine events. - Add a conditional to an event. - Build a mini game. ### What to gather - 📽️Screen / board - ⚡Event cards - 💻Events - 💻Block/code editor - 📓Notebooks - 🎫Exit-ticket slips ### Key terms - **event**: something a program responds to - **click**: a mouse press - **key press**: pressing a key - **timer**: runs code on a schedule - **trigger**: what starts an action - **handler**: code that runs on an event - **event-driven**: built around events - **interactive**: responds to the user ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### Reflect: events. Have students build a program that responds to two events. A printable events sheet is in the CS library. ## Check your understanding **1. What does “event” mean?** - something a program responds to *(correct)* - what starts an action - pressing a key - a mouse press “event” means: something a program responds to **2. Which word means: “a mouse press”?** - trigger - click *(correct)* - event - handler “click” means: a mouse press **3. What does “key press” mean?** - a mouse press - something a program responds to - pressing a key *(correct)* - responds to the user “key press” means: pressing a key **4. Which word means: “runs code on a schedule”?** - click - key press - timer *(correct)* - interactive “timer” means: runs code on a schedule **5. What does “trigger” mean?** - built around events - pressing a key - what starts an action *(correct)* - a mouse press “trigger” means: what starts an action **6. Which word means: “code that runs on an event”?** - handler *(correct)* - event-driven - timer - click “handler” means: code that runs on an event ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-g6-cs-events.html All lessons: https://lessonplans.k12academics.com/