Dictionaries: Key-Value Pairs
Introduce dictionaries as collections of key-value pairs. Learn how to create and access values using keys.
What you'll learn
- Identify the key and value in at least three different key-value pairs within a given dictionary example.
- Explain, in their own words, the relationship between a key and its corresponding value in a dictionary.
- Create a dictionary with at least four key-value pairs to represent information about their favorite video game or book.
- Apply their understanding of dictionaries to retrieve a specific value from a pre-built dictionary when given its corresponding key, with 80% accuracy.
Tutorial Preview
Introduction & Learning Objectives
Key Concepts & Vocabulary
Core Syntax & Patterns
4 more steps in this tutorial
Sign up free to access the complete tutorial with worked examples and practice.
Sign Up Free to ContinueSample Practice Questions
Want to practice and check your answers?
Sign up to access all questions with instant feedback, explanations, and progress tracking.
Start Practicing FreeMore from Data Structures: Organizing Information
Computer Science for other grades
Frequently asked questions
What grade level is "Dictionaries: Key-Value Pairs"?
Dictionaries: Key-Value Pairs is a Grade 8 Computer Science lesson on ExcelOS.
What will I learn in Dictionaries: Key-Value Pairs?
You'll be able to: Identify the key and value in at least three different key-value pairs within a given dictionary example; Explain, in their own words, the relationship between a key and its corresponding value in a dictionary; Create a….
Is "Dictionaries: Key-Value Pairs" free to practice?
Yes. You can read the tutorial preview for free, and signing up for a free ExcelOS account unlocks the full tutorial and all practice questions with instant feedback.
How many practice questions are included with Dictionaries: Key-Value Pairs?
This lesson includes 25 practice questions across multiple difficulty levels, each with instant feedback and explanations.