Author: Carol 96

Click link for more description


Final ProjectThis 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.b.c.d.Total number of passengers on the TitanicPercentage of passengers who perished on the TitanicPercentage of Passengers who survived the sinking of the TitanicPercentage 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 and TestTitanic. You are welcome tocreate additional classes if 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.Here is sample run:java TestTitanic Titanic.txt

See More
Try a College Course Free

Sophia’s self-paced online courses are a great way to save time and money as you earn credits eligible for transfer to over 2,000 colleges and universities.*

Begin Free Trial
No credit card required

26 Sophia partners guarantee credit transfer.

226 Institutions have accepted or given pre-approval for credit transfer.

* The American Council on Education's College Credit Recommendation Service (ACE Credit®) has evaluated and recommended college credit for 21 of Sophia’s online courses. More than 2,000 colleges and universities consider ACE CREDIT recommendations in determining the applicability to their course and degree programs.