Mini-exam 2 over sections 3.1, 3.2, and chapter 4.

Well-defined algorithms:

Partial algorithm: