Lesson 2 - Playlist
This lesson provides students with an overview of the operations that are commonly performed on lists: adding, removing, or modifying items; locating or counting occurrences of particular items, etc. Students are presented with a set of short challenges. They are asked to identify the list operations that would be relevant and apply them to perform the required tasks.
Through these challenges, students will indirectly gain a better understanding of the sort of problems where lists might be useful. They also get accustomed to using dot notation for list methods, although this is not the focus of the lesson.
This lesson is the second in a six session teaching unit provided by the National Centre for Computing Education.