Materials for week 7 lab in CS-370, which includes Ch. 8 "Functions & Closures" adapted from Software Design by Example by Greg Wilson.
February 27, 2024
Organization:
- SDX-ch9: The code files for the SDX Ch. 8 activity (as downloaded directly from the book website, unmodified)
Enter your names here
Who will start out as
- DRIVER: Driver's name
- NAVIGATOR: Navigator's name
You will switch halfway through the SDX Ch. 9 activity.
Write your answers to the questions below.
- What were the main ideas from SDX chapter 8?
- What questions did you have about the material in the chapters? What did you find confusing?
Fill in the following table with your definitions and examples for the main concepts of this chapter --- mock objects, context managers, decorators, iterators.
| Concept | Brief Definition | When to use (generally) | Potential uses in audio archive project |
|---|---|---|---|
| mock objects | Add your text here | Add your text here | Add your text here |
| context managers | Add your text here | Add your text here | Add your text here |
| decorators | Add your text here | Add your text here | Add your text here |
| iterators | Add your text here | Add your text here | Add your text here |
Write a short summary of what you did (which exercises) below.