Assignment
Part (i): (25)
Draw an ER Diagram for flight Reservation System. Draw the Complete ER diagram of above scenario by illustrating the diagram with attributes of the entity and relationship.
Part (ii): (25)
Translate the ER diagram to a relational data model identifying the relational schemas, attributes, primary keys and foreign keys.
Flight Reservation System
Consider the following requirements for an airline tickets booking system and the related ER diagram. The system is composed of many airlines. Each airline is identified by a code, name and head quarter’s address. An airline has different mile programs, identified by a type_code, description, and starting date. The different types of flights offered by an airline have a unique number, day of the week, departure time, arrival time, origin, destination, and stops (if applicable). Passengers are allocated into flights and are identified by a number, name, address, sex and age. A passenger can subscribe for one mile program of a certain airline. The system records information about the passengers booked in a flight, together with the date, seat, pilot-name, and crewmembers of that flight. The system also maintains information about the miles accumulated by each passenger in a certain flight. This information is kept as a mile-order identified by a number, quantity and date. The booking can be done through a travel agency, identified by a code, name, address, contact person, and phone number.
Solution:
CS614_2_SOL