CS 4604: Project Assignment 4


Assigned on October 16, 2007. Hardcopy due at the start of class on Tuesday, October 23, 2007.

  1. (100 points) Starting from the two-page writeup that you turned in for Step 1 of the project, design an E/R diagram for your application. Your model should provide
    1. 4-6 entity sets,
    2. a similar number of relationships,
    3. one example of a multi-way relationship, and
    4. one example of inheritance, and
    5. (preferably) one example of weak entity sets.

    Your design must satisfy the first two criteria. You may need to expand the scope of your project in order to satisfy these criteria. If you do so, please hand in the two-page writeup from Step 1, with the additional scope clearly explained and demarcated.

    Satisfying the last three criteria is optional. However, for each of the last three criteria that your design does not satisfy, you must state in your response why you think it is "unnatural" for your application (i.e., why multi-way relationships, inheritance, and/or weak entity sets do not make sense for your application). In other words, you should not cook up these elements in your model, just to satisfy the requirements. Your relationships should also have a variety of multiplicities. In short, your design should be "rich" in all these goodies we discussed in class! Do not forget to underline key attributes, to specify referential integrity constraints, specify any domain-specific constraints, and to double-border any weak sets and their connections.
    Strange though it may seem, it is possible that you make your design more complicated than necessary! If you have more than 6 entity sets, you should probably prune them. Do not try to be over-ambitious. Future steps of the project will be much more complicated.


What to turn in:
Hard-copies of the E/R design. Identify your group by your project title and the team members. In a section titled "Explanation", for each entity set and relationship, write a short description in plain English of what it represents or models. One or two sentences per entity set and relationship is enough. These descriptions are primarily to help us understand what you are modelling. 30% of the grade will be for the explanation. Discuss and identify any constraints and restrictions that your domain poses. For constraints that E/R diagrams cannot model, write in plain English what these constraints in a section titled "Notes".
Common Mistakes in Design: