Session 8 Preparation — Videos, Reading and Quizzes
Quizzes:
Do this Quiz on Session 10
as you watch the videos and do the reading (as listed below).
This document is a Microsoft Word document;
here is the same Quiz on Session 10 (pdf) as a PDF.
You can either:
- Download it and fill it in electronically, or
- Print it, fill it in by hand, and scan the result.
In either case, turn it in via the Session 8 Dropbox on our Moodle site.
Videos and Reading (online and textbook):
All of the following are required except the items labeled Optional are, well, optional
(i.e., things that may be interesting but do not directly pertain to your success in this course).
- Sequences
-
Video (embedded in a web page) [8:43 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)
- A written summary (only if you feel the need for it)
- The Last Item in a Sequence
-
Video (embedded in a web page) [3:20 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)
- Iterating Through a Sequence
-
Video (embedded in a web page) [11:35 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)
- Optional
textbook reading:
Section 6.1 — Basic Properties of Lists
(pages 278 - 283, 6 pages)
- This reading covers the same material as the videos, for the most part.
-
Focus your attention on:
- A list is a container that stores an ordered sequence of values.
- The notation for defining a list (pages 278-279).
- Accessing and replacing individual elements of a list (pages 279-280).
- Finding the length of a list by using the len() function (page 280).
- Traversing a list (pages 280 - 281).
- Assignment to a list does not copy the list elements (page 281).
- Out-of-range errors (page 282).
- How to use negative subscripts to address elements near the end of the list (page 282).