Notes and Code:

Class Date Topic
Class Programs
Class Lectures
1 Sept. 5   Intro to class
2 Sept. 7 Programs from chapter 2 slides: ComputeArea.html, DisplayTime.html, FahrenheitToCelsius.html, SalesTax.html, DisplayUnicode.html, ComputeLoan.html, ComputeChange.html, ShowCurrentTime.html, TestScanner.html
Also see corresponding notes and lectures from my Spring 0002 class
Liang Chapter 2 (part covered 9-12)
3 Sept. 12 Programs from chapter 3 slides: LeapYear.html, LearnAddition.html, ComputeTaxWithSelectionStatement.html, SubtractionTutor.html, GuessBirthDate.html
Also see corresponding notes and lectures from my Spring 0002 class
Liang Chapter 3(part covered 9-14)
4 Sept. 14 Programs from chapter 4 slides: SubtractionTutorLoop.html, SentinelValue.html, TestSum.html, TestMultiplicationTable.html, GreatestCommonDivisor.html, FindSalesAmount.html, PrintPyramid.html, TestBreak.html, TestContinue.html, PrimeNumber.html
Also see corresponding notes and lectures from my Spring 0002 class
Liang Chapter 4
5 Sept. 19 TestMax.html, TestPassByValue.html, TestMethodOverloading.html, ComputeTaxWithMethod.html, PrintCalendar.html, PrintCalendarSkeleton.html
Also see corresponding notes and lectures from my Spring 0002 class
Liang Chapter 5
6 Sept. 21 cut and paste from slides Recursion
7 Sept. 26 Array1.txt, Array2.txt, Array3.txt, Histogram.txt, RollDie.txt, StudentPoll.txt, TestPassArray.txt, MakeHot.txt, MakeArrayInMethod.txt, TestCopyArray1.txt, TestCopyArray2.txt, TestCopyArray3.txt Arrays 1 (part covered Sept. 28)
8 Sept. 28 TicTacToe.txt, TestLength.txt, TestMatrixOperation.txt (10-3), GradeExam.txt (10-3) Arrays 2 (part covered Oct. 3)
9 Oct. 3 TestCircle.txt, TestSwitch.txt, TestCircleWithConstructors.txt, TimeTest1.txt Objects & Classes 1
10 Oct. 5 CircleWithAccessors.txt, TestCircleWithAccessors.txt, CircleWithStaticVariable.txt, TestCircleWithStaticVariable.txt, TestDate.txt Objects & Classes 2
11 Oct. 10 TestSmallInt.txt, ThisTest.txt, Time2.txt, TimeTest2.txt, Date.txt, Employee.txt, EmployeeTest.txt, TestPassingObject.txt Objects & Classes 3
12 Oct. 12 TotalArea.txt, ScannerTest1.txt, ScannerTest2.txt, Rectangle.txt, TestRectangle.txt Arrays of Objects, Scanner Class
13 Oct. 17 LinearSearch.txt, BinarySeacrh.txt, SelectionSort.txt, BubbleSort.txt Sort and Search
14 Oct. 19 TestCalculate1.txt, TestCalculate2.txt, TestLongestBlankInString.txt, TestPlayer.txt  
15 Oct. 24 TestReverseString.txt, TestComplex.txt, Complex.txt, TimeTest3.txt, Time2.txt  
16 Oct. 26 Midterm exam
17 Oct. 31 Midterm
Candidate.txt, Election.txt, Sudoku.txt, TestParseInt.txt, TestCalculate.txt,
WelcomeApplet.txt, WelcomeApplet2.txt, WelcomeApplet3.txt, AppletJOptionPane.txt, DrawRectangle.txt, SolidRectangle.txt, MovingRectangle.txt, SlowMovingRectangle.txt, SlowMovingRectangle2.txt
18 Nov. 2 GeometricObject.txt, Circle.txt, Rectangle.txt, TestCircleRectangle.txt
Cylinder.txt, TestCircleCylinderRectangle.txt
Inheritance (part shown Nov 7)
19 Nov. 7   Inheritance, Intro to Polymorphism (part shown Nov 9)
20 Nov. 9 quiz  
21 Nov. 14 Same class hierarchy with equals() methods and test instanceof operator
GeometricObject.txt, Circle.txt, Rectangle.txt, Cylinder.txt, TestCircleCylinderRectangle.txt
TestCircleCylinderRectangle2.txt (try both GeometricObject files), GeometricObject.txt (with abstract methods)
Employee.txt, SalariedEmployee.txt, HourlyEmployee.txt, CommissionEmployee.txt, BasePlusCommissionEmployee.txt, PayrollSystemTest.txt
casting objects and abstract classes
22 Nov. 16 TestComparableBinarySearch.txt, TestComparableMax.txt, TestObjectEqualsLinearSearch.txt, Tokenizer1.txt, Tokenizer2.txt, Tokenizer3.txt, TestDatabase.txt interfaces
23 Nov. 21 String.txt (from the Java API), MyString.txt, TestMyString.txt  
24 Nov. 28 (solution using only stuff from this class -- still not modular) Person.txt, Employee.txt, Student.txt, Staff.txt, Faculty.txt, TestPerson.txt  
25 Nov. 30 (solution using some concepts we have not coevered but can understand - this is more modular - can still be improved) Person.txt, Employee.txt, Student.txt, Staff.txt, Faculty.txt, TestPerson.txt
Building.txt, ResidentialBuilding.txt, EmployeeHousing.txt, Dormitory.txt
26 Dec. 5 Cipher.txt, TestMagicSquare.txt, Minesweep.txt  
27 Dec. 7 short answer review and introduction to data structures  
28 Dec. 12