GetACoder.com

 
 

Home | My Account | Post Project | Browse Projects | RSS Feeds New!

 

Simple Java Programme

 
 
Download the Free Step-by-Step Guide
     
Budget: $ 20-100
Status: Closed for Bidding (selected user TechnoVilla)
Project Creator:
Shache  
  10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10 7 reviews
Required Skills: Java, Programming
Attached Files: 1.doc
 
post new project
email this project
discuss this project
send private message to project creator
more options

NEW

SEND

DISCUSS

CONTACT

OPTIONS

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.

 Bids Received (7)   Shortlist (0)   Declined Bids (0)   
Average bid amount:   $55.71   Average delivery time:   4 Day(s)
Place Bid | Post Similar Project | Send Project | Message Board(0) | Contact Shache

Order by:

 

Remember that contacting the other party outside the site (by email, phone, etc.) on all business projects (before the project is awarded) is a violation of our terms of use. We supervise all site activity for such infringements and can immediately expel transgressors on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thank you for your help.
 

          nbsp;    
send private message
 
Premium User  
TechnoVilla  
Dhaka, BD
location
US$50
bid amount

9.97/109.97/109.97/109.97/109.97/109.97/109.97/109.97/109.97/109.97/10
(182 reviews)

feedback

2 day(s)
delivery time

 
 
Please check PM
Bid Time: 09-08-2008 04:04
 
send private message
Shortlist
Decline Bid
Premium User  
dynamic03bd  
dhaka, BD
location
US$40
bid amount

9.63/109.63/109.63/109.63/109.63/109.63/109.63/109.63/109.63/109.63/10
(8 reviews)

feedback

2 day(s)
delivery time

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

9.39/109.39/109.39/109.39/109.39/109.39/109.39/109.39/109.39/109.39/10
(41 reviews)

feedback

5 day(s)
delivery time

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

10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(1 reviews)

feedback

1 day(s)
delivery time

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

10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(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
 
send private message
Shortlist
Decline Bid
linkinemon  
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
 
send private message
Shortlist
Decline Bid
coolbrain99  
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
 

 


 
Get the Free Step-by-Step Guide on How to Use GetACoder
The act of outsourcing projects has become easy in the past few years thanks to GetACoder. However, our team aims at making the whole process even easier. So, it has now come the time to provide you with a step-by-step guidance on how to use this service and succeed in the outsourcing world totally for FREE.

It doesn’t matter if you are a more experienced user or a novice; using GetACoder will become even simpler with the help of this E-book. There are two major sections: a Buyers section and a Coders section.

Buyers will learn:
  • How to outsource safely
  • How to pick the best freelancers
  • How to manage time and money

Coders will learn:

  • How to get the best projects
  • How to secure their payments
  • How to build a long-lasting relationship with buyers

    …and  MUCH MORE
Clear examples and pictures illustrating key situations, great tips and real testimonies of some of our best users… all in this Outsourcing Guide.  So don’t loose the outstanding opportunity to download GetACoder FREE E-book.
The Outsourcing Revolution: Why It Makes Sense and How to Do It Right
The Outsourcing Revolution: Why It Makes Sense and How to Do It Right
What is GetACoder?

GetACoder.comGetACoder is a leading Global Services Marketplace doing business in more than 200 countries. Our unique system accelerates your time to market and provides your business with key competitive advantages. When you use GetACoder you are stretching your budget and saving as much as 60% over traditional outsourcing. GetACoder is changing business, now it's no longer about what you own or build but which resources and talent you can access. With GetACoder you reduce expenses, increase efficiencies, aggressively grow your business, and create a sustainable competitive advantage. GetACoder makes outsourcing to any part of the world an easy task! With GetACoder it's simple to outsource any business project, gain access to global talent and manage projects online.

One of the main advantages of GetACoder is the low labor cost. The typically rates are about seven times lower than the ones in the US or Europe. Posting a project at GetACoder allows the right professional or company to find you and to bid for your work. We are building a reputation for exceeding our customers' expectations and for becoming an extremely cost effective way to outsource work. Use GetACoder when you want to save money, increase efficiency or accelerate the development of your project. With GetACoder you focus on growing your business and let others do the tedious work. Post your project on GetACoder for free. Find out why people outsource projects with us day after day.

Thousands of Satisfied Customers - Submit/View Quotes


-We, EBoys are small group of people trying to get some quality work from the world of information. So we decided to go with GAC because we liked the simple, easy interface and amount of projects posted. Now, we are doing really well. We have got lot of projects through them. Most important part is, when you need support or you have any complains about any user, you can just email GAC support and you will have response within couple of days, and that too really, really prompt. Last but not least, the payment processing, they are really prompt in that, you will never loose your money unless you cross your legal boundaries. We are really thankful to GAC for providing us this wonderful opportunity to develop our small firm and meet various clients out there in the universe. - eboys
-GetACoder is really fantastic. I really loved it. It seems to be one of the best freelance sites. I will recommend everyone to use it. - sahukk
-It is very easy to get business. The most professional and targeted freelance website. - ayazulghani
Report Violation    Privacy Policy     Affiliate Program    Terms of Use    Contact Us    Help      GetACoder.com Latest Projects RSS Feed
© 2004-2008 GetACoder. All rights reserved.