Problem Session 28 – A Big Example

2022-06-01

Due to family emergency, there will be no in-person lecture on Wednesday, June 1st.

Watch the Lecture Video Recording (From Winter 2022) and do the handouts on your own. You can find the video recording at the bottom of this page.

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 Lecture

Lecture