CS110: Winter 2021

Intro to Computer Programming with Python

CS110: Winter 2021

Lessons > 19. Dictionaries: Part 1

This week, we will be learning about dictionaries, which are another way (in addition to lists and tuples) to store and represent collections of related data. As a programmer, you will encounter dictionaries all of the time. We’ll go over some common scenarios and take a look at many different kinds of dictionaries.

Today's Activities

1. Download the Exercise Files

Exercise Files

2. Review the Slides

  1. Dictionaries
  2. Supplementary Slides for Live Lecture

3. Review the Lecture Video(s)

Link Type Title Duration
Video 1 required L19a: Dictionary syntax / functionality 11:56
Video 2 required L19b: Dictionaries as lookup tables 10:37
Video 3 required L19c: Dictionaries as entity representations 7:22
Video 4 required L19d: Lists of dictionaries (Twitter) 14:50
Video 5 lecture Live Lecture 53:13

4. Review the References & Supplemental Materials

Note: these readings / videos are suggested for additional context / examples, but not required.

  1. Severance Ch9: Dictionaries.
    readingvideo