CS1027b Computer Science Fundamentals II

Lab 8

General lab instructions to help labs run smoothly

Upon completion of this lab, you should be able to understand recursive thinking in the solution of a simple problem.

Overview

Upon completion of this lab, you should be able to understand the use of an Ordered List, and how it compares objects in order to have them inserted in the proper place in the Ordered List.

Exercise 1

Exercise 2

Exercise 3

You will now change the ordering of your phone list so that it is ordered by phone numbers rather than by names: