Project Detail

JAve Project 5  

JAve Project 5 is project number 369301
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status:

Selected Providers: prasunkanti

Budget: $30-250

Created: 01/12/2009 at 19:01 EST

Bid Count: 32

Average Bid:
$ 88

01/13/2009 at 19:01 EST

Project Creator: bluvmack
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (7 reviews)

Bid On This Project
 

Description

The file must be called <YourNameProg1.java> (driver program)
Elevator.java (elevator file)

Example: KenDeweyProg1.java (driver program)
Elevator.java is required for the elevator file

Ensure you include ALL files required to make your program compile and run.
I would like to see your .java files only.

Proper coding conventions required the first letter of the class start with a capital letter and the first letter of each additional word start with a capital letter.


4

Elevator Control

Write a program that mimics the operations of the inside of an elevator. More specifically, the program simulates what happens when the user chooses to go to a particular floor, and it simulates what happens when the user pulls the elevator’s fire alarm. Assume the elevator is in a high-rise building that has floors numbered 1 through 100.




YourNameProg1.java

Your driver class should call the Elevator class file and implements the requirements above. Refer to the sample output to see what the prompts and output should look like.

Within your driver class, use a loop that continues until the user enters “q” for quit. See the sample session for details.

As you implement your solution, you should find that the selectFloor and fireAlarm methods contain some repeated coding logic. To avoid unnecessary redundancies in your code, have those methods call an appropriate helper method.

Use a switch statement to handle the different choices for user input. (S-select floor, F-fire alarm, Q-quit)


32

Elevator.java

Within your Elevator class, include these methods:





selectFloor - This method prompts the user for a floor selection and then performs input validation for the floor selection. If the floor selection is inappropriate (less than 1, greater than 100), then the method prints an error message. If the floor selection is OK, the method simulates going to that floor. See the sample session below for the format of the simulation message.


16

fireAlarm - This method prints a “danger” message and then simulates going to the first floor. Note that I’m assuming this is a high tech fire alarm that is programmed to force the elevator to go to the first floor! See the sample session below for the format of the “danger” message.


16







Upload your page to the Dropbox.

NOTE: Complete your activity and submit it to the Dropbox in eCollege


4

Total Points


80

Sample Session:

Welcome to Ken's elevator simulator!

Options: (s)elect a floor, (f)ire alarm, (q)uit

Enter s, f, or q ==> x

Invalid selection.

Options: (s)elect a floor, (f)ire alarm, (q)uit

Enter s, f, or q ==> F

Danger! You must exit the building now!

Options: (s)elect a floor, (f)ire alarm, (q)uit

Enter s, f, or q ==> s

Enter the floor that you'd like to go to ==> 102

Invalid floor selection - must be between 1 and 100.

Options: (s)elect a floor, (f)ire alarm, (q)uit

Enter s, f, or q ==> s

Enter the floor that you'd like to go to ==> 15

Going up..2..3..4..5..6..7..8..9..10..11..12..13..14..15..Ding!

Options: (s)elect a floor, (f)ire alarm, (q)uit

Enter s, f, or q ==> s

Enter the floor that you'd like to go to ==> 10

Going down..14..13..12..11..10..Ding!

Options: (s)elect a floor, (f)ire alarm, (q)uit

Enter s, f, or q ==> f

Danger! You must exit the building now!

Going down..9..8..7..6..5..4..3..2..1..Ding!

Options: (s)elect a floor, (f)ire alarm, (q)uit

Enter s, f, or q ==> q

Optional extension:

Some hotels cater to superstitious people by omitting the 13th floor. Modify your program so that there is no 13th floor.

Messages Posted:1 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

250

3 days

01-12-2009 21:15 EST

Hello,Please refer your PMB.Thank you.

help

 

80

2 days

01-12-2009 22:12 EST

Hi please check pmb for details

help

 

80

2 days

01-13-2009 00:26 EST

Please see my email. Thanks

help

 

50

1 day

01-13-2009 05:10 EST

Hello, I can provide those two files in 2 hours from start of project. Please refer to PM for details.

help

 

50

2 days

01-13-2009 06:28 EST

Hi, I can help you score full marks for this project. This is a very simple work for me. I have done lot of Java projects for students and they thanked me for helping them get full marks. I can deliver you exactly what you have mentioned in the project description. Please see PM for sample.Thanks.

help

 

75

1 day

01-13-2009 00:55 EST

Let's start:) Please check PMB.

help

 

30

0 days

01-13-2009 00:40 EST

Serious service provider.

help

 

30

1 day

01-13-2009 01:45 EST

Hello. I can make such java program for you fast and quality. About 13th floor - it can be option which inputs from command line or user can select it on program start. Best regards, Andrew.

help

 

30

1 day

01-13-2009 03:48 EST

hello sir, i can do this simulation.. thank you..

help

 

130

2 days

01-12-2009 21:49 EST

i can handle it surely show me more details

help

 

100

3 days

01-13-2009 01:35 EST

Programs in Java would be developed as per given specifications.

help

 

30

1 day

01-13-2009 08:39 EST

Hi, I am a Java expert and can have your work done within one day. All requirements will be met along with the optional extensions. Will be glad to help you out!

help

 

100

4 days

01-13-2009 00:36 EST

Hi, I have a very good knowledge on Java and am confident of completing this project as per your requirement. I have around 2 years of experience in Java domain. Looking for long term relationship and also positive reply from your end. Thanking you in anticipation. Regards Poornima

help

 

120

1 day

01-13-2009 00:38 EST

pls see the PMB...

help

 

100

2 days

01-13-2009 09:18 EST

(No Feedback Yet)

Hello! I am new to this site and I'm looking for a simple project to try it out. This looks like the ideal project for that purpose. I have many years of experience with Java and I work for a multinational corporation with that technology all the time. I will deliver not only the project with the proper coding conventions, but also complying with TDD (Test Driven Development) techniques. In this case you will also get a bargain price for this quality of work, since you will be my first customer here :-) Even if this is a 1 day project, I am submitting 2 days, in case we need to clarify something, especially if we want it to look "pro for a student". Greetings, JMnemonic

help

 

150

1 day

01-12-2009 22:14 EST

(No Feedback Yet)

It's easy, isn't it?

help

 

200

5 days

01-12-2009 23:39 EST

(No Feedback Yet)

Hi this can be easily done

help

 

200

4 days

01-12-2009 23:49 EST

(No Feedback Yet)

I am an enterprise application architecture and developer. While I was working in Netherland based company as Sr. software engineer for more than two years, I had developed lots of e-commerce sites in struts and oracle platform along with handling of SEO. While i was working in American based software company for more than 1 years, I had done lots of work in JSF, web services, OR mapping (Hibernate) along with the implementation of GoF pattern. Currently, I am a final year student of MS Computer science in United States specializing in distributed (enterprise) architecture. So many bids are there for this project, what i want to say is, I can also do the project and this project is best suited for me and only me. Why this project is best suited for me? 1. I know well how to model the domain logic completely independent with presentation and data access layer, i.e, more reusability and easy to address future enhancement with the implementation of different GoF pattern, OR Mapping pattern, domain logic pattern (ie, Transaction script, domain model, etc complying with MVC). 2. Most of architectural decision is made on performance and responsiveness. I know better to handle data access layer with minimizing database call, designing all domain class in one process there by allowing proper handling of concurrency problem. 3. Nicely handling the application logic in service layer encapsulating the domain logic from presentation there by proving fine grained interface for presentation. 3. Finally what i want to mention again is, I am an Architecture who can look performance, reusability of domain logic, better responsiveness, flexibility in future changes etc. Here is link of one of the sites that i had developed for Alpak Shopservies bvba , Netherlands, http://www.kro.shopservices.nl/ In this site, we used jsp and ajax call as front end, struts as controller, Java Bean for domain logic, oracle for back end. I also did work on SEO work on this site nicely handling 302 and 301 redirect which is the obstacle for SEO. If you need my updated resume, please ask for me. I'm looking forward to work with you in near future.

help

 

30

1 day

01-13-2009 07:55 EST

(No Feedback Yet)

I'm brand new to this site, but I'm finishing up my undergrad Computer Science degree right now and am trying to find some extra cash. My university is very heavy on the Java, so this is a piece of cake. Not to sound arrogant, but I've taught some Java labs for our classes on campus, so I'm pretty familiar with it. I can have this delivered within 24 hours - in fact, I will deliver it by the end of the day.

help

 

100

2 days

01-13-2009 00:31 EST

(No Feedback Yet)

We can provide you this solution in 2 days flat along with documentation.

help

 

80

2 days

01-13-2009 00:59 EST

(No Feedback Yet)

Hi, I am a experienced programmer in Java. For your project, I am confident I can get it done with 2 days with fully satisfaction.

help

 

30

0 days

01-13-2009 01:16 EST

(No Feedback Yet)

This should be pretty straight forward. Can easily make it look like it was done by a student if need be, just need to know your knowledge level. Very well documented code to guide you through the basic outline of how it was done.

help

 

101

5 days

01-13-2009 01:31 EST

(No Feedback Yet)

Hi,Please check PM. Siva

help

 

30

1 day

01-13-2009 02:09 EST

(No Feedback Yet)

Hi, I can do this assignment. I am a sun certified java developer with 100% score. I have 3 years work experience JAVA programming.

help

 

100

1 day

01-13-2009 03:13 EST

(No Feedback Yet)

you can count on me... confident and trustworthy

help

 

30

0 days

01-13-2009 03:41 EST

(No Feedback Yet)

Hi, simple task, can complete this quickly, please see PMB - thanks.

help

 

200

3 days

01-13-2009 03:52 EST

(No Feedback Yet)

Please check your PM

help

 

30

2 days

01-13-2009 05:13 EST

(No Feedback Yet)

Please check PMB

help

 

40

1 day

01-13-2009 06:25 EST

(No Feedback Yet)

Hello! i have compeleted my university and i am a game programmer. currently i am working in a software company and i have the experiance in java programming. so i can deliver this project with in few hour. also this is a simple project so if you want me to give you a quality product select me. if you required a graphical application for same requirement, i can do that to but it will cost you more than my price $40. so let me know if you required graphical GUI system. otherwise i can do as how you explained in the description.

help

 

100

0 days

01-13-2009 08:57 EST

(No Feedback Yet)

Already done; Need to discuss final changes like names, project documentation, and expected coding style (based on the task, it seems the solution snould not seem as if it was done by a pro, so we'll need to see what you should and should not know at the moment.)

help

 

90

1 day

01-13-2009 09:05 EST

(No Feedback Yet)

Hi, I am ready to do this with in 5hrs

help

 

40

1 day

01-13-2009 09:29 EST

(No Feedback Yet)

Hi, I am sure I can finish this project and send it to you within a few hours. I assure you of quality work. The code will be complete with comments and parameter/method descriptions.

help


    Bid on this Project