CS 124 Object Oriented Design and Implementation
2nd Semester, 2006-2007
John Paul Vergara, PhD
Student Reports on Patterns are now available.
- March 19,21,23: Project defenses during these dates.
You should be repared to explain any of three projects you have submitted
for this course. Bring a certificate of authorship (one single
certificate will do, indicate all three projects in the certificate).
- Feb 2: Your instructor might be late.
In the meantime, carry out the following
lab exercise for today .
Regular lectures shall resume next week.
- Jan 26: Midterm (handson portion)
- Jan 22: Take the quiz and
try out the programs in this zip file
- Jan 5: Lab on C++
- Deadlines for project 2 deliverables moved to Jan 5 and 12.
Spec correction: there is only one parameter (prepaid number)
to the balance command.
- Dec 15 Quiz: Write an interaction diagram
for the use borrow use case of this
Revised Library System
- Dec 11: Lab
to be submitted by end of period today.
- Nov 27: I will not be around for today's class.
There will be a seatwork that you need to submit via
The objective of the seatwork is to familiarize
yourself with UML modeling software.
Use Microsoft Visio to create a UML Class Diagram
(File->New->Software->UML Model Diagram) for
the quiz I gave last Friday (they will be returned today;
submit a corrected diagram).
Submit an "Advisement.vsd" file by the end of the class period.
- Code that demonstrates interfaces
and multiple implementations of data structures
course has been setup; please enrol yourself into
- No CS 124 class on November 17.
- November 13: Welcome to this website! Visit this
website regularly for announcements and course material updates.
Projects / Homework
- Project 1 (Due December 4):
Sample Input File
- Project 2 (Due January
Sample Input File
- you may assume entries in the input file have the correct format
(no error checking required)
- you may output to a text file or to the standard output
- when payment to a postpaid account exceeds balance
you may set balance to zero or a negative amount (excess credit).
- Project 3 (Due Feb 25):
Write a C++ version of project 2. Submit a zip file of all C++
- Design Patterns
Introduction to Patterns
- Guidelines on pattern presentations
- Prepare a 20-minute presentation (around 10 slides)
- Include intent, description of pattern, motivation, UML diagrams,
sample code, and relationships with other patterns if applicable
- Spend most of your presentation time explaining demo code.
Keep the code as simple as you can.
- If you use material from other sources, make sure you cite
the sources and that you completely understand the material
Here are some websites that may be helpful:
data and object factory
- Report Schedule
- Sample presentations on patterns
Student Reports on Patterns