PythonSneks Field Guide

An instructionally-designed, open-source introductory Python curriculum for university settings

Module 8 - Data Structures

Quick summary description

Before the week begins

Major Topics

Materials

Due This Week:

Graded This Week

Student Difficulty

Module 8 - Staff Meeting

Lessons

Lesson 41- Lookup and Find

Summary: Finding an element in a list is much slower than looking up a key via a dictionary.

Learning Objectives:

Activities:

Misconceptions: None listed so far

Lesson 42- Nesting Data

Summary: Lists and Dictionaries are both complex types, which means that they are composed of other types. Not just primitive types, but even other complex types. This means that you can have lists inside of dictionaries, and dictionaries inside of lists. This richer representation allows us to model much more complex stuff.

Learning Objectives:

Activities:

Misconceptions: None listed so far

Lesson 43- Tuples

Summary: Tuples are just like lists, except they have a specific size and cannot be changed.

Learning Objectives:

Activities:

Misconceptions: None listed so far