# Classes & Objects > Tenth graders get an introduction to object-oriented programming — a class is a blueprint, an object is one thing made from it, attributes are its data, and… **Computer Science** | **Grade 10** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-g10-cs-classes.html* Tenth graders get an introduction to object-oriented programming — a class is a blueprint, an object is one thing made from it, attributes are its data, and methods are its actions. Classes keep big programs organized. They explore the ideas, then design a simple class. **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 a **class**. - Make **objects**. - Use **attributes** & methods. - Organize code. How do programmers bundle data and actions into one reusable thing? Project this and tap each. Have students explore classes and objects. ## 50 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Hook — Blueprints How would you describe EVERY dog with one reusable template? #### 👩‍🏫 Teacher Moves - Pose the question. - Share ideas. - Set the goal. #### 🎒 Student Actions - Think. - Share. - Get ready. ### Use — Classes & Objects Students learn. #### 👩‍🏫 Teacher Moves - Send students to Classes & Objects. - Tap each idea. - Note class vs object. #### 🎒 Student Actions - Tap each. - Say. - Note it. ### Modify — Design It Students practice. #### 👩‍🏫 Teacher Moves - Name a class (e.g. Dog). - List its attributes. - List its methods. #### 🎒 Student Actions - Class. - Attributes. - Methods. ### Create — Create Students apply. #### 👩‍🏫 Teacher Moves - Define a simple class. - Make an object from it. - Call a method. #### 🎒 Student Actions - Define. - Make. - Call. ### Reflect — Reflect Students close. #### 👩‍🏫 Teacher Moves - What is a class? - What is an object? - Complete the exit ticket. #### 🎒 Student Actions - Say it. - Say it. - 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 abstraction with classes and objects. Design modular programs. Test object-oriented code. Reason with abstraction. ## One lesson, every learner ### Multilingual Learners - Class/object diagram. - Frame: "a class is a ___." - Use the Dog example. ### Support & Access - Use the Dog class. - List 2 attributes. - Use a template. ### Stretch & Extend - Add a constructor. - Make several objects. - Explore inheritance. ### What to gather - 📽️Screen / board - 📋Class cards - 💻Classes & Objects - 💻Code editor - 📓Notebooks - 🎫Exit-ticket slips ### Key terms - **class**: a blueprint for objects - **object**: an instance of a class - **instance**: one specific object - **attribute**: an object’s data - **method**: an object’s action - **OOP**: object-oriented programming - **encapsulation**: bundling data & actions - **abstraction**: hiding complexity ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### Reflect: classes & objects. Have students design a simple class with attributes and methods. A printable class sheet is in the CS library. ## Check your understanding **1. What does “class” mean?** - object-oriented programming - a blueprint for objects *(correct)* - hiding complexity - an instance of a class “class” means: a blueprint for objects **2. Which word means: “an instance of a class”?** - instance - attribute - object *(correct)* - method “object” means: an instance of a class **3. What does “instance” mean?** - an instance of a class - one specific object *(correct)* - a blueprint for objects - object-oriented programming “instance” means: one specific object **4. Which word means: “an object’s data”?** - method - attribute *(correct)* - OOP - object “attribute” means: an object’s data **5. What does “method” mean?** - an object’s data - an instance of a class - an object’s action *(correct)* - one specific object “method” means: an object’s action **6. Which word means: “object-oriented programming”?** - OOP *(correct)* - attribute - encapsulation - method “OOP” means: object-oriented programming ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-g10-cs-classes.html All lessons: https://lessonplans.k12academics.com/