Design java application that will read file containing data

Assignment Help Basic Computer Science
Reference no: EM132385213

Final Project -

Design a Java application that will read a file containing data related to the US. Crime statistics from 1994-2013. The description of the file is at the end of this file. The application should provide statistical results on the data including:

a. Population growth in percentages from each consecutive year (e.g. 1994-1995 calculation is ((262803276 - 260327021)/260327021)*100 = 0.9512%, 1995-1996 would be ((265228572 - 262803276)/262803276)*100 = 0.9229%)

b. Years where the maximum and minimum Murder rates occurred.

c. Years where the maximum and minimum Robbery rates occurred.

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 US Crime Data file.

b. You should also use Java classes to their full extent to include multiple methods and at least two classes.

c. You are not allowed to modify the Crime.csv Statistic data file included in this assignment.

d. Use arrays and Java classes to store the data. (Hint: You can and should create a USCrimeClass to store the fields. You can also have an Array of US Crime Objects.)

e. You should create separate methods for each of the required functionality. (e.g. getMaxMurderYear() will return the Year where the Murder rate was highest.)

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

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

h. 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 US Crime Statistics program and providing the total time elapsed.

i. Hint: When reading the Crimes file, read one line at a time (See ReadEmail.java) and then within the loop parse each line into the USCrimeClass fields and then store that USCrimeClass Object into an array. Note you can use String.split(",") to split the CSV line into a the fields for setting the USCrimeClass Object.

Attachment:- Assignment Files.rar

Reference no: EM132385213

Questions Cloud

How the changing nature of work may affect training : Post a brief description about the future direction of needs analysis. Explain how the changing nature of work may affect training and needs analysis.
What kind of automatic behavioral responses are activated : Define classical conditioning and explain all the variables involved. What kind of automatic behavioral responses are "activated" by classical conditioning?
Develop a strategy and an organized method of the process : Submitting a request for proposal (RFP) is usually a requirement for human services administrators who wish to pursue government grants. For example.
Why event was central to developing i-o field of psychology : Select one event, research study, or individual and explain why you think this event, study, or individual was central to developing the I/O field of psychology
Design java application that will read file containing data : Final Project - Design a Java application that will read a file containing data related to the US. Crime statistics from 1994-2013
Identify the specific qualitative research design used : Once you have located an appropriate qualitative study, identify the specific qualitative research design used. Summarize the main points of the study.
Explain the attentional features involved in driving : Describe personal examples of both automatic and controlled processes of attention. Explain benefits and hindrances of your experiences.
Summarize the topic - Stem Cell Article : Summarize and give your opinion about the topic (it is very controversial politically and religiously) - Stem Cell Article
Compensation-benefits package is starting to develop issues : Imagine your human resource project of revamping the employee compensation and benefits package is starting to develop issues.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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