CPSC 170: Fundamentals of Computer Science II
Spring 2009: Class Notes

Date Topic Associated Reading In-class Code
Jan 12 Review and Timers Sections 6.1 and 6.2 ButtonTest.java
ButtonTestPanel.java
Jan 14 Dialogs, Keyboard Events, and Mouse Events Sections 6.4 and 6.5 DialogTest.java
DialogTestPanel.java
KeyboardTest.java
KeyboardTestPanel.java
MouseTest.java
MouseTestPanel.java
Jan 16 Drawing Images Section 6.2 Pong.java
PongPanel.java
happyFace.gif
Jan 19 Introduction to Arrays Sections 7.1 through 7.3 ArrayTest.java
DrawCircles.java
DrawCirclesPanel.java
Jan 21 Command Line Arguments and Variable Length Arrays Sections 7.3 and 7.4 DrawCircles.java
DrawCirclesPanel.java
Jan 23 Multidimensional Arrays Sections 7.5 and 7.6 MultiDimArrayTest.java
VariableParameterListTest.java
Jan 26 Inheritance Sections 8.1 DrawCircles.java
DrawCirclesPanel.java
Circle.java
InheritanceTest.java
Jan 28 Layout Managers and Overriding Methods Sections 6.3 and 8.2 LayoutDemo.java
IntroPanel.java
FlowPanel.java
BorderPanel.java
GridPanel.java
BoxPanel.java
Jan 30 Abstraction Sections 8.3 through 8.5 DrawShapes.java
DrawShapesPanel.java
Shape.java
Oval.java
Rectangle.java
Feb 2 Polymorphsism and Generics Chapter 9 PolymorphismTest.java
InterfaceTest.java
DrawShapes.java
DrawShapesPanel.java
Shape.java
Oval.java
Rectangle.java
Feb 4 Exceptions Sections 10.1 through 10.3 ExceptionTest.java
TestCards.java
PileOfCards.java
Card.java
GPLcards.tgz
Feb 6 Throwing Exceptions Sections 10.4 and 10.5 ThrowExceptionTest.java
Feb 11 I/O Section 10.6 IOTest.java
MenuTest.java
Feb 13 Debugging, Packages, and JAR files Sections 11.2 and 11.5  
Feb 18 Sorting Sections 13.2 SliderTest.java
Sorting.java
SortingTime.java
Feb 23 Recursion Sections 12.1 and 12.2 RecursionTest.java
Feb 25 Asymptotic Notation Section 13.3  
Feb 27 QuickSort Section 13.2 Sorting.java
SortingTime.java
Mar 9 Recursion and Performance   PowerTest.java
Mar 11 Backtracking Section 12.3 Maze.java
Mar 13 Review    
Mar 18 Searching Section 13.1  
Mar 20 Linear Structure Analysis    
Mar 23 More Recursion   ArithmeticExpression.java
Mar 25 More Linear Structure Analysis    
Mar 27 Even More Recursion   TernarySearch.java
Mar 30 Stacks Sections 15.1 through 15.5  
Apr 1 Final Project  
Apr 3 Queues Sections 15.6 through 15.10  
Apr 6 Breadth-first search    
Apr 8 Threads   ThreadTest.java
Apr 13 Deadlock   ProducerConsumer.java
Game.java
Apr 15 Networks   EchoClient.java
EchoServer.java
SerialTest.java
SerialNetworkTest.java
Apr 17 Induction Introduction to Induction  
Apr 20 Review