Sei sulla pagina 1di 2

RIP-OFF AIRLINES – ASSIGNMENT 1

You have been recruited by the world famous RIP-OFF airline company that flies
passengers all over the world. RIP-OFF airlines would like you to help in designing their
new database system in celebration of their new merger with EVER-LATE airlines. To
begin, RIP-OFF would like you to develop a full ER schema for the flight reservation and
information system that will facilitate passenger travel. The firm has provided some
corporate guidelines and specifications along with lessons they have learnt from the
previous system that was in place.
Design an ER schema diagram to model NICKEL&DIME Airline’s database (the new name
after the merger). State clearly (and in detail) any assumptions that you make, and state
any constraints outside of primary and foreign keys (everything that is needed to make
your ER diagram work when converted into tables) that are not captured visually in your
E-R diagram. You may use any modeling or diagramming program or simply use
Microsoft word. Once you are done drawing the ER Diagram then convert the diagram
you made into a set of tables ready for implementation. You will now need to draw out
the table implementation clearly connecting the tables and indicating the primary and
foreign keys that will be used. Submit to the Assignment 1 drop box by the deadline.
1) The airline needs to keep specific information on all of their airplanes that they own
and operate since they now have a large fleet. The database needs to capture details
about the airplanes such as but not limited to the type of airplane, capacity in
number of seats, manufacturer and model code.

2) They want to record the airports that these airplanes fly in and out of along with
information about the airport such as but not limited to the three letter airport code
(like ROC), the actual name of the airport, the major city that it serves and the state
it is located in. Each state has different requirements and charges specific to the
state. Further, airports are not all similar as some have larger runways that can
accommodate bigger aircraft but many airports simply cater to small aircraft.

3) EVER-LATE was a regional airline with smaller planes and RIP-OFF was a large
International carrier. Due to this merger, the fleet of aircraft now has both small and
large aircraft of differing ranges and passenger capacities. The design needs to factor
in ways to ensure that the fleet assigns the right aircraft for each leg of a trip as only
some of the models of the airplanes can actually land in some of the airports, i.e.,
not all planes can land at all airports (for e.g. a Boeing 777 wide body jet cannot
land at ROC). Thankfully, every airplane has a specific model code that is easily
identified in the database.
4) The database should keep track of all the trips. A trip is split into ‘LEGS’ and a leg of
a trip is denoted by the departure information such as the departure airport and the
time of departure and its arrival information which includes the arriving airport and
arrival time along with distance traveled for that leg.

5) A particular airplane is assigned to only one given flight leg for any given day. Each
flight leg obviously has a number of seats available that are to be reserved. Each seat
is reserved with a reservation code, the traveler’s information that includes the
customer name, telephone number and an optional frequent flier number.

6) A trip is therefore made up of a sequence of legs, and for each trip they would like to
record the flight number, the reported flight fare, and whether the flight flies on
weekends or not. Weekends have less business travel and the newly formed
NICKEL&DIME airline would prefer to only include profitable routes on weekends.

7) Include anything else you see pertinent to help the newly formed airline add costs to
the passenger to increase their profits. This airline takes their name
(NICKEL&DIME) in a very literal sense. For e.g., think of things to model that you
can charge extra for at boarding time. You can ignore any in aircraft purchases or
post boarding expenses but accommodate pre-boarding extravagances.

ONLY PDF FILES FOR THE SUBMISSION ARE ALLOWED. PLEASE CHECK YOUR
SUBMISSION AFTER YOU HAVE SUBMITTED TO ENSURE THAT YOU CAN VIEW IT.

Potrebbero piacerti anche