CS 124 Object-Oriented Software Design and Implementation
2nd Semester, 2008-2009
John Paul Vergara, Ph.D.
Course Syllabus
DISCS Policies on Academic Integrity and Lab Use
Moodle
Announcements
- Attend class on March 18 (CTC 313)
(turn over of thesis topics of seniors to juniors).
- Final exam coverage: design patterns including
student reports .
- January 26: no classes.
- Reminder: midterm exam
on January 30 moved to February 9, in class.
- No classes on January 19.
Your instructor has an off-campus meeting during class time.
- January 12: (TO BE SUBMITTED BY MIDNIGHT TODAY)
- Complete the class exercise on the Composite Pattern
found in the course materials section.
- Using java.util.Iterator as the iterator interface,
add iterator code for the composite classes
using the Iterator patetrn.
- Add tester code in TextTester.java
that tests your iterator code.
- Submit through
moodle.
- December 10: Project 1 specs have been posted.
Milestone 1 for the project is due on December 20.
- December 4: updated the UML slidesets;
typos corrected and details updated for consistency with examples.
- Welcome to the CS 124 course website. Visit this site regularly.
Course Material
- OOP Review
- Class Diagrams Part I
- Class Diagrams Part II
- Seatwork on class diagrams:
Design a set of classes for the following applet:
- Java code to be used for demonstrating UML techniques:
- Use Cases
- Interaction Diagrams
- State Diagrams and Other Techniques
- Patterns
To demonstrate the Adapter pattern,
try using the House class in this
package
and include it as a shape in our
Shapes Applet .
- More Patterns
-
Class Exercise on the Strategy pattern:
Unzip this archive
and carry out the revisions specified in SorterDemo1 and SorterDemo2.
-
Class Exercise on the Iterator pattern:
Unzip this archive
and explore each version of the application.
Complete the revisions indicated in Tester classes for Version1 and Version3
(instructions are placed in comments, towards the
end of the program).
-
Alternative implementations
of the iterator pattern using the example above.
(these implementations do not use inner classes).
-
Class Exercise on the Composite pattern:
Unzip this archive
and complete the application.
All classes you need to add are indicated in TextTester.java.
Expected output for the tester class is in textout.txt.
- Demo of Proxy pattern.
- JDBC
- JDBC Lab
to be accomplished today, Jan 23.
- JDBC Part II
Projects
- Project 1 Specs ;
Milestone 1 due December 20.
- Project 2 Specs:
Using Hibernate or JDBC,
add persistence to the GUI/JFrame version of Project 1.
This means that when you quit the program
and start it over, the state of of the store is preserved.
This can be done automatically during start up
or through a load and save option provided in the interface.
Submit an updated UML diagram that incorporates this revision.
Due March 2 for Maddy Ong and JR Reyes,
March 21 for everyone else.