# Object-Oriented Programming > Twelfth graders learn the big ideas of object-oriented programming — classes, objects, attributes, methods, and inheritance — the paradigm behind most modern… **Computer Science** | **Grade 12** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-g12-cs-oop.html* Twelfth graders learn the big ideas of object-oriented programming — classes, objects, attributes, methods, and inheritance — the paradigm behind most modern software. **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 a **class** & object. - Know **attributes** & methods. - Match terms to **meanings**. - Think in objects. Most large software is built with objects that bundle data and behavior together. What are the core ideas of object-oriented programming? ## Match the OOP Term Project this and match each OOP term to its meaning — tap a term, then tap its meaning. ## 55 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Hook — Data + Behavior Big software bundles data and behavior into objects — what are the core ideas? #### 👩‍🏫 Teacher Moves - Show a class and object. - Ask how they relate. - Set up. #### 🎒 Student Actions - Look. - Consider. - Get ready. ### Unplugged — Unplug It Students practice. #### 👩‍🏫 Teacher Moves - Design a “Dog” class on paper. - Give it attributes and methods. - Make an object of it. #### 🎒 Student Actions - Class it. - Add them. - Instance it. ### Use — Match Them Students use. #### 👩‍🏫 Teacher Moves - Send students to Match the OOP Term. - Match each one. - Discuss uses. #### 🎒 Student Actions - Match. - Discuss. - Explain. ### Modify — Modify Students modify. #### 👩‍🏫 Teacher Moves - Add an attribute to a class. - Add a method. - Use inheritance. #### 🎒 Student Actions - Add it. - Add it. - Inherit. ### Create — Create Students create. #### 👩‍🏫 Teacher Moves - Write a small class. - Create an object. - Complete the exit ticket. #### 🎒 Student Actions - Write it. - Instance it. - Complete the exit ticket. ## Built to the standards you report on Aligned to the CSTA K-12 Computer Science Standards (Level 3) and ISTE Standards. Construct programs with objects. Use abstraction with classes. Decompose with modular design. Computational Thinker. ## One lesson, every learner ### Multilingual Learners - Term + meaning cards. - Sentence frame: “A class is ___.” - Use a worked example. ### Support & Access - Start with class vs. object. - Match one pair at a time. - Use a clear example. ### Stretch & Extend - Add inheritance. - Explain encapsulation. - Model a real system. ### What to gather - 📽️Projector / board - 💻A coding environment - 💻Match the OOP Term - 📄Class diagrams - ✏️Pens - 🎫Exit-ticket slips ### Key terms - **object-oriented programming**: coding with objects - **class**: a blueprint for objects - **object**: an instance of a class - **attribute**: an object’s data - **method**: an object’s behavior - **inheritance**: getting features from a parent - **instance**: a created object - **encapsulation**: bundling data and behavior ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### Create: think in objects. Have students design a class on paper with two attributes and one method. A printable OOP sheet is in the Computer Science library. ## Check your understanding **1. What does “object-oriented programming” mean?** - coding with objects *(correct)* - bundling data and behavior - getting features from a parent - a created object “object-oriented programming” means: coding with objects **2. Which word means: “a blueprint for objects”?** - class *(correct)* - object-oriented programming - attribute - inheritance “class” means: a blueprint for objects **3. What does “object” mean?** - an instance of a class *(correct)* - a blueprint for objects - getting features from a parent - a created object “object” means: an instance of a class **4. Which word means: “an object’s data”?** - encapsulation - object - object-oriented programming - attribute *(correct)* “attribute” means: an object’s data **5. What does “method” mean?** - an object’s behavior *(correct)* - coding with objects - getting features from a parent - an object’s data “method” means: an object’s behavior **6. Which word means: “getting features from a parent”?** - method - encapsulation - instance - inheritance *(correct)* “inheritance” means: getting features from a parent ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-g12-cs-oop.html All lessons: https://lessonplans.k12academics.com/