Activity of Feb. 9, 2011

Post date: Feb 09, 2011 1:12:16 PM

After a very quick review of the Fibonacci problem from the past test, we move to the topic of interfaces. They are the focus of Section 11.7 of the book, although they are mentioned peripherally many more times. We first saw them in a project about Object Orientation, but abandoned them there. We will revisit that project along with the Game of Life and the Wandering Mathematician, which also included interfaces. We will program a Biologist together and then, time permitting, a Pedometer apart.

Tomorrow we review sequential search, make sure that and test cases are programmed, then move on to program binary search. You should read sections 13.1-2 for background information on comparing objects. As you might guess, interfaces are involved.