Before jumping into Unit 5...
Presurvey for Unit 5 content (not a grade but will show growth at the end of Unit 5)
Recap - what is a VARIABLE?
What DO You Know?
List
Element
Index
Today's Guided Notes
Warm Up (5 minutes)
Activity (30 minutes)
Wrap Up (10 minutes)
Mathis handout - lists visualized
Guided Notes PowerPoint
LIST: an ordered collection of elements
ELEMENT: an individual value in a list that is assigned a unique index
INDEX: a common method for referencing the elements in a list or string using numbers
Note: Lists are an example of data abstraction. They allow us to name and program with large collections of information while ignoring the low-level details of how the data is stored, organized, etc. These programs are easier to develop and maintain.
Students will learn the ways that lists are created, accessed, and changed through a teacher-guided activity using plastic baggies and pieces of paper. The lesson begins with a brief reflection on the value of lists. Students then complete the main activity which introduces the syntax to use lists and the ways they can be used. To wrap up students watch two short videos on lists and record the main concepts in their journals.
In the warmup, students brainstorm different lists of information that they encounter on a daily basis. Then in the activity, students return to baggies and sticky notes from the previous unit to build a concrete model of a list before seeing how lists are programmed in Javascript. Students are exposed to different ways of interacting with a list like accessing, removing, appending, and inserting elements. The wrap up concludes the lesson with a summary video and a journal vocabulary exercise.
CSP Conceptual Framework
AAP-1 - To find specific solutions to generalizable problems, programmers represent and organize data in multiple ways.
AAP-2 - The way statements are sequenced and combined in a program determines the computed result. Programs incorporate iteration and selection constructs to represent repetition and make decisions to handle varied input values.
CSTA K-12 Computer Science Standards (2017)
AP - Algorithms & Programming
3A-AP-14 - Use lists to simplify solutions, generalizing computational problems instead of repeated use of simple variables.