Problem Session 28 – A Big Example

2022-3-11

Please submit your CAPEs for the course at https://cape.ucsd.edu/, including evaluations for your TAs!

Pre-class Tasks

This worked example will serve as a review of most of the topics we’ve seen in class so far, including interfaces, Collections classes, loops, recursion, testing, and memory diagrams.

Videos:

Choosing a Representation 1

Choosing a Representation 2

Some Examples

More Examples

A Filesystem Method

Trace 1

Trace 2

Code from videos:

Handout:

Part1:

Part2:

Recording

Lecture 28 - Recording

Completed Worksheets from Dicussion and Lecture

Lecture