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-on labs, discussions, and assignments to date.1. (25 points) Design, implement and test a Java application that will read a file containing data related to the passengers on the Titanic. The description of the file is shown below. The application should provide statistical results on the passengers including: Total number of passengers on the Titanic Percentage of passengers who perished on the Titanic Percentage of Passengers who survived the sinking of the Titanic Percentage passengers who survived the sinking of the Titanic as a function of thepassenger class (e.g. 1,2,3) A list of the names of passengers who were less than 10 years old who perished on theTitanic The count of the number of passengers as a function of the first letter of their last name.(e.g., A: 13, B:33 …) At least one additional statistical results you add to enhance the functionality The following are some design criteria and specific requirements that need to be addressed: Use command line arguments to send in the name of the Titanic file. 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) 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. You should create separate methods for each of the required functionality. (e.g.getTotalPassengers() will return the total number of passengers on the Titanic.) A user-friendly and well-organized menu should be used for users to select which data to return. A sample menu is shown in run example. You are free to enhance your design and you should add additional menu items and functionality. The menu system should be displayed at the command prompt, and continue to redisplay after results are returned or until Q is selected. If a user enters an invalid menu item, the system should re-display the menu with a prompt asking them to enter a valid menu selection The application should keep track of the elapsed time (in seconds) between once the application starts and when the user quits the program. After the program is exited, the application should provide a prompt thanking the user for trying the Titanic program and providing the total time elapsed.
Get a customized solution on this task at emuktask.comHomework Answers on emuktask.com, you can order your academic assignment from one of our 300+ project experts. Hire your expert directly, without overpaying for agencies and affiliates!
POST A QUESTION
EmukTask.com guarantee you peace of mind, gives the value of your money, and trust for us to help you with your assignments. We assure you of original work that meets your academic and project’s needs. We at EmukTask.com have a mark of quality, professionalism, and timely delivery of given projects.
+1 (289) 803-6873
Request a Callback
Drop Us a Line