ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 19 May 2017 My Price 9.00

US Crimes Statistics Program

I need help answering this CMIS 141 final project java programming assignment correctly. Any feedback would be greatly appreciated and helpful. The assignment details are in the attachments and also below.

 

 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 shown below.  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. d. Total percentage change in Motor Vehicle Theft between the years 1998 and 2012.  e. Two (2) additional crime statistics results you add to enhance the application 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 US Crime Data file.  b. You are not allowed to modify the Crime.csv Statistic data file included in this assignment. c. 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.) d. Your design should include multiple classes to separate the functionality of the application. 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. 
Here is sample run: 
java TestUSCrime Crime.csv 
2  
********** Welcome to the US Crime Statistical Application ************************** 
Enter the number of the question you want answered.  Enter ‘Q’ to quit the program : 
1. What were the percentages in population growth for each consecutive year from 1994 – 2013? 2. What year was the Murder rate the highest? 3. What year was the Murder rate the lowest? 4. What year was the Robbery rate the highest? 5. What year was the Robbery rate the lowest? 6. What was the total percentage change in Motor Vehicle Theft between 1998 and 2012? 7. What was [enter your first unique statistic here]? 8. What was [enter your second unique statistic here]? Q.    Quit the program  
Enter your selection: 2  
The Murder rate was highest in 1994 
Enter the number of the question you want answered.  Enter ‘Q’ to quit the program : 
1. What were the percentages in population growth for each consecutive year from 1994 – 2013? 2. What year was the Murder rate the highest? 3. What year was the Murder rate the lowest? 4. What year was the Robbery rate the highest? 5. What year was the Robbery rate the lowest? 6. What was the total percentage change in Motor Vehicle Theft between 1998 and 2012? 7. What was [enter your  first unique statistic here]? 8. What was [enter your second unique statistic here]? Q.    Quit the program  
Enter your selection: 5  
The Robbery rate was lowest in 2013 
Enter the number of the question you want answered.  Enter ‘Q’ to quit the program : 
1. What were the percentages in population growth for each consecutive year from 1994 – 2013? 2. What year was the Murder rate the highest? 3. What year was the Murder rate the lowest? 4. What year was the Robbery rate the highest? 5. What year was the Robbery rate the lowest? 6. What was the total percentage change in Motor Vehicle Theft between 1998 and 2012? 7. What was [enter your  first unique statistic here]? 8. What was [enter your second unique statistic here]? Q.    Quit the program  
Enter your selection: Q  
Thank you for trying the US Crimes Statistics Program. 
Elapsed time in seconds was: 32

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

US Crimes Data Description: 
The attached Comma delimited file, named Crime.csv contains US Crime data from 1994 – 2013. The first line in the file contains the field names. (Note: Do not modify this file in anyway. You should use it as is for input for your application) 
The US Crime data were obtained from this Web Site:  
https://www.fbi.gov/about-us/cjis/ucr/crime-in-the-u.s/2013/crime-in-the-u.s.2013/tables/1tabledatadecoverviewpdf/table_1_crime_in_the_united_states_by_volume_and_rate_pe r_100000_inhabitants_1994-2013.xls#overview 

 

 

 

1Final ProjectThis assignment demonstrates your understanding of the concepts from the CMIS 141 class. Thishomework consists of 1 programming assignment worth 25 points.Before attempting this project, be sure you have completed all of the reading assignments, hands-onlabs, discussions, and assignments to date.1. (25 points) 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 shown below. The applicationshould provide statistical results on the data including:a.Population growth in percentages from each consecutive year (e.g. 1994-1995calculation is ((262803276 - 260327021)/260327021)*100 = 0.9512%, 1995-1996 wouldbe ((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.d.Total percentage change in Motor Vehicle Theft between the years 1998 and 2012.e.Two (2) additional crime statistics results you add to enhance the applicationfunctionality.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 are not allowed to modify the Crime.csv Statistic data file included in thisassignment.c.Use arrays and Java classes to store the data. (Hint: You can and should create aUSCrimeClass to store the fields. You can also have an Array of US Crime Objects.)d.Your design should include multiple classes to separate the functionality of theapplication.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 datato return.A sample menu is shown in run example. You are free to enhance your designand you should add additional menu items and functionality.g.The menu system should be displayed at the command prompt, and continue toredisplay after results are returned or until Q is selected. If a user enters an invalid menuitem, the system should redisplay the menu with a prompt asking them to enter a validmenu selectionh.The application should keep track of the elapsed time (in seconds) between once theapplication starts and when the user quits the program. After the program is exited, theapplication should provide a prompt thanking the user for trying the US Crime Statisticsprogram and providing the total time elapsed.Here is sample run:java TestUSCrime Crime.csv

YearPopulatonViolenT cri ViolenT crime raMurder and nonnegligenT Murder and noRape19942603270211857670713.623326910221619952628032761798792684.5216068.29747019962652285721688540636.6196457.49625219972677836071636096611182086.89615319982702480031533887567.6169746.39314419992726908131426044523155225.78941120002814219061425486506.5155865.59017820012853175591439480504.5160375.69086320022879739241423677494.4162295.69523520032907889761383676475.8165285.79388320042936568421360088463.2161485.59508920052965070611390745469167405.69434720062993984841435123479.3173095.89447220073016211571422970471.8171285.79216020083040597241394461458.6164655.49075020093070065501325896431.91539958924120103093302191251248404.5147224.88559320113115878161206005387.1146614.78417520123138736851217057387.8148564.78514120133161288391163146367.9141964.579770

Attachments:

Answers

(11)
Status NEW Posted 19 May 2017 07:05 AM My Price 9.00

-----------

Not Rated(0)