SOEN 342 Midterm: SOEN 342 Midterm 2011 Fall B

63 views8 pages

Document Summary

This example soen 342 midterm #2 contains questions to help you testing your preparedness. Note that the midterm is a closed book exam. 4 5 questions of similar di culty that you will need to solve in about 10 15mins each. Also, note that the actual midterm will not cover the same questions as the ones here (or even the same type of questions)! Midterm exam #2 example questions (7pts: consider the following domain description for email clients: The client has one mailbox which consists of a number of di erent folders. A message cannot exist in more than one folder and cannot exist outside a folder. A user can invoke a view on a message and in fact a user may have multiple views, each corresponding to a single message. Make sure you show all appropriate details, including associations, multiplicities, and aggregations. (d) (1 pt) illustrate the di erence between aggregation and composition using your domain model.