DescriptionThe 3rd edition of Introduction to Programming and Object-Oriented Design continues to provide students with an objects first introduction to programming and software design using Java. Java is used as a vehicle for teaching problem modeling using fundamental software engineering principles and concepts. The text has been updated to include more problems and exercises and additional relevant examples. It also offers optional, interactive exercises using the DrJava integrated development environment (IDE). The UML is employed (very informally) for denoting objects, object relationships, and system dynamics. No specific previous programming experience is assumed, and the text is appropriate for first year computer science majors. The text could also carry over to a second course on data structures or software/OO design.
Chapter 1. Data abstraction: introductory concepts.
Chapter 2. Defining a simple class.
Chapter 3. Designing interacting classes.
Chapter 4. Conditions.
Chapter 5. Programming by contract.
Chapter 6. Testing.
Chapter 7. Building a text-based user interface.
Chapter 8. The software life cycle: building a complete system.
Chapter 9. Specifying clients: interfaces.
Chapter 10. Class extension and inheritance.
Chapter 11. Modeling with abstraction.
Chapter 12. Lists.
Chapter 13. Arrays.
Chapter 14. Sorting and searching.
Chapter 15. Failures and exceptions.
Chapter 16. Stream i/o.
Chapter 17. Building a graphical user interface.
Chapter 18. Integrating user interface and model: the Model-View-Controller pattern.
Chapter 19. Recursion.
Chapter 20. Generic structur5es.
Chapter 21. Implementing lists: linked implementations.
Chapter 22. Iterators.
Supplement a. Systems and software.
Supplement b. Programming errors.
Supplement C. Applets.
Supplement d. Enumerations types: the rest of the story.
Appendix i. Compiling, executing, and documenting.
Appendix ii. DrJava.
Appendix iii. Controls and basic Latin: the first 128 Unicode characters.
- Fully compatible with the latest version of Java (Java 6)
- Many more exercises included
- Additional problems have been added
- More relevant examples
- Objects First Approach. Students learn to design with objects from the start. In more traditional approaches, students first learn ""programming basics in the context of procedural programming in the small."" Since this frame of reference is essentially useless when attacking large-scale problems, students must later ""re-learn how to approach problems. Instructors can present material from a point of view that will ""make sense"" throughout the curriculum. Presentation and justification of programming principles and good techniques is easier.
- Emphasis on the distinction between class specification and implementation. Students learn to develop coherent class specifications early on, and to build components that conform to carefully defined, consistent specifications. The result is more main-tainable, error-free code.
- Early emphasis on testing and test-driven implementation. Students develop a habit of testing as part of the implementation process. Testing is essential to ensure quality programs.
- Current presentation of object-oriented design and Java. Students benefit from seeing general approaches to commonly occurring design patterns in a specific, well-defined context. This will also make it easier for students to ""get the point"" when such topics are introduced in upper-level design and software engineering courses. Other features include an emphasis on event-driven interfaces, rather than traditional procedural I/O; informal use of standard UML notation
- Optional interactive exercises are designed for use with the open-source DrJava integrated development environment (IDE) – a popular tool for compiling and testing programs