7

A Reservation System For An Airline Company

A new seat booking system is required for Doha Metro - Lusail Tram Company to help users reserve a seat based on the following requirements: 

  • First or Standard Class.
  • Window and/or Aisle.
  • With or Without Table.
  • Seat Price.

When a suitable match is found, the user (identified by email) should be able to reserve the seat. Seat reservations may also be cancelled. The seat data should be modelled in a file (seats.txt) that will contain the seat data and any reservations, though initially every seat should be unreserved. Upon application launch, the data should be loaded into appropriate data structures and upon application exit, the data should be saved back to the file.

NOTE: The seats.txt file (i.e. Appendix A) is provided on Canvas in the Assignments section. You should download the file to your machine. The format of each seats’s data is as follows: seatNum seatClass isWindow isAisle isTable seatPrice email - See Appendix A for further explanation of the file seats.txt

 

You are required to produce a design including an analysis of the specification, UML (Unified Modelling Language) class diagrams. You should provide justifications for the design decisions you make.

You are then required to produce a console application (using Java) that is driven by a repeating main menu (i.e. Appendix B) with appropriate instructions and guidance throughout. Menu options should include reserving a seat, cancelling a seat and viewing seat reservations. Additional implementing will be required for the below extra functionality:

  • Performing Validation (i.e. fallacious input should be rejected).
  • Before rejecting a reservation (i.e. no seats match the guest’s seat requirements) the application offers the “next best match” (match 3 of 5 seat requirements).

To do this you have to prepare a report on using the proper algorithm to solve this problem and your process in building this application from coding to execution.

 

 

 

 

 

 Assignment activity and guidance

Activities 

According to the defined problem, you need to list the user requirements before designing, implementing (coding) and testing a solution. The working application produced must also be demonstrated together with the presentation. You will create a report that should include:

Activity 1

Produce a formal presentation (with supporting notes) for Doha Metro - Lusail Tram Company Seat Booking System that explores the features and characteristics of the three different programming paradigms – Event Driven, Object Oriented and Procedural – in a selected application. The selected application source code will need to implement all three paradigms. Your presentation should include:

  1. Define the algorithm and outline the process in building the application.
  2. Discuss the three code paradigms and provide specific reference to their characteristics and how each one is related.
  3. Determine the steps taken from writing the code to the execution of it.
  4. Analyze the process of writing the code, including the potential challenges faced. Provide an evaluation of the implementation of the algorithm in a suitable language and the relationship between the written algorithm and the code variant.

Activity 2

You are required to develop a program for Doha Metro - Lusail Tram Company that makes use of appropriate algorithms to fulfil the given client requirements. You should make use of whichever tools and techniques are most appropriate for your chosen coding paradigm and for the nature of the software solution.

You are to write a report that details the process that would be required to design the algorithm for the solution and how you turned the algorithm into a working application. Your report should include the following.

  1. Discussion and comparison of the procedural, object-orientation and event-driven paradigms, along with their characteristics and relationships between them. 
  2. Critical evaluation of the source code of an application that implements the procedural, object-orientated and event-driven paradigm, in terms of the code structure and characteristics.

Activity 3

Produce a formal presentation (with supporting notes) for the Seat Booking System that explains the debugging features available to the developer in your chosen IDE and how they have been used in the development of the solution for Doha Metro - Lusail Tram Company. Your presentation should include:

  1. Written program that implements and enhances a written algorithm using Eclipse IDE and its features to manage the development process. 

 

  1. Evaluate the application development using Eclipse IDE contrasted with not using IDE. 

Activity 4

You are to write an evaluative report for the management of Doha Metro - Lusail Tram Company that provides a reflective overview of how the process evolved, from algorithm design to implementation, and how the use of the IDE and code standards are important for working in a company like Doha Metro - Lusail Tram Company. Your report should include:

  1. Explain and examine the debugging used in your process and how it can help in developing secure and robust application. 
  2. Explain your coding standard that was used in the project.
  3. Evaluate the role and purpose of the coding standards you used, making specific reference to why it is necessary for software development teams as well as individual programmers 

 

Comments