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

  Method that reads a text file and returns a list of tokens

Write a method that reads in a text file and returns a list of the tokens (preferably alphanumeric) in that file. Write a method to print out frequency results.

  Have to implement a search algorithm

Suppose you have to implement a search algorithm in a high programming language such as Java or C++. You are given a linked list that is not sorted and it's rather small, in the order of a few dozen elements.

  Accepts a scanner representing an input file

Write a method in JAVA called stripHtmlTags that accepts a Scanner representing an input file containing an HTML web page as its parameter, then reads that file and prints the file's text with all HTML tags removed. A tag is any text between the c..

  Write an application that extends jframe

Write an application that extends JFrame and that displays a phrase in every font size from 6 through 20.

  Create java application-input miles driven and gallons used

Create Java application which will input miles driven and gallons used (both as integers) for each tankful. Program must compute and display miles per gallon obtained for each tankful.

  Represent relationship between the students and the courses

1. Implement relationship using a java program. Assume each course has a course title, code, subject and number of credits while each student has a name, registration number, list of courses that the student follows and the marks for each course.

  Computer science and information system

In the College of Computer Science and Information System, forty students were asked to rate the quality of teaching of his Course Instructor in the class room environment on a scale of 1 to 10 (1 means minimum standard of teaching and 10 means ex..

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

  The access modifier of constructors should be

The access modifier of constructors should be

  State a java class named accumulator the class comprises

question define a java class named accumulator. the class contains the following elementsa. an integer variable named

  What can i do if servlet is receiving a nullpointerexception

What can I do if my Servlet is receiving a NullPointerException when accessing init parameters via the ServletConfig object in WebLogic?

  Represent one book in java

Represent one book in java

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