CS 262 - Fall 2009 Class Material
Additional Examples are accessible at Q:\Shared\Huen\262
| Date | Topic | Handouts | Labs/Assignments | |
|---|---|---|---|---|
| 1. | 9/9/09 | Overview |
syllabus Companion web site for our textbook BlueJ software documentation jGRASP software download and tutorial |
|
| 2. | 9/10/09 | Finite-state machines |
FSM slides Program style guide |
|
| 3. | 9/11/09 | Finite-state machines (continued); Testing and debugging | Testing slides | Lab 1 handout |
| 4. | 9/15/09 | Lab #1: Debugging FSM implementations | Assignment 1 handout Read Chapter 19 |
|
| 5. | 9/16/09 | Recursion | Recursion slides | |
| 6. | 9/17/09 | Recursion versus iteration; Object-oriented design; UML class diagram | More recursion slides | |
| 7. | 9/18/09 | Data hiding, encapsulation | General form of a class slides Class design slides |
Lab 2 handout Review chapter 19 for quiz |
| 8. | 9/22/09 | Lab #2: Recursion/Quiz | ||
| 9. | 9/23/09 | Objects & Classes | ||
| 10. | 9/24/09 | Objects & Classes | Assignment 1 due |
|
| 11. | 9/25/09 | Objects & Classes | Lab 3 handout Review Chapter 7 for quiz Reading Assignment: Chapter 9 Inheritance and Polymorphism |
|
| 12. | 9/29/09 | Lab #3: Objects & Classes/Quiz on chapter 7 | Assignment 2 handout - due Oct. 13 |
|
| 13. | 9/30/09 | Inheritance; the "super" keyword; overriding methods |
Inheritance slides |
|
| 14. | 10/1/09 | Polymorphism; dynamic binding; casting |
Polymorphism slides | |
| 15. | 10/2/09 | Polymorphism; dynamic binding; casting |
Lab 4 handout Review Chapter 9 for quiz Reading Assignment: Chapter 10 Abstract classes and Interface |
|
| 16. | 10/6/09 | Lab #4: Inheritance and method overriding/Quiz on Chapter 9 | ||
| 17. | 10/7/09 | Abstract classes and interfaces | Abstract classes; Interface slides |
Exam 1 review |
| 18. | 10/8/09 | Custom interfaces; the Cloneable interface; Cloneable example; | ||
| 19. | 10/9/09 | Lab05 handout Zipped Lab05 project template |
||
| 20. | 10/13/09 | Lab #5: Interface/Quiz | Assignment 2 due Assignment 3 handout A3.zip |
|
| 21. | 10/14/09 | Inheritance and interfaces: Pitfalls Design patterns: The Strategy Pattern |
Strategy Pattern |
|
| 22. | 10/15/09 | |||
| 23. | 10/16/09 | Exam 1 | Lab 6 handout Lab06.zip |
|
| 24. | 10/20/09 | Lab #6 Strategy Pattern - no Quiz | ||
| 25. | 10/21/09 | Discussion of Exam 1 solutions Chapter 17 Exception Handling |
Exception slides | |
| 26. | 10/22/09 | Chapter 17 Exception Handling | ||
| 27. | 10/23/09 | Chapter 17 Exception Handling | Lab07 Exception handout FileReaderDemo.zip Test case 1 Test case 2 Review Chapter Ch.8 and Read Ch. 18 |
|
| 28. | 10/27/09 | Lab 7 Exception and FSM /Quiz on Chapter 17 | Assignment 3 due Assignment 4 handout |
|
| 29. | 10/28/09 | Introduction to file I/O Text and Binary I/O |
I/O slides Binary I/O slides |
|
| 30. | 10/29/09 | Throwing and catching I/O exceptions | ||
| 31. | 10/30/09 | Buffered I/O; writing primitive data values and objects to file | Lab08 Custom Exception handout Study Chapter 18 Binary I/O |
|
| 32. | 11/3/09 | Lab08 Writing Custom Exception/ No Quiz | ||
| 33. | 11/4/09 | Software development process; object-oriented design Class design guidelines |
Modified Chapter 11 slides | Study Chapter 11 |
| 34. | 11/5/09 | Decorator pattern; Inheritance vs. Composition | Decorator Pattern slides | |
| 35. | 11/6/09 | Decorator pattern | Lab 9 handout Lab09_ReadWriteObjects.zip |
|
| 36. | 11/10/09 | Lab #9: Object I/O; Quiz ch. 18 | Assignment 4 due Assignment 5 handout A5.zip |
|
| 37. | 11/11/09 | Random Access files |
||
| 38. | 11/12/09 | Event-driven programming Adapter classes; inner classes; anonymous classes |
Event slides |
|
| 39. | 11/13/09 | Mouse Events; Animation | Lab 10 handout Pseudo code for Lab 10 |
|
| 40. | 11/17/09 | Lab 10 Animation/Quiz Ch. 14 | ||
| 41. | 11/18/09 | Assert Unit testing in BlueJ |
Assertion - chapter 17 BlueJ Unit Testing |
|
| 42. | 11/19/09 | Unit testing in BlueJ | ||
| 43. | 11/20/09 | Exam 2 | ||
| 44. | 11/24/09 | JUnit testing | BlueJ Unit Testing tutorial Testing Multiple Objects |
Assignment 5 due Lab11 Unit Testing Test Programs |
| 11/25/09 | Thanksgiving Holdiay - no class | |||
| 11/26/09 | Thanksgiving Holdiay - no class | |||
| 11/27/09 | Thanksgiving Holdiay - no class | |||
| 45. | 12/1/09 | Lab 11 Unit Testing | ||
| 46. | 12/2/09 | Generics | Ch. 21 Generics |
|
| 47. | 12/3/09 | Generic methods; bounded types | ||
| 48. | 12/4/09 | Generic methods; super types | Lab 12 Generics handout Assignment 6 handout Assignment 6-Sample test file |
|
| 49. | 12/8/09 | Lab #12: Generics/Quiz on Chapter 21 | ||
| 50. | 12/9/09 | UWO was closed due to hazardous weather | ||
| 51. | 12/10/09 | The Java Collections Framework: ArrayList | Guest Lecture |
|
| 52. | 12/11/09 | The Java Collections Framework: Set; Map | Ch. 22 Collections |
|
| 53. | 12/15/09 | Lab: Complete Assignment 6 | ||
| 54. | 12/16/09 | The Java Collections Framework | ||
| 55. | 12/17/09 | Wrap-up session; Review; Q&A Assignment 6 due |
||
| 56. | 12/18/09 | Final exam |