

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


MIS 310, Sample Midterm, Fall 2001 PART I (true/false)
f) draw a relational schema for tables from question e) PART III The following are the requirements statement of an airline company. REQIREMENTS: An Airport has an airport code, name, city, state and landing fee. Airport code is unique. An Airplane has an airplane ID, airplane type, total number of seats, and a company that manufactured it. Airplane ID is unique. A Flight has a unique number and the information regarding the days of the week on which it is available [there can be multiple days]. For example: flight number 1211 can be available on Monday, Tuesday, Friday and on Sunday. Also, for every flight we want to keep track of scheduled departure and arrival time. Those times are same for every day of the week flight is available on. An airplane can land in some airports ; an airport can support landing of some airplanes. Every airplane can land in at least one airport. Every airport supports landing of at least two types of airplanes. An airplane can be assigned to several flights. Every flight must have one and only one airplane assigned to it, but not every airplane needs to be assigned to a flight. Every flight is scheduled to arrive at an airport. Every flight is scheduled to depart from an airport. There may be any number of flights (more than zero) scheduled to arrive and depart at each airport. 1) List the entities and their attributes, specifying key attributes and multi-valued attributes. (Do not worry about creating weak entities for multi-valued attributes. Just make sure to recognize and note the existence of multi-valued attributes) 2) List all the Relationships among the entities by drawing an individual E-R diagram for each relationship (if there is more than one relationship between the same two entities use the same diagram). Make sure to mark types (1:1 or 1:M or M:N), cardinality, participation constraints (optional or mandatory) for each side of the relationship (optional or mandatory). Include attributes in the diagrams and make sure to use double line notation for multi-valued attributes. State any assumptions you make clearly. If you use a different notation from what was taught in class, describe it clearly. 3) Draw a complete E-R diagram by merging the diagrams from the problem 5. 4) Draw a relational schema corresponding to the E-R diagram created in question 3. 2