CPlusOOP
SiteMap
OO Analysis
Problem Analysis
OO Programming
«Prev
Next»
OO-Design
Detailed Design
OO Programming
Procedural Programming
Object Oriented Approach
Design Process
Eliminate Classes Problem Domain
OO Design Conclusion
Object Oriented Concepts
Responsibilities Collaborators
Video Store Example
OOA Benefits Encapsulation
Structured Programming
Benefits OOA
OO Conclusion
Object Oriented Approach
OOA Simpler Analysis
OOA Enables Reuse
Simplifies Team Work
OOP Conclusion
User Defined Data Types
Classes Objects
Class Data Type
Choosing Class Attributes
Object Instance
Class Object Difference
Class Composition
When to use Composition
Build Complex Objects
Drawing Class Diagram
Class Construction Conclusion
Eliminating Classes - Exercise
Video store example: Eliminating classes
Objective:
Choose the classes in your course project.
Scoring
This exercise is worth a total of 10 points.
To receive full credit, you will need to create a list of classes for the Checkbook Manager application.
Instructions
Put together a list of nouns that you feel might apply to the Checkbook Manager application. Use these nouns as your starting point:
Check
Bank
Money
Budget
Stock
Credit card
Checking account
After you have generated at least 30 words (50 would be better), stop and give them all a critical look. For each word, ask whether it has something to do with managing a checking account. Does it represent an entity that does something, or tracks several values, or is more than just a number or a string of characters? Are there synonyms in your list? Narrow your list down and then enter your final class list in the text box below.
Hints
Do not try to decide whether a word is a good class or not until you have compiled what you feel is your complete listing.
Submitting your exercise
Enter your list of nouns in the text box below and then press the
Submit
button.
Submit