How many passengers were on the titanic

Assignment Help JAVA Programming
Reference no: EM131143393

Instructions

Write a two-page executive summary for your boss explaining how a relational data solution can be applied to a current business problem or area for improvement. Assume that your boss knows nothing about relational database theory. The goal of this summary is to obtain your boss's approval to proceed with your stated project. Do not focus on technical aspects of a database management system. Focus on how the information will be captured, manipulated, managed, and shared, and the value the database brings to the organization. Include brief examples of how other industries (both domestic and international) have successfully used relational databases to increase efficiency.

Your paper must follow all APA Style Guide requirements. All sources must be properly cited using APA guidelines. Include an APA title page and an APA References page. Thes title page and References pages are in addition to the minimum of 2 pages of body text for your executive summary. In your summary you must include an introduction section with a heading, body text topic sections as apprporiate with headings, and a conclusion section with a heading. Note that APA requires 12 point Times Roman font throughout and 1" margins.

Submissions:

1. You should submit your well-organized Word document before the due date.
2. You should name your paper Yourname_shortpaper.docx.

Final Project

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. 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:

a. Total number of passengers on the Titanic
b. Percentage of passengers who perished on the Titanic
c. Percentage of Passengers who survived the sinking of the Titanic
d. Percentage passengers who survived the sinking of the Titanic as a function of the passenger class (e.g. 1,2,3)
e. A list of the names of passengers who were less than 10 years old who perished on the Titanic
f. 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 functionality

The 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 array as 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 to create 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 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.

f. 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 redisplay the menu with a prompt asking them to enter a valid menu selection

g. 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.

Here is sample run:

Java TestTitanic Titanic.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 program

Enter your selection: 1

There 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 program

Enter your selection: Q

Thank you for trying the Titanic Program.
Elapsed time in seconds was: 95

Attachment:- Titanic.txt

Reference no: EM131143393

Questions Cloud

Identify it security controls that should be implemented : Identify and prioritize IT Security controls that should be implemented. Discuss any applicable US Government regulations/standards that apply to this organization (The organization is from Project 1).
Difference between independent and dependent demand : In MRP, what is the difference between independent and dependent demand? If your company makes two products using the same resources, what factors lead to the case where it is not the most profitable to produce more of the most profitable item per un..
Management team as the founder of new venture : Management Team As the founder of a new venture, examine your team-building skills to lead a new venture team. In a three- to four-page paper, not including the title and reference pages, identify key characteristics of individuals you would select t..
Predict the target group of your communication plan : Outline the approach that you would use to conduct research and interpret the situational analysis for your hometown. Determine the main goals and objectives of your proposed communication plan. Predict the target group of your communication plan.
How many passengers were on the titanic : How many passengers were on the Titanic? What percentage of passengers perished on the Titanic? What percentage passengers survived the sinking of the Titanic?
Write a personal statement my info : Write a personal statement. also include educational or career objectives, interest, community service activities, if applicable, significant experiences, or a person that has an important influence on your life.
Calculate the osha incidence rate : Last year, the XYZ corporation had 26.0 full-time and 155.0 part time employees. They worked a total of 112.0,000 hours and there were 44.0 reportable incidents. Calculate the OSHA incidence rate rounded to two decimal places.
Determine the corresponding allowable load p : A hole is to be drilled in the plate at A. The diameters of the bits available to drill the hole range from 1/2 to 11/2 in. in 1/4-in. increments. If the allowable stress in the plate is 21 ksi
Evaluate the limits using lhopitals rule : Evaluate the limits using L'Hopital's Rule - lim(x->0) (ex-e-x-2x)/(x-sinx) and lim (x->infinity) (1+(a/x))b/x

Reviews

Write a Review

JAVA Programming Questions & Answers

  Consider a class that could be used to play a game of

consider a class that could be used to play a game of hangman. the class has the following attributesthe secret wordthe

  Write an application in which the user can enter a date

Write an application in which the user can enter a date using digits and slashes (for example, " 6/24/2012 " ), and receive output that displays the date with the month shown as a word

  Write java program to enter number of marks

Write a java program called AverageMark.java. This program should allow the user to enter any number of marks and then display the minimum, maximum & average mark.

  Develop a complex web site

Develop a complex web site or piece of multimedia from scratch, using information gathering and design techniques;

  Java programming-days alive calculator

The context for this assignment (all parts) is a ‘Days Alive Calculator' - a small desktop applicationfor calculating the number of days someone has been alive based on the date of birth and a seconddate, which may be today's date or some other date.

  Elliptic curve encryption

write a program to implement Elliptic Curve encryption/decryption and program will read parameters, plaintext and ciphertextfrom a file named "input.txt" (under the same directory).

  Train management system using model-view-controller design

Develop a GUI for simulating the behaviour of a train management system using the Model-View-Controller design pattern - write any code that is operating-system specific, since we will batch test your code on a Unix machine.

  What extent do images and themes of daughterhood

What extent do images and themes of daughterhood from your 19th century text influence each other?

  What is a java archive

What type of output does the javadoc command generate and how do you view the output and what is a Java archive?

  How are they used in javadoc comments

What is a tag and how are they used in Javadoc comments?

  Difference between sequential access and random access

What is the difference between sequential access and random access? What are BufferedInput/OutputStreams and why are they used? Write some Java code to illustrate how to create a BufferedInputStream

  Develop a gui based java program

Designing and developing a College Registration program

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd