# Sets & Tuples > Tenth graders learn two more Python collections — tuples (ordered but unchangeable) and sets (unordered, no duplicates) — alongside lists and dictionaries… **Computer Science** | **Grade 10** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-g10-cs-sets-tuples.html* Tenth graders learn two more Python collections — tuples (ordered but unchangeable) and sets (unordered, no duplicates) — alongside lists and dictionaries. Each fits a different job. They match types to their properties, then choose the right one. **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… - Know **tuples** & **sets**. - Match type to **property**. - Pick the **right one**. - Use collections. Beyond lists, what other ways can a program group data? ## Match the Collection Project this and match each collection type to what it is — tap the type, then tap the property. ## 50 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Hook — More Than Lists A list stores data in order — but what if you need NO duplicates? #### 👩‍🏫 Teacher Moves - Pose the question. - Share ideas. - Set the goal. #### 🎒 Student Actions - Think. - Share. - Get ready. ### Use — Sets & Tuples Students learn. #### 👩‍🏫 Teacher Moves - Send students to Match the Collection. - Match each one. - Note tuples can’t change. #### 🎒 Student Actions - Match. - Say. - Note it. ### Modify — Try It Students practice. #### 👩‍🏫 Teacher Moves - Make a tuple. - Make a set. - Add a duplicate to the set. #### 🎒 Student Actions - Tuple. - Set. - Dedupe. ### Create — Create Students apply. #### 👩‍🏫 Teacher Moves - Pick a collection for a task. - Explain your choice. - Use it in code. #### 🎒 Student Actions - Pick. - Explain. - Use. ### Reflect — Reflect Students close. #### 👩‍🏫 Teacher Moves - What is a tuple? - What does a set remove? - 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 data structures to store data. Choose appropriate data structures. Test code using collections. Reason about data organization. ## One lesson, every learner ### Multilingual Learners - Type/property cards. - Frame: "a tuple is ___." - Use examples. ### Support & Access - Match list & tuple. - Use 3 types. - Use examples. ### Stretch & Extend - Convert a list to a set. - Use a tuple as a key. - Compare performance. ### What to gather - 📦Collection cards - 📽️Screen / board - 💻Match the Collection - 💻Python - 📓Notebooks - 🎫Exit-ticket slips ### Key terms - **list**: ordered, changeable - **tuple**: ordered, unchangeable - **set**: unordered, unique items - **dictionary**: key-value pairs - **mutable**: can be changed - **immutable**: cannot be changed - **collection**: a group of values - **unique**: no duplicates ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### Reflect: sets & tuples. Have students pick the right collection for a task. A printable collections sheet is in the CS library. ## Check your understanding **1. What does “list” mean?** - no duplicates - ordered, changeable *(correct)* - a group of values - can be changed “list” means: ordered, changeable **2. Which word means: “ordered, unchangeable”?** - mutable - immutable - tuple *(correct)* - unique “tuple” means: ordered, unchangeable **3. What does “set” mean?** - ordered, changeable - unordered, unique items *(correct)* - no duplicates - ordered, unchangeable “set” means: unordered, unique items **4. Which word means: “key-value pairs”?** - tuple - list - unique - dictionary *(correct)* “dictionary” means: key-value pairs **5. What does “mutable” mean?** - can be changed *(correct)* - no duplicates - ordered, unchangeable - key-value pairs “mutable” means: can be changed **6. Which word means: “cannot be changed”?** - tuple - immutable *(correct)* - unique - set “immutable” means: cannot be changed ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-g10-cs-sets-tuples.html All lessons: https://lessonplans.k12academics.com/