Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Total number of passengers on titanic

17/11/2021 Client: muhammad11 Deadline: 2 Day

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

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

2

********** 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

Grading Rubric:

The following grading rubric will be used to determine your grade:

Attribute Exceeds Meets Does not meet

Design (5 points) (5 points)

Exhibits proper use of parameters, and selection of data types all of the time.

Employs correct and appropriate use of

(3-4 points)

Exhibits proper use of parameters, and selection of data types most of the time.

Employs correct and appropriate use of

(0-2 points)

Rarely exhibits proper use of parameters, and selection of data types.

Rarely employs correct and appropriate use of programming structures

3

programming structures (loops, conditionals, classes etc.) all of the time.

Efficient algorithms used all of the time.

programming structures (loops, conditionals, classes etc.) most of the time.

Efficient algorithms used most of the time.

(loops, conditionals, classes etc.)

Poorly structured and inefficient algorithms.

Functionality (10 points)

(9-10 points)

Extra effort was apparent through the addition of significant and additional functionality beyond the scope of the assignment.

(7-8 points)

Program fulfills most functionality.

Most requirements were fulfilled.

Screen captures provided demonstrating the successful compiling and running of the program.

(0-6 points)

Program does not fulfill functionality.

Few requirements were fulfilled.

Test cases (5 points) (5 points)

Test cases provide comprehensive coverage of all code paths.

Discussion of run-time errors included.

(3-4 points)

Test cases provide coverage of most code paths.

Test cases results well documented providing pass/fail results for each test case.

(0-2 points)

No or insufficient test cases

Minimal supporting evidence provided to verify testing actually took place.

Java Style Guide (5 points)

(5 points)

Code impeccably neat and well-organized.

Extensive In-line comments providing additional insight into code design and functionality

(3-4 points)

Header comments include filename, author, date and brief purpose of the program.

In-line comments used to describe major functionality of the code.

Meaningful variable names and prompts applied.

Class names are written in UpperCamelCase.

(0-2 points)

Code rarely follows recommended Java style guide

4

Variable names are written in lowerCamelCase.

Constant names are in written in All Capitals.

Braces use K&R style.

Submission requirements:

Your deliverables include all Java files (.java) and a single word (or PDF) document. The Java files should be named appropriately for your applications. Your word document should include screen captures showing the successful compiling and running of each application, and a detailed description of the test plan for each application. The test plan should include the input, expected output, actual output and if the test case passed or failed. Submit your files to the Final Project assignment area no later than the due date listed in the calendar.

Titanic Data Description:

The attached tab delimited file, named titanic.txt contains the known passengers on the Titanic. There are 6 fields included in the file in the order:

Passenger class (1,2,3) Survived (1=yes, 0=no) Name (Passenger name) sex (male or female) age (some values are blank) fare (some values are blank)

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Quick Finance Master
Top Academic Guru
Finance Homework Help
WRITING LAND
Engineering Exam Guru
Professor Smith
Writer Writer Name Offer Chat
Quick Finance Master

ONLINE

Quick Finance Master

I find your project quite stimulating and related to my profession. I can surely contribute you with your project.

$26 Chat With Writer
Top Academic Guru

ONLINE

Top Academic Guru

Being a Ph.D. in the Business field, I have been doing academic writing for the past 7 years and have a good command over writing research papers, essay, dissertations and all kinds of academic writing and proofreading.

$23 Chat With Writer
Finance Homework Help

ONLINE

Finance Homework Help

I have done dissertations, thesis, reports related to these topics, and I cover all the CHAPTERS accordingly and provide proper updates on the project.

$33 Chat With Writer
WRITING LAND

ONLINE

WRITING LAND

I have read your project description carefully and you will get plagiarism free writing according to your requirements. Thank You

$25 Chat With Writer
Engineering Exam Guru

ONLINE

Engineering Exam Guru

I am an elite class writer with more than 6 years of experience as an academic writer. I will provide you the 100 percent original and plagiarism-free content.

$36 Chat With Writer
Professor Smith

ONLINE

Professor Smith

I find your project quite stimulating and related to my profession. I can surely contribute you with your project.

$45 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Discussion forum - Apt 9 lisa indexer wallet - Uber Case - Https connect technainstitute com glad canada subject registration - Des star ratings june 2021 - Suby g catheter flush - Saint leo chalk and wire - Industrial health and hygiene ppt - Leaked movie trailer and a confidentiality agreement - Ammonia gas and hydrogen chloride gas equation - Shoe size vs height - The author to her book by bradstreet - How gram staining works - Biomes of north america worksheet - Water and the making of sedimentary rock - If the demand for bacon is relatively elastic, a 10 percent decline in the price of bacon will - Olde vic burton latimer - Managerial economics and business strategy chapter 4 answers - Case 4 PM - Stockhouse restaurant st kilda - The college payoff education occupations lifetime earnings - Complex analysis by lars ahlfors - Http denali gsfc nasa gov research lowman lowman_map1_lg jpg - John the ripper pro - Employee motivation project report doc - Easa amc 20 29 - Greenpeace true food guide - Cause and effect argument essay eng 106 - Derivative of e y - Case study - How to convert db to watt - Shrek donkey lonely song - Manual platelet count procedure - Tata nano the people's car case study pdf - Bailey and burch ethics scenarios - Body systems concept map - Assist - What is rotational equilibrium - Sapphire ward whiteleaf centre - WEEK 2 DISCUSSION BUSINESS LAW 1 - 82 townsend road rockingham - Mathematica implicit differentiation - Systems analysis and design with uml 5th edition pdf - Five oaks kennels capenhurst - What is the angular diameter of the sun - Emotional behavioral disorder powerpoint - Community policing through environmental design - Sociology - Is it all in your genes achieve3000 answers - Sleek writers - Hei spark tester napa - 2620 kj in calories - Cae practice tests listening - Hyperion essbase admin guide - What are the characteristics of hazardous manual tasks - Rock n roll stoppard - 12.4 early single celled organisms study guide answer key - Cjt202 assignment - Ppq number plate transfer - 107d8fr - Nyc acs code of conduct - Correlation between the Real Estate and Stock Markets in China and the United States of America - APA PSYCH 2-3 PAGE PAPER - What is a median of a trapezoid - Graphpad prism 5 serial number - After tax salvage value formula - Mass flow rate of refrigerant r410a - Schizoid personality disorder vs avoidance personality disorder - Palestrina attempted to compose music for the church that was - Cisco ise policy sets - Unwritten or unspoken understandings through which firms collude to restrict competition are called - Oceanview marine company summary of possible misstatements - Site Selection - Poetry should ride the bus - 10 strategic points grand canyon university - CYS5331 - Kit kat market research - Discussion Question #3: Background Check - Msc mental health science - Are children who create imaginary companions psychologically disturbed - Mark 8 29 worksheet gcu - Danforth quotes about reputation - Irene mccormack catholic college - Identify five specific requirements of an effective mrp system - Grab manufacturing co purchased a 10 ton draw press - Ford analysis of strategic intent - Mlc super abn number - Quality management plan examples - 3d snowflake paper template - Khan academy spss - Asa flight timer manual - Practical Connection: Security Breach Evaluation - International Logistics - Ilana industries inc needs a new lathe - Will smith pursuit of happiness speech - Fin 534 homework set 4 answers - Dramatic hip hop instrumental rebel america inc - Nurse burnout pico question - Wk 1 - Technology Standards Infographic - Tartuffe script pdf