Even complicated and confusing topics will be easily developed and covered if you request our help writing an essay. Place an order today!

One of the fundamental requirements of programs is to use data stored

in permanent storage such as a hard disk file. Programs must be able to

read and write this type of data and use appropriate data structures

within the program to work with the data. In this assignment, you will

write a program to load and manipulate a data file. The data file can be

downloaded from the following link: Unit 4 Sample Data.

The file should not be a comma delimited file and should have the following record structure:

  • FirstName – Character – Size (12)
  • LastName – Character – Size (16)
  • Company – Character – Size (32)
  • Address – Character – Size (32)
  • City – Character – Size (24)
  • County – Character – Size (24)
  • State – Character – Size (2)
  • ZIP – Number – Size (5)
  • Phone – Character – Size (12)
  • Fax – Character – Size (12)
  • Email – Character – Size (32)
  • Web – Character – Size (42)

Step 1:For this assignment, you will write a complete Java console program to load the data file into an ArrayList data structure. Store each line from the file as a separate record in the ArrayList. To read the file, you should use a FileReader wrapped in a BufferedReader. If you create a Java class to contain each record, you will be able to create an object for each record and store the object in the ArrayList. Sorting the data can then be done using another wrapper class that contains the ArrayList and has methods for sorting and output of the data.

Step 2:After the file is loaded into the ArrayList, sort the data in ascending order based on the LastName field, and display the following fields:

  • First name
  • Last name
  • Company

Step 3:Next, sort the data in descending order based on the ZIP field, and display the following fields:

  • First name
  • Last name
  • Company
  • ZIP

Step 4:Display all of the records (and all of the fields) for everyone that is in the state "NY."

Step 5:The submission should be a single MS Word document with the program source code for the solution and screenshots of the output for the following list:

  1. Sorted data based on last name
  2. Sorted data based on ZIP
  3. Everyone in the state of NY

testimonials icon
Order Grade A+ Academic Papers Instantly!...
testimonials icon
Course Project for Leadership and Organizational Behavior...
testimonials icon
argument essay about education, 5-600 words, I am foreign student so dont make it professional. Please imbox me....
testimonials icon
Willa Cather’s story “Paul’s Case”is a story of a terribly troubled young man and his struggle with a mediocre life that is unfitting of hi...
testimonials icon
NameCourseInstructorDateSummaryA feasibility test aims to analyze and evaluate a project before it begins. The technicalfeasibility will be used to d...
testimonials icon
ECO 561 Week 2 DQ 2...
testimonials icon
Write a “Reading Responses,”  to Katherine Sullivan’s “Perception of Images in Advertising and Impact on Consumersâ...
testimonials icon
Use the Notes section to provide for deeper exploration of each topic. Assignment 2: Library Research—Training P...
testimonials icon
         Question 1. Define organizational effectiveness and how it is measured?          Question 2. Discuss three (...
testimonials icon
use a project planning tool to show who will be in charge of project components, so that a daycare facility will be developed on time to...
testimonials icon
First Problem: Illinois Wholesale Company has an agreement with it sales manager entitling that individual to 7% of company earn...
testimonials icon
Write a six to eight (6-8) page paper in which you:Provide Part I: Revision of A Problem Exists (3-4 pages)1. Revise, using feedback...

Other samples, services and questions:

Calculate Price

When you use PaperHelp, you save one valuable — TIME

You can spend it for more important things than paper writing.

Approx. price
$65
Order a paper. Study better. Sleep tight. Calculate Price!
Created with Sketch.
Calculate Price
Approx. price
$65