Toggle navigation
CS106A
Lectures
1 - Welcome
2 - Control Flow
3 - Decomposition
4 - Variables
5 - ControlFlowRevisited
6 - NestedLoops
7 - Methods
8 - Tracing
9 - Animation
10 - Events
11 - Memory
12 - TextProcessing
13 - FileReading
14 - Arrays
15 - Lists
16 - Matrix
17 - HashMaps
18 - Collections
19 - Interactors
20 - Classes 1
21 - Classes 2
22 - DataVisualization
23 - Internet
24 - Social Networks
25 - Life After CS106A
26 - Overview
27 - Review
Handouts
General Information
SCPD Info
Course Placement
Course Communication
Honor Code
Using Karel with Eclipse
Submitting Your Assignments
Java Reference
Debugging
Midterm Info
Exam Strategies
More String Examples
Graphics Contest
Assignments
0 - Who are you
1 - Karel
2 - SimpleJava
3 - Breakout
4 - Hangman
>
5 - DarkRoom
6 - NameSurfer
7 - Shahidi
Graphics Contest Project
Examples
Step Up
Place 100
Beeper Line
Invert
Restaurant
Carbon Dating
E=MC2
Graphics Demo
Sections
Section 1
Section 1 Handout
Section 1 Solutions
Section 1 Code
Section 2
Section 2 Handout
Section 2 Solutions
Section 2 Code
Section 3
Section 3 Handout
Section 3 Starter Code
Section 3 Solutions
Section 3 Code
Section 4
Section 4 Handout
Section 4 Solutions
Section 4 Code
Section 5
Section 5 Handout
Section 5 Solutions
Section 5 Code
Section 6
Section 6 Handout
Section 6 Solutions
Section 6 Code
Section 7
Section 7 Handout
Section 7 Solutions
Section 7 Code
Section 8
Section 8 Handout
Section 8 Starter Code
Section 8 Code
Section 8 Solutions
Section 9
Section 9 Handout
Section 9 Starter Code
Section 9 Code
Section 9 Solutions
View My Section
View All Sections
Schedule
Lecture 15: Lists
February 13th, 2019
Learning Goals
The goal of today's class is for you to be able to write programs that can create and use ArrayLists.
Lecture Materials
Slides Ppt
Slides Pdf
Lecture Code
Eclipse Project
Extra Practice
If you would like some extra practice, try out these problems:
mystery1
switchPairs
removeRange