Tuesday, January 20, 2004 03:22 AM
Sorry but we don't do other people's homework here. There's no right and wrong answers in object modelling only optimal and less optimal solutions. You'll learn far more by attempting the work yourself and then asking specific questions as and when they arise. Start with the requirements document (your exam quiz in this case). Look for noun-phrases (note to other Gurus: yep there are other ways but this is the simplest in my opinion) and use these as a starting point for identifying relevant classes. Then see if you can identify which behaviour (methods) each class will have. Finally identify the inter-relationships between the classes. During this process, some classes will become redundant and disappear whilst others will be introduced. You'll find it easier as you gain experience but the only way to gain that experience is through practice.