|
Comp202: Principles of Object-Oriented Programming II
|
Class will be held every Monday, Wednesday and Friday from 10:00 AM to 10:50 AM in the Symonds I lab (Sewall 207).
Lab will be held 3:30 PM - 5:00 PM in the Symonds II lab (outside of Duncan Hall)(.
Please see the lab page for times and locations of the laboratories.
Dr. Stephen B. Wong -- See home page for contact and office hour information.
Teaching Assistants Office Hours & Location TBA
We do not require any text books since none of the existing text books meet our needs and requirements. We do have a few recommendation however.
- The Java Programming Language, 3rd edition, by Arnold, Gosling, and Holmes, Addison-Wesley, 2000. ISBN 0201704331
James Gosling is the creator of Java. This is the definitive Java reference. However, this book does not cover all the topics of the course and will be used only as a reference for Java syntax and semantics.
- Design Patterns, Elements Of Reusable Object-Oriented Software, by Gamma, Helm, Johnson, and Vlissides, Addison-Wesley, 1995. ISBN 0201633612
This is the bible of the pattern community. It predates Java. The authors are affectionately referred to as the Gang of Four (GoF). All examples are written in C++ and/or Smalltalk. It can be hard to read if you are not familiar with these two languages, though the ideas are language independent. The "pattern language" used in this book also requires a lot of getting used to. We have learned so much from this book, and we are still reading it and learning from it. There is a version on CD-ROM which is cheaper (and perhaps, more versatile). We strongly recommend it, especially to any student considering further work in object-oriented programming.
- Thinking in Java, 2nd ed., by Bruce Eckel, Prentice Hall PTR, 2000. ISBN 0-13-027363-5.
Good OO treatment, with a little more detail on syntax than Gosling's book. Students often find it useful for "nuts-and-bolts" information on programming. The full text is available as a free download from www.bruceeckel.com. Also at the web site is his on-line only book: Thinking in Patterns with Java, which is recommended reading.
- Design Patterns Java Workbook, by Steven John Metsker, Addison-Wesley 2002.
One of the latest imitation of the GoF's book using Java and Java GUI components as examples.
- Java Design Patterns, A Tutorial, by James Cooper, Addison-Wesley 2000.
Another imitation of the GoF's book using Java and Java GUI components as examples.
- Patterns in Java, John Wiley & Sons, 1998, by Mark Grand.
Another imitation of the GoF's seminal book.
- Graphic Java 2, Mastering the JFC 3rd edition, by David Geary, Sun Microsystems Press, 1999.
This is by far the most well-written book on writing GUI applications in Java.
Students must satisfactorily complete Comp201 before enrolling in Comp202.
Comp202 is a continuation of Comp201 covering advanced object-oriented data structures and their associated algorithms such as lazy evaluation, heaps, self-balancing trees, graphs, sorting, and generative recursion. Applications of software engineering principles such as abstract decomposition, decoupling, and command passing to large- and small-scale component-framework systems. Multi-threaded event-driven applications provide compelling illustrations for such principles. Since the textbooks do not systematically present these topics, additional lecture notes will be provided. As such, class and laboratory attendance is mandatory!
Advanced Java syntax will be covered as well as how to use the intergrated development environment, DrJava, to write and test Java programs. JUnit, which is integrated into DrJava, will be used as the unit testing platform.
Programming assignments are designed to help understand how the above concepts are implemented and used in various situations. These assignments constitute as an integral part of the course. They can be very time-consuming and require that you start working on them early and budget your time wisely.
Laboratory sessions serve to complement the class lectures and provide a highly interactive environment where students can work in small groups to explore and discuss new topics, topics presented in the lectures, and problems that may arise from the assignments. Attending and actively participate in the lab discussions will help you succeed in the course.
Recommended for Engineering majors, non-Engineering students, and potential Computer Science majors.
Upon successful completion of the course, the students should know:
- How to build both small and large loosely coupled software systems that are flexible, extensible, robust and correct.
- How to build large systems using an incremental, test-driven development approach.
- How to design a command-passing architecture to decouple a system.
- How to use parametric polymorphism (generics) to create more abstract code.
- Advanced sorting algorithms such as QuickSort and heapsort.
- Graphs and graph traversal algorithms
If time permits, the following topics may be covered as well:
- Additional design patterns such as facade, template and iterator.
- Additional algorithms, such as hashing and sorting.
- Using stream I/O to process files.
- Using remote method invocations to communicate from one computer to another
Please follow the navigation links above to see the topical schedule for lectures and labs.
The course grade will be based on:
Homework Assignments (45% total)
Exams (3 @ 10%, 20%, 20% respectively)
Final Project (5%)Assignments due dates and rules will be clearly stated at the time they are given.
No make-up exams will be given unless there is a legitimate excuse such as proof of medical emergency. All permissions must be requested and approved in writing (hard copy or e-mail) BEFORE the due date!
We reserve the right to modify the above weightings at any time.
Rice University has a student-run academic honor system. Each student has personal responsibility for honesty in their own academic conduct. Each student has the responsibility to report any suspected problems to the Honor Council in a timely fashion. During any Rice exam, the student is expected to write the honor pledge on the outside of the exam:
On my honor, I have neither given nor received aid on this examination.
The Computer Science Department takes the Rice Honor System very seriously and handles all violations accordingly. General rules of conduct concerning collaboration will be spelled out before assignments or exams are distributed (see for instance, above). When in doubt, contact an instructor before proceeding.
For more information concerning the Rice Honor System, see:
Any student with a documented disability needing academic adjustments or accommodations is requested to speak with us during the first two weeks of class. All discussions will remain confidential. Students with disabilities should also contact Disability Support Services in the Ley Student Center.
.
Last Revised Thursday, 03-Jun-2010 09:52:32 CDT
©2007 Stephen Wong and Dung Nguyen