Session 11 Preparation — Videos, Reading and Quizzes
Do this Quiz on Session 11
as you watch the videos and read the textbook.
Print it and complete it using pencil or pen, or fill it in electronically — your choice.
- Overloading the Plus Symbol
- Accumulating Sequences
- Read this explanation of Accumulating Sequences
- Use the quiz questions to be sure that you understand the ideas in this handout.
- Patterns for Iterating Through Sequences
-
Video (embedded in a web page) [15:21 minutes]
-
Video (as an mp4 that you can download if you want)
- PowerPoint slides (use these only if the video does not work for you)
- List Operations
- Textbook reading: Section 6.2 —
List Operations (pages 284 - 290, 7 pages).
Focus your attention on:
- Adding elements to a list by using the append and insert
methods,
removing elements by position or by value using the pop
and remove methods (pages 284-286).
- Concatenation and replication (just like strings) (page 287).
- Are two lists equal? (page 287)
- The sum max, min, and sort methods (page
287)
- Copying a list vs. copying a list reference (page 288)
- Summary of common list operations (pages 288-289)
- Sublists and slices (page 290)