Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Please see the attachment for instructions There are two files

Please see the attachment for instructions There are two files: FinalProject-Rainbow.pdf

titanic.txt

1Final Project — Project Codename “Rainbow”This assignment demonstrates your understanding of the concepts from the CMIS 141 class.Before attempting this project, be sure you have completed all of the reading assignments, hands-onlabs, discussions, and assignments to date.1. (25 points) Design, implement and test a Java application that will read a file containing datarelated to the passengers on the Titanic. The description of the file is shown below. Theapplication should provide statistical results on the passengers including:a.Total number of passengers on the Titanicb.Percentage of passengers who perished on the Titanicc.Percentage of Passengers who survived the sinking of the Titanicd.Percentage passengers who survived the sinking of the Titanic as a function of thepassenger class (e.g. 1,2,3)e.A list of the names of passengers who were less than 10 years old who perished on theTitanicf.The count of the number of passengers as a function of the first letter of their last name.(e.g., A: 13, B:33 …)g.At least one additional statistical results you add to enhance the functionalityThe following are some design criteria and specific requirements that need to be addressed:a.Use command line arguments to send in the name of the Titanic file.b.Use a 2D array to store the Titanic data. (Hint: You will probably need to store the arrayas String values and then convert to other types as needed since some data is null)c.You should create at least 2 Java classes – Titanic andCMIS141HW5FirstnameLastnameRainbow. You are welcome to create additional classesif you want to further separate the functionality.d.You should create separate methods for each of the required functionality. (e.g.getTotalPassengers() will return the total number of passengers on the Titanic.)e.A user-friendly and well-organized menu should be used for users to select which datato return.A sample menu is shown in run example. You are free to enhance your designand you should add additional menu items and functionality.f.The menu system should be displayed at the command prompt, and continue toredisplay after results are returned or until Q is selected. If a user enters an invalid menuitem, the system should redisplay the menu with a prompt asking them to enter a validmenu selectiong.The application should keep track of the elapsed time (in seconds) between once theapplication starts and when the user quits the program. After the program is exited, theapplication should provide a prompt thanking the user for trying the Titanic programand providing the total time elapsed.
Background image of page 1
2Here is sample run:javaCMIS141HW5FirstnameLastnameRainbowTitanic.txt********** Welcome to the Titanic Statistical Application **************************Enter the number of the question you want answered.Enter ‘Q’ to quit the program :1.How many passengers were on the Titanic?2.What percentage of passengers perished on the Titanic?3.What percentage passengers survived the sinking of the Titanic?4.What percentage of passengers survived for each of the three classes?5.What specific passengers who were less than 10 years old survived the sinking of the titanic?6.For each letter in the alphabet, how many passengers last names started with that letter?Q.Quit the programEnter your selection: 1There were 1310 Passengers on the Titanic.Enter the number of the question you want answered.Enter ‘Q’ to quit the program :1.How many passengers were on the Titanic?2.What percentage of passengers perished on the Titanic?3.What percentage passengers survived the sinking of the Titanic?4.What percentage of passengers survived for each of the three classes?5.What specific passengers who were less than 10 years old survived the sinking of the titanic?6.For each letter in the alphabet, how many passengers last names started with that letter?Q.Quit the programEnter your selection: QThank you for trying the Titanic Program.Elapsed time in seconds was: 95Grading Rubric:The following grading rubric will be used to determine your grade:AttributeExceedsMeetsDoes not meetDesign (5 points)(5 points)Exhibits proper use ofparameters, and(3-4 points)Exhibits proper use ofparameters, and(0-2 points)
Background image of page 2

Show 

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"