AAP-1.C Represent a list or string using a variable.
AAP-1.D For data abstraction:
a. Develop data abstraction using List to store multiple elements.
b. Explain how the use of data abstraction manages complexity in program code.
The objective for this lesson is to use List of sounds to introduce data abstraction. Activity 1 will introduce and demonstrate how they can be used as input parameters in a procedure.
Activity 8.2 (55 minutes)
Facilitate students’ discussion on first iPod commercial and what made the iPod new and different (PowerPoint slide 2).
Present PowerPoint and example code explaining List/Array indices (PowerPoint slides 3-6, 7 (Python) or 8 (Javascript), Archived EarSketch Chapter 18 (Data Structures)).
Discuss code example in PowerPoint slide 9 (Python) or 10 (Javascript).
Facilitate PowerPoint on iterating through a List/Array using a loop (PowerPoint slide 11 (Python), or 12 (Javascript).
Discuss iteration and abstraction (PowerPoint slide 13 (Python) or 14 (Javascript)).
Complete Make a Drum Set MiniTask (PowerPoint slide 15 (Python) or 16 (JS)).