Unit V: Sorting and searching

Lecture notes

Sample Programs


The do/while and switch control structures are in Chapter 9, of the textbook, pages 228 to 229.

Sorting and searching aren't really covered in much detail in the textbook, but insertion sort pops up on pages 149-153.

As ever, the material is a little different from what we looked at in class, but all of it is relevant. Don't skip stuff just because I didn't mention it.