CS 124 Object-Oriented Software Design and Implementation
2nd Semester, 2008-2009 (JTA Section)
John Paul Vergara, Ph.D.
Course Syllabus
DISCS Policies on Academic Integrity and Lab Use
Moodle
Announcements
- For incoming seniors/CS 197 students:
attend March 18 9:30 class (CTC 313) about thesis topic turnover.
- Reminder: Milestone 1 for the project due on March 18,
Milestone 2 due March 23. Submit through moodle.
- Miterm exam on March 16, 1-3pm.
No classes March 16 evening to make way for the DISCS open.
- Welcome to the CS 124 JTA course website. Visit this site regularly.
Course Material (specific to JTA class)
- 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 .
-
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).
- 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 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.
Course Material (joint with regular CS 124 class)
Projects