Program to display aggregate information for state

Assignment Help Programming Languages
Reference no: EM1358566

Write a program that will read the data from the CSV file into an ArrayList of State objects where each State object stores information about all County objects for that state; note for this program States, districts, and territories(eg D.C.) will just be considered states. The CSV file contains aggregate information for all states and counties of each state. The CSV file I have uploaded is needed to run this program, the CSV file cannot be altered in any way form or fashion, it must be used as is. This program must be written using multiple classes, e.g. State class and County Class. this program doesn't require any mutators, for the State class and County class, since the program will read from the CSV file, but it will need constructors. You need to aim for methods that are about 25 lines of code long. This will require the designing of solutions where you're breaking down a problem into smaller subproblems. Each method should have a single well-defined purpose that is documented in its JavaDoc with pre and post conditions.25 lines of code should easily fit within the height of a window (typical heights). So If you need to scroll through the code of a method so that you can see all of it, then it's too long.Process the data provided and aggregate it by writing the following to an output file.

1) For each state, first confirm the aggregate information for each state in the data file with the individual county information. For the state of Alabama, the data file shows that there were 2,069,212 tax returns. You need the add all county records to verify that this value is the sum of all tax returns for every county. Similarly with other values.

2) For each state, display aggregate information for that state, including: the total number of counties in the state, the total number of tax returns, total number of exemptions, total adjusted gross income, etc. Also for each state, display the average number of exemptions and the averages for each of the monetary amounts.

Reference no: EM1358566

Questions Cloud

What was the magnitude of force : A motor boat haeds due east at 5 m/s acorss a river that flows toward the south at 5 m/s. If the river is 125m wide, how longs does it take the boat to cross the river.
Human growth and socialization : What is the relationship between human development & socialization as it relates to anti -social behavior. How does it affect anti- social behavior.
Entry to record the purchase : Fison Corporation purchased 15,000 shares of its $2 par common stock at a cost of $12 each share on April 30, 2006. The stock was originally issued at $10 each share.
Proven ways to increase share value : Describes several ways to increase the value of an organization. Which of these might be applicable to an organization and why? Please provide a reference.
Program to display aggregate information for state : For each state, display aggregate information for that state, including: the total number of counties in the state, the total number of tax returns.
Theoretical perspectives in maladaptive behavior : Briefly describe each of the major theoretical perspectives in maladaptive behavior.
Lay out the firm pro forma balance sheet : Cheryl Colby, the CFO of Charming Florist Ltd., has created the company's pro forma balance sheet for the next fiscal year. Sales are projected to grow at 10% to the level of $330 million.
Behaviorally and inter or intrapersonal maladaptive : What defense mechanisms did Freud discuss in his work and how can they be behaviorally and inter/intrapersonal maladaptive while still enabling individuals to cope with the stress of day to day life and maladaptive schemas?
Explain what steps could be taken to make it more effective : Explain What steps could be taken to make it more effective and What is the role of HR in performance evaluation and Who is responsible for it

Reviews

Write a Review

Programming Languages Questions & Answers

  Program to compute perimeter and area of rectangle

Write a program that asks for length L and the width W of a rectangle, then compute perimeter and area of the rectangle.

  Write pseudocode and flowchart for program

Write pseudocode and flowchart for program that will prompt the user for a number, prompt the user for an operator (+,-,*,/).

  Program to keep track of the seat availability of flight

A small airline company needs a program to keep track of the seat availability of its flights. Design the structure type FLIGHT to store a four-digit flight number.

  Writing a class

Build a class for a type called Fraction

  Write the constructor function makestk

Write the constructor function makestk, predicate function emptystk and mutator functions pushstk and popstk

  Explaining law of diminishing returns

As computer word size gets larger and larger, there is a law of diminishing returns; speed of execution of application programs doesn't increase and may, in fact, decrease.

  Hubspot: inbound marketing and web 2.0

Hubspot: Inbound Marketing and Web 2.0

  Program for class quiz to implement measurable interface

State a class Quiz to implement Measurable interface. A quiz has a score and a letter grade (such as B+).

  Writing code in client program to enter score

Write down code in a client program to perform the following: prompt user to enter score and set score data member for player1.

  Program to track which user is logged onto which computer

Write a computer program that could be used to track, by lab, which user is logged onto which computer.

  Machine language used by sim virtual computer simulator

Write a program in machine language used by the SIM virtual computer simulator package to calculate the sum of the four numbers stored in memory addresses A1, A2, A3 and A4.

  Program to calculate volume flow rate in cubic feet

Write a program to calculate the volume flow rate in cubic feet per second of water flowing through a pipe of diameter d in inches and a velocity of v feet per second.

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