This lesson introduces Lists and Dictionaries in Python. Students should have some understanding of collections, but they may not be familiar with dictionaries. This lesson also includes a look into sorting algorithms.
Complete a warm-up activity to kick off the meeting. This warm-up is designed to introduce the topic for the lesson, and give students some hands-on experience. Groups will briefly present at the end.
- Provide an overview of the activity
- Students will work in groups to create a Python program that prints out a playlist
- Groups will have 15 minutes to complete the five parts of the activity
- Groups will have to present at the end of that time
- Split into breakout rooms, with one instructor per room
- Share the instructions with the students
- As the students work, monitor their progress
- Ensure that every student participates
- When all groups are complete, bring everybody back to the main room
- Have each group present their work
Here is a base version of the Multiplayer Repl the teams should fork.
Present the Collections PowerPoint Presentation. Review the presentation ahead of time, including the notes in the slides. There are several animations.
Split the group into teams and play the Baamboozle game.
The activity walks through the construction of a sort-by-score application. This should reinforce all of the concepts from the PowerPoint.
The challenges task students with building on the sort-by-score application.
Activity | Time |
---|---|
Warm-up Activity | 25m |
PowerPoint | 20m |
Review Game | 15m |
Break | 5m |
Code-Along | 45m |
Challenges | 10m |