Tenth graders store data as key-value pairs with a dictionary. Instead of a numbered position, each value has a meaningful key — like capitals[‘France’] gives ‘Paris’. They match keys to values, then build and look up data in a dictionary.
Students will be able to…
How do you store and look up data by a meaningful key?
Project this and match each key (country) to its value (capital) — tap the key, then tap the value.
Tap any phase to open the teacher moves and student actions.
How would you store each country’s capital for instant lookup?
Students use the idea.
Students modify.
Students create.
Students close.
Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students.
Create prototypes that use data to solve problems.
Use data structures to reduce complexity.
Combine control structures with data.
Organize data to build solutions.
Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.
Have students build a 4-entry dictionary and look up one value. A printable dictionaries worksheet is in the Computer Science library.
Tap a card to flip it, then rate whether you knew it. Built from this lesson’s vocabulary.
A quick self-check with instant feedback, drawn from this lesson’s key terms.
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.