CS 2511 Midterm 1 Coverage and Topics
- Text: Chapters 1-4
- Chapter 1: Java
- Primitive and object types
- Strings and input
- Exception handling
- Static fields and methods
- Java documentation
- Chapter 2: Object-Oriented Design Process
- Use cases
- Indentifying classes, responsibilities, and relationships
- CRC cards
- UML class diagrams
- Sequence diagrams
- Chapter 3: Guidelines for Class Design
- Three implementations of the Day class
- Separating implementation details from a class's public
interface
- Interface qualities (the five C's)
- Unit testing
- Chapter 4: Interface Types and Polymorphism (may be partial)
- Icon, Comparable, and Comparator
- Java graphics
- Using interfaces to achieve polymorphism
- Swing, anonymous classes, and action listeners
- Animation through timers
- Other:
- Netbeans basics
- 8-Puzzle program
Here are examples of questions that might be asked:
- Describe Netbeans procedures necessary to accomplish a task.
- Write a use case for a given program scenario.
- Draw a class diagram.
- Write a test class suitable for use with JUnit
- Write code that handles a particular kind of exception.
- Draw a sequence diagram that models some given code.
- Write methods for a given partially implemented class.
- Define a class that implements a given interface.
- Identify and describe instances of polymorphism.
- Implement an action listener.
Page URL: http://www.d.umn.edu
/~tcolburn/cs2511/exams/midterm1.html
Page Author: Tim Colburn
Last Modified: Tuesday, 30-Sep-2008 08:32:12 CDT
Comments to: tcolburn@d.umn.edu