Advertisement
johnmahugu

airport reservation system

May 9th, 2016
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.73 KB | None | 0 0
  1.  
  2.  
  3. *
  4. case study.doc
  5.  
  6. *
  7. Task#1:
  8.  
  9. Draw an Entity Relationship Diagram (ER Model) for the given case study along with proper associations and cardinalities.
  10.  
  11. Task#2:
  12.  
  13. Derive the tables from the ER model and normalize up to third normal form (3rd NF)
  14.  
  15. Task#3:
  16.  
  17. De-normalize the database (obtained after completing task#2) by using the "collapsing tables" technique.
  18.  
  19. **
  20. Heading Here
  21.  
  22. Case Study
  23. Heading Here
  24.  
  25. Air-Ticket Reservation System
  26. **
  27. Section 1: Introduction
  28.  
  29. 1.1 Vision Statement:
  30.  
  31. 1.1.1 Software Purpose
  32.  
  33. The main purpose of this software is to reduce the manual errors involved in the airline reservation process and make it convenient for the airline staff to perform their daily reservation related tasks e.g. tickets reservation, flight scheduling, announcements etc. in automated way.
  34.  
  35. 1.1.2 Software Scope
  36.  
  37. This software provides options for passengers to view and search different flights along with their timings and reservation details for a particular date.
  38.  
  39. For administrators (staff members), it will facilitate them to manage the route schedules (adding, editing, canceling and viewing routes), reservations (booking, modifying, canceling and viewing) and staff.
  40.  
  41. 1.1.3 Software Perspective
  42.  
  43. The Airline reservation system (ARS) is an independent application. It is a self-contained product, designed for Local Area Network (LAN) with easy-to-use and interactive graphical user interfaces. Separate interfaces will be provided for passengers and administrators. Passengers will be able to use the passenger-interface (on dedicated terminal computers) within the office premises to view, search and print the flight schedules, see flash news and news alerts etc. The administrators on the other hand will be able to use the given administrator-interface to manage ticket reservations and route schedules etc. However, all the information will be stored in a central database and both the passengers and administrators will use this information to perform their permitted activities. Also note that access to administrator-interface will be role based (i.e. different staff members will have different access level) while the passengers (using passenger-interface) will not require any authentication (i.e. any passenger can use it).
  44.  
  45. check attached case study picture
  46. 1.2 Document conventions and definitions:
  47.  
  48. ARS - Airline Reservation System
  49. LAN - Local Area Network
  50. GUI - Graphical User Interface
  51. OS - Operating System
  52. Admin - Administrator
  53. Section 2: Overall description
  54.  
  55. 2.1 User characteristics
  56.  
  57. No technical experience is required, basic knowledge of handling system is sufficient.
  58. Users will use the system at three levels:
  59.  
  60. 1) Super-admins
  61. 2) Sub-admins
  62. 3) Passengers
  63.  
  64. Super-admins include members from higher management. They will have full rights of the system, including all the sensitive tasks e.g. add, edit Flight schedule.
  65.  
  66. Sub-admins include the operating staff. They will have rights of passenger reservation including reserving, editing, viewing and canceling tickets.
  67.  
  68. Passengers, on the other hand will have access to see news, search route schedules, available seats and print these details.
  69.  
  70. 2.2 Operating environment
  71.  
  72. ARS will be a client/server based system, running on LAN. Both clients and servers will be Linux based systems.
  73.  
  74. Entire application along with database will be installed on the central server. Administrators and passengers will be able to perform the intended functionality through GUI interfaces provided on individual machines.
  75.  
  76. Separate Terminal computers (3 to 4) will be provided to passengers, where they will be able to see and search flight schedules, available seats and announcements etc. A printer will also be installed with theses terminals so that passengers could print details of flight (and seats) they selected.
  77.  
  78. 2.3 External Interfaces
  79.  
  80. The application will also need to connect to local airport services database system to get the current status of the runway and other notifications etc. The super admins will use this information to reserve the runway for them and to schedule their flights. Application will connect with this database system through provided interface.
  81.  
  82. The system also needs to connect to an international weather forecasting service to get weather forecasting details. This information will also be used for flight scheduling.
  83.  
  84. 2.4 Assumptions and dependencies
  85.  
  86. It is assumed that passengers will first see the flight schedules and fare details from the passenger terminal computers (dedicated only for the passengers). After selecting a particular flight and seat, they will get print of it and will go to reservation booth, where sub admin staff member will reserve ticket for them by seeing the printed specification.
  87.  
  88. Also, any breaking news e.g. modification of flight timing etc. will be immediately added to the system by admins, and will immediately be visible through passenger interface.
  89.  
  90. --- Best of Luck ---
  91. Solution First task.doc
  92. Task#1:
  93.  
  94. Draw an Entity Relationship Diagram (ER Model) for the given case study along with proper associations and cardinalities.
  95.  
  96. Entity Relationship Diagram
  97. check attached image(case study diagram.jpg) which i have made
  98. Task#2:
  99.  
  100. Derive the tables from the ER model and normalize up to third normal form (3rd NF)
  101. Tables
  102.  
  103. Jets
  104.  
  105. JetID Number Primary Key
  106. JetName Text
  107. JetType Text
  108.  
  109. Flights
  110.  
  111. FlightID Number Primary Key
  112. FlightDate Date
  113. FlightJetID Number Foreign Key (Refers JetID in Table Jets)
  114. FlightSource Text
  115. FlighDestination Text
  116. FlightTime Text
  117. RunWayID Number Foreign Key (Refers RunWayID in Table Runways)
  118. ReservedBy Number Foreign key (Refers StaffMemberID in Table Staff)
  119.  
  120. Passengers
  121.  
  122. PassengerID Number Primary Key
  123. PassengerName Text
  124. PassengerCell Text
  125.  
  126. Staff
  127.  
  128. StaffMemberID Number Primary Key
  129. StaffMemberName Text
  130. StaffMemberDesignation Text
  131. StaffMemberContact Text
  132.  
  133. Tickets
  134.  
  135. TicketID Number Primary Key
  136. TicketType Text
  137. PassengerID Number
  138. FlightType Number Foreign Key (Refers FlightID in Table Flights)
  139.  
  140. Announcements
  141.  
  142. AnnouncementID Number Primary Key
  143. AnnouncementText Text
  144. AnnouncementStartDate Date
  145. AnnouncementExpDate Date
  146. StaffMemberID Number Foreign Key (Refers StaffMemberID in Table Staff)
  147.  
  148. Runway
  149.  
  150. RunwayID Number Primary Key
  151. RunwayTrack Text
  152. TowerAssigned Number
  153.  
  154. So an abstract graphical view of the database may look like:
  155. check image (tableInAccess.jpg)
  156. Task#3:
  157.  
  158. De-normalize the database (obtained after completing task#2) by using the "collapsing tables" technique.
  159. De-normalize
  160.  
  161. Table collapsing: table collapsing de-normalization technique is used on one-to-one and many-to-many relations. In ER model given in task-1 we do not have man-to-many relations, however, one-to-one relations were identified between "Tickets", "Passengers" entities and "Runway", "Flights" and "Jets" entities.
  162. First we collapse the "Passengers" and "Tickets" tables. We suppose that "PassengerCell" attribute is unnecessary so finally the resultant "Tickets" table after collapsing becomes:
  163.  
  164. Tickets
  165.  
  166. TicketID Number Primary Key
  167. TicketType Text
  168. PassengerID Number
  169. PassengerName String
  170. FlightID Number Foreign Key (Refers FlightID in Table Flights)
  171.  
  172. Next we collapse "Runway", "Flights" and "Jets" tables
  173.  
  174. First collapsing "Runways" table with "Flights" (suppose we need "RunwayTrack" field only) we get:
  175.  
  176. Flights'
  177.  
  178. FlightID Number Primary Key
  179. FlightDate Date
  180. FlightJetID Number Foreign Key (Refers JetID in Table Jets)
  181. FlightSource Text
  182. FlighDestination Text
  183. FlightTime Text
  184. RunWayID Number Foreign Key (Refers RunWayID in Table Runways)
  185. RunwayTrack String
  186. ReservedBy Number Foreign key (Refers StaffMemberID in Table Staff)
  187.  
  188. Then we merge "Jets" Table with "Flights". The final structure of "Flights" table becomes:
  189.  
  190. Flights
  191.  
  192. FlightID Number Primary Key
  193. FlightDate Date
  194. FlightJetID Number Foreign Key (Refers JetID in Table Jets)
  195. JetName String
  196. JetType String
  197. JetType String
  198. FlightSource Text
  199. FlighDestination Text
  200. FlightTime Text
  201. RunWayID Number Foreign Key (Refers RunWayID in Table Runways)
  202. RunwayTrack String
  203. ReservedBy Number Foreign key (Refers StaffMemberID in Table Staff)
  204.  
  205. Finally the abstract view may look like:
  206. please check attached image(finalShape.jpg)
  207. second task.doc
  208. Task:
  209.  
  210. In Sub Task no. 3 of first Task, you denormalized all one-to-one and many-to-many relationships; in this assignment you will denormalize all one-to-many relationships by taking into account the same Air Ticket reservation system, in order to optimize it further.
  211.  
  212. So, de-normalize all one-to-many relationships (left after Sub Task no. 3 in Task no. 1) using Pre-joining technique.
  213.  
  214. The pre-joined tables should:
  215.  
  216. Contain no redundant columns (matching join criteria columns)
  217. Contain only those columns absolutely necessary for the application to meet its processing needs
  218.  
  219. Note:
  220. i need to show the database resulted from the previous first task (after denormalization) and the resultant database after performing pre-join denormalization in this task.
  221. Attachments
  222. from : https://www.daniweb.com/programming/databases/threads/454043/air-ticket-reservation-system
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement