Home›Lesson Plans›Computer Science›Programming · Grade 10

Sets & Tuples

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.

Grade 10Sets & Tuples50 minutes1 class periodCSTA / ISTEExplicit teaching4 StandardsCSTA
Start the Lesson
Assign or share this lesson

Copy link works with Canvas, Schoology, Moodle and any other LMS — paste it in as a resource or assignment.

Lesson at a Glance

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.
Essential Question

Beyond lists, what other ways can a program group data?

0
Lesson Phases
0
Vocabulary Terms
0
Standards Aligned
0
Interactive Task
Match It · Interactive

Match the Collection

Project this and match each collection type to what it is — tap the type, then tap the property.

📦 Match each collection to what it isTry it
Type
What it is
Now tap the property!
The Lesson · Explicit teaching

50 minutes, five moves

Tap any phase to open the teacher moves and student actions.

1

Hook — More Than Lists

5 min

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.
2

Use — Sets & Tuples

12 min

Students learn.

👩‍🏫 Teacher Moves

  • Send students to Match the Collection.
  • Match each one.
  • Note tuples can’t change.

🎒 Student Actions

  • Match.
  • Say.
  • Note it.
3

Modify — Try It

13 min

Students practice.

👩‍🏫 Teacher Moves

  • Make a tuple.
  • Make a set.
  • Add a duplicate to the set.

🎒 Student Actions

  • Tuple.
  • Set.
  • Dedupe.
4

Create — Create

15 min

Students apply.

👩‍🏫 Teacher Moves

  • Pick a collection for a task.
  • Explain your choice.
  • Use it in code.

🎒 Student Actions

  • Pick.
  • Explain.
  • Use.
5

Reflect — Reflect

5 min

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.
Standards Alignment

Built to the standards you report on

Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students.

CSTA
3A-AP-14

Use data structures to store data.

CSTA
3A-DA-09

Choose appropriate data structures.

CSTA
3A-AP-17

Test code using collections.

ISTE
5c

Reason about data organization.

Differentiation

One lesson, every learner

Multilingual Learners

ELL / EMERGING READERS
  • Type/property cards.
  • Frame: "a tuple is ___."
  • Use examples.

Support & Access

IEP / 504
  • Match list & tuple.
  • Use 3 types.
  • Use examples.

Stretch & Extend

GIFTED / EARLY FINISHERS
  • Convert a list to a set.
  • Use a tuple as a key.
  • Compare performance.
Materials

What to gather

  • 📦Collection cards
  • 📽️Screen / board
  • 💻Match the Collection
  • 💻Python
  • 📓Notebooks
  • 🎫Exit-ticket slips
Vocabulary

Key terms — hover for a quick definition

listordered, changeabletupleordered, unchangeablesetunordered, unique itemsdictionarykey-value pairsmutablecan be changedimmutablecannot be changedcollectiona group of valuesuniqueno duplicates
Evaluate

Exit Ticket

Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.

QUESTION 1
What is a tuple?
An ordered collection that cannot be changed.
QUESTION 2
What does a set automatically remove?
Duplicate items.
QUESTION 3
What does a dictionary store?
Key-value pairs.

Reflect: sets & tuples.

Have students pick the right collection for a task. A printable collections sheet is in the CS library.

Study · Flashcards

Study the key terms

Tap a card to flip it, then rate whether you knew it. Built from this lesson’s vocabulary.

🃏 Sets & TuplesFlip
Card 1
Term
Tap to flip →
Meaning
0

Nice work!

Practice · Quiz

Check your understanding

A quick self-check with instant feedback, drawn from this lesson’s key terms.

📝 Sets & TuplesQuiz
Score: 0
1 / 6
Question 1
0%

Nice work!

Practice · Worksheet

Printable worksheet

A print-and-go review sheet with a built-in answer key. Tap “Show answer key” to reveal answers, or print the clean version for students.

🖨️ Sets & TuplesPrint
Name: ________________________
Date: ____________

Part A · Write the word that matches each meaning

Word bank: collection, dictionary, immutable, list, mutable, set, tuple, unique
  1. can be changed
  2. a group of values
  3. no duplicates
  4. key-value pairs
  5. ordered, changeable
  6. unordered, unique items
  7. cannot be changed
  8. ordered, unchangeable

Part B · Show what you learned

  1. What is a tuple?
  2. What does a set automatically remove?
  3. What does a dictionary store?
Answer key — Part A: 1) mutable · 2) collection · 3) unique · 4) dictionary · 5) list · 6) set · 7) immutable · 8) tuple
Part B: 1) An ordered collection that cannot be changed. 2) Duplicate items. 3) Key-value pairs.