logo

Fuel Management Software Solution for an Irish Airline

2 Pages990 Words389 Views
   

Added on  2019-09-16

About This Document

The project involves developing a fuel management software solution for an Irish Airline entering the European air freight cargo business. The program will calculate the most economic route for a given plane to visit 5 airports in a week based on the great circle distance between them and the cost of fuel at each airport. The program will take file inputs and give file outputs using CSV formats. It will also have a basic GUI to allow input of an individual itinerary. The program code will be created in a logical and efficient manner with efficient use of data structures, code re-use in functions and classes, and efficient storage and searching of data. The solution will define classes for holding data that will be used in the problem, e.g. there will need to be a class for Currency and Airport. The program will have error checking and exception handling to handle unexpected user inputs or data. The code will be well commented with meaningful variable names and methods/functions. The program will be tested to run on and demo the program under a variety of valid and error conditions that will exercise the program and its exception handling.

Fuel Management Software Solution for an Irish Airline

   Added on 2019-09-16

ShareRelated Documents
Project Specification4.1. Imagine you work for a small Irish software company that has won the tender to deliver a fuel management software solution to a large Irish Airline. The airline is entering the European air freight cargo business and wants a software tool to manage their fuel purchasing strategy. Each week, an aircraft will fly up to six trips. The airplane will start and end in the same home airport each week and can optionally visit one of the other airports in the itinerary twice. The company has several different aircrafts that have different fuel capacities and the cost of fuel varies from airport to airport. Given a list of 5 airports (including to the home airport) that a given plane needs to visit in a week, the most economic route must be found.• The distance between airports is calculated as the great circle distance between them• The cost of fuel is assumed to be 1 euro per 1 litre at Airports where the currency is Euros• The cost in of fuel in airports where the local currency is not euros is assumed to be the exchangerate from the local currency to euro. e.g. in you travel from London to Dublin and the exchange rateis GBP£1 = e1.4029 and you purchase 1000 litres of fuel it will cost e1402.4.2. Product Features. The program with take file inputs and give file outputs using CSV formats. Itshould also have a basic GUI to allow input of an individual itinerary. At a minimum, the programshould work with a command line interface to interact with the user – this is not necessary if youhave file and/or GUI interfaces.4.3. Code style and efficiency. The program code should be created in a logical and efficientmanner. This includes: efficient use of data structures (think for loops rather than repeated code),code re-use in functions and classes (breaking code up into logical chunks that keep code-blocks andfiles reasonable length i.e. no 1000 line files!), efficient storage and searching of data (thinkdictionaries).4.4. Class Model Structure. Create classes that model the problem and abstract the main programfrom the underlying data structure. For example, the mainline code shouldn’t need to understandanything about parsing a CSV file or calculating great circle distance or currency rates calculation.This means it should be apparent that you have you created classes that model the problem andassigned useful attributes and methods to the classes. The solution should define classes for holdingdata that will be used in the problem, e.g. there will need to be a class for Currency and Airport?(HINT: Yes, there will!)4.5. Errors and Exception Handling. How robust is your program to errors? Have you implementederror checking and exception handling, especially to handle unexpected user inputs or data? e.g. doyou have error handling to identify and warn if the wrong number of airports are contained in theinput, or one or more of the airports is not a valid airport in your list?4.6. Comments. Is all of your code well commented? Are the variable names andmethods/functions meaningful?4.7. Testing. Test code to run on and demo the program under a variety of valid and errorconditions that will exercise your program and its exception handling.
Fuel Management Software Solution for an Irish Airline_1

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Error Checking And Handling
|12
|2453
|21