← Back to course
Intro to CS 9-10 / Week 05
Week 05

Lists

// Keeping track of many values at once

A list is an ordered sequence of elements, and each element has a unique index. On the AP CSP reference sheet, indexes run from 1 to the length of the list, and any index outside that range is an error. A list lets many related values be treated as one value, a data abstraction that manages complexity. Traversing a list visits its elements in order, which is how programs find a minimum or maximum, a sum or average, or search for a value one element at a time.

DAYS THIS WEEK

MONDAY

Monday

19 blocks · 3 graded

TUESDAY

Tuesday

21 blocks · 6 graded

WEDNESDAY

Wednesday

15 blocks · 3 graded

THURSDAY

Thursday

19 blocks · 5 graded

FRIDAY

Friday

15 blocks · 5 graded

MISSION QUEST

Mission Quest

8 blocks · 2 graded

← All weeks 📊 Week review →