|
| Budget: |
$ 20-100 |
| Status: |
Closed
for Bidding (selected
user TechnoVilla)
|
| Project
Creator: |
|
| |
        
7
reviews
|
| Required
Skills: |
,
|
| Attached
Files: |
1.doc
|
 |
|
|
|
|
|
|
|
|
|
|
Description
DESCRIPTION In this individual assignment, you will create a Java program to allow users look up scheduled flights between two given cities and choose the one that suits best their needs in terms of time, fares, length of trip. Flights depart a city at a certain time, on certain days of the week, and arrive at a specific time at the destination city. For each flight, you will determine rules for calculating three or more different fares: (1) the basic full fare, (2) and a range of available decreasing fares depending on various factors that you will determine, for instance, a 2 week advance purchase fare is 50% off, a one week advance fare is 20%, some days of the week might be 10% more expensive and so on. In addition some of these fares will have a quota. You must explain your rationale in your code (as comments in the relevant methods). TASKS Compulsory functionalities Your program MUST provide ALL the following services: ©© User enquiry input: allow the user enter the departure city, the destination city, the desired date and time ©© Display all the flights and corresponding fares available: o The flight information should include the flight number, the date and arrival times, the distance of the trip. o Only the applicable fares should be displayed (i.e. do not display a 2 week advance fare for a request for a flight in one week time) ©© Sort the retrieval results according to user’s requirements, such as: o price (best to more expensive) o departure time (increasing) o travel time (shortest to longest) o best compromise price/travel time (you will create your own way of calculating this compromise and explain it in the method comments) ©© Save the resulting data to an output file At least one additional feature Your program should also offer at least one additional feature, which you choose from the given list as blow: ©© Handle time differences: eg Perth is 3 hours behind Sydney, so you need to adjust the calculation of the travel times accordingly. ©© Handle bills: as the user “books” flights, the costs are added up to the bill. To make it more interesting, assume that users shop for more than one flight. ©© Handle user accounts: rather than having one unique default user, the user can login or your program can ask before each request/flight booking the name of the user.
DATA FORMAT The data (the information about the flights) needs to be read from an input file. The format of the input file is as below: ©© Each record has information about a flight. There are 7 fields: 1. flightNo in the form of a string all on one line 2. departure city in the form of a string all on one line 3. destination city in the form of a string all on one line 4. departure time which must be a valid time with several integers separated by characters of colon, comma and forward slashes, like: hh:mm, dd/mm/yy. You may ignore any leading zeroes. 5. arrival time in the form of hh:mm, dd/mm/yy 6. distance in the form of an integer number 7. raw fares in the form of a floating-point number ©© All fields are to be separated by whitespace, such as tabs or spaces ©© Every record has all these fields and all these fields always have the same order ©© Records are separated by blank lines Example: here is a sample file called "sample1.txt" flightNo AIR000 departure city Sydney destination city Perth departure time 15:30, 21/08/08 arrival time 17:30, 21/08/08 distance 1300 raw fares 123.40 You need to do systematic testing of the classes you create, and submit the test classes along with your code. For one (non-trivial) class you will need to provide a unit testing report (~1 page) summarising the results of your tests. IMPORTANT NOTES -- Your code MUST make use of at least one collection (ArrayList, LinkedList or primitive array).
Reminder
You may not start working in this and any project before
your bid is accepted. Any user who violates this policy
may have their account permanently suspended.
|
|
|
Dhaka,
BD
location |
US$50
bid amount |

         
(203
reviews)
feedback |

2 day(s)
delivery time |

|
| |
Please check PM
Bid Time: 09-08-2008 04:04
|
|
|
|
| Shortlist |
| Decline Bid |
|
|
dhaka,
BD
location |
US$40
bid amount |

         
(16
reviews)
feedback |

2 day(s)
delivery time |

|
| |
please see the pm
Bid Time: 09-08-2008 12:13
|
|
|
|
| Shortlist |
| Decline Bid |
|
|
Shenzhen,
CN
location |
US$60
bid amount |

         
(43
reviews)
feedback |

5 day(s)
delivery time |

|
| |
Hi, can be done. Please check PM.
Bid Time: 09-08-2008 00:42
|
|
|
|
| Shortlist |
| Decline Bid |
|
|
Dhaka,
BD
location |
US$40
bid amount |

         
(2
reviews)
feedback |

1 day(s)
delivery time |

|
| |
Hi,
plz ignore the previous bid
regards
Bid Time: 09-08-2008 09:16
|
|
|
|
| Shortlist |
| Decline Bid |
|
|
Noida,
IN
location |
US$100
bid amount |

         
(1
reviews)
feedback |

10 day(s)
delivery time |

|
| |
Hello,
We are very good expertise on shopping cart ,dating, ecommerce, os commerce zen cart
social community realestate,jobportal,B2B,Auction, MLM, Directory listing,Dating/ Matrimony
web sites and we are sure to provide you a better look and quality work w3 standard.
Thanks
Regards
shyamgi77
Bid Time: 09-08-2008 07:58
|
|
|
|
| Shortlist |
| Decline Bid |
|
|
Ha noi,
VN
location |
US$50
bid amount |

(No Feedback
Yet)
feedback |

1 day(s)
delivery time |

|
| |
Hello, I'm a skilled and experienced java programmer who is able to analyze problems and to design programme structure to solve the problem efficiently and make it extensible. I 'll be glad to work with you to get this done.
Bid Time: 09-08-2008 11:23
|
|
|
|
| Shortlist |
| Decline Bid |
|
|
shanghai,
CN
location |
US$50
bid amount |

(No Feedback
Yet)
feedback |

1 day(s)
delivery time |

|
| |
I can do it,pls contact me at first.
Bid Time: 09-09-2008 04:39
|
|
|
|
|