Python Programming 2 Unit 4: Dictionaries and Records
UNIT BUNDLENEW · GRADES 9–12

Python Programming 2 Unit 4: Dictionaries and Records

The complete Unit 4, all 5 lessons

Guide students through storing and finding data in Python with dictionaries and records. Students look up values by key, count and total with loops, and build records that live in lists. They hash passwords with hashlib so a login can compare hashes and never keep the real password. They finish by planning and building a records program with a menu.

5 lessons · 14 days Unit review + test Print + digital Google Forms + Slides
$30

● Instant download · Lifetime access · Free updates · Secure checkout

Free for your students

13 coding levels come with this

See the levels

Short coding levels practice the unit's lessons in CodeGrove, our code lab that runs in the browser. Students write each program, run it and check it, with no account and nothing to install. Use one with the lesson or as practice later.

See the levels
See inside the curriculum

What's in Every Lesson

All 5 lessons follow the same folder system, so you learn the layout once and teach the whole unit.

Slides + Speaker Notes
One editable deck per lesson, with notes that say what to say.
Guided Notes
Fill-in notes that follow the slides, with a word bank.
Activities + Labs
10 activity sheets and 8 lab sheets, with the labs in CodeGrove.
Bell Ringers + Exit Tickets
A warm-up to open each day and a quick check to close it.
Lesson Quizzes
Multiple choice and written answers, in 4 of the 5 lessons.
Unit Project
A Records Program, graded with a rubric.
Answer Keys
A key for every day, with sample written answers.
Google Forms + Slides
23 Google Forms and 6 Google Slides decks.

See the Actual Pages

Real pages from Unit 4, the same clean design in every lesson.

Guided notes

Notes that follow the slides

Students fill in the blanks during the slides, with the word bank right on the page.

  • ✓ PDF and editable Word
  • ✓ A key for every day
Lesson 4.1 guided notes, page 1
Labs

Real Python in every lab

Students work through labs like Team Roster in CodeGrove, our in-browser code lab, then write their code, the output and a why answer on the lab sheet.

  • ✓ No accounts or installs
  • ✓ A key for every sheet
Lesson 4.3 Team Roster lab, page 1
Unit test

A review and test to close the unit

The bonus folder has a review lesson, the unit test and a Form B retake, each with a Google Form and a key.

  • ✓ Word copies of both tests
  • ✓ Pacing guide and standards crosswalk
Unit 4 test, page 1
Slides

Slides that run every day

Each lesson has one editable deck. Every day starts at its own Day slide, and the speaker notes say what to say.

  • ✓ Editable PowerPoint
  • ✓ Google Slides™ for Google Classroom™
Unit 4 lesson title slideUnit 4 content slide

The 5 Lessons in Unit 4

4.1
Key-Value Pairs
3 days
4.2
Loop Through a Dictionary: Count and Total
3 days
4.3
Records: Dictionaries in Lists
3 days
4.4
A Safer Login: Hashed Passwords
3 days
4.5
Build: A Records Program
2 days
Unit 4 Bonus folder
Unit review + test
Form B retake test
Pacing guide
Standards crosswalk
Vocabulary Bingo

This unit is also part of the complete Python Programming 2 course: all 8 units plus the Course-Wide Bonus folder.

Why Teachers Choose It

Students find data by name, not by position

They use in and .get() to look up keys safely and loops to count and total. Records keep the facts about one thing together.

Security ideas become working code

Students store only hashes in a dictionary and write a login with three tries. A partner tests the records program with bad answers.

Print and digital

Every page is a print-ready PDF, and the Google Forms™ and Google Slides™ let you teach the same unit in Google Classroom™.

Every day fits a 45-minute class

Each day's plan is timed activity by activity against real reading and writing speeds.

What Teachers Say

Be the first to review this

Reviews help me a lot, and they help other teachers pick the right resources for their classes. It takes about a minute.

Leave a review

FAQ

What's in the Unit 4 bundle?
All 5 lessons, each with slides, guided notes, exit tickets and answer keys, plus 10 activity sheets, 8 lab sheets in 5 lessons, a quiz in 4 lessons and the unit project. The Unit 4 Bonus folder adds a review, a unit test with a Form B retake, a pacing guide, a standards crosswalk and Vocabulary Bingo.
Can I buy single lessons or the whole course?
Yes. Each lesson sells on its own, and this unit is part of the complete Python Programming 2 course, which costs less than buying the eight units.
Is this AP Computer Science?
No. It is a full-year, non-AP second course in Python for grades 9 to 12. For AP, see our AP Computer Science A and AP CSP courses.
How is it delivered?
Instant download right after checkout: PowerPoint and Word files you can edit, print-ready PDFs, and links that copy the Google Forms™ and Google Slides™ into your Drive.
Which standards does it cover?
Written for Florida's Intermediate Programming course (9007220). Each lesson's skills map and the unit's standards crosswalk show which standards it teaches.
Do students need computers?
Yes, on lab days. The labs and quiz tasks run online in CodeGrove, our in-browser code lab, so each student needs a computer or tablet. CodeGrove needs no account or install.

Want the whole Python Programming 2 course?

Unit 4 is one of 8. Get the full year for less than the eight units cost separately.

See the full course