Given a file of data, read the data and parse it based on a fixed given field he

Aug 13th, 2015
Anonymous
Category:
Calculus
Price: $30 USD

Question description

AssignmentDetails_8_11_2015.pdf

Sample Data Link File:

 

 

 

Step 1: Given a file of data, read the data and parse it based on a fixed given field headers. To download the file, select the following link: Unit 4 Sample Data

The file should not be a comma delimited file with 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 2: Write a complete C# program in console mode to load the data file as a sequential file using C# System.IO library into an ArrayList data structure (using the System.Collection library) Store each line in the file as a separate record.

Step 3: 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 4: Next, sort the data in descending order based on the ZIP field, and display the following fields:

  • First name 
  • Last name 
  • Company 
  • ZIP

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

Step 6: Submit the source code for the solution and the output screenshots for the following list. You can use any appropriate algorithm in the solution.

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

Please submit your assignment.

For assistance with your assignment, please use your text, Web resources, and all course materials.

Grading Rubric

 

Project CriteriaExceeds: 90%–100%Very Good: 80%–89%Meets: 70%–79%Needs Improvement: Below 70%

Content
(75%)

Response covers all topics indicated in the assignment and adds additional content. Response covers most topics indicated in the assignment. Response covers many of the topics indicated in the assignment.Response covers none to some of the topics indicated in the assignment.

Effective Communication
(10%)

Demonstrates outstanding or exemplary application of written, visual, or oral skills. Demonstrates outstanding expression of topic, main idea, and purpose. Audience is addressed appropriately. Language clearly and effectively communicates ideas and content relevant to the assignment. Errors in grammar, spelling, and sentence structure are minimal. Organization is clear. Format is consistently appropriate to assignment. Presentation and delivery are confident and persuasive (where applicable). The writing was of collegiate level with no errors in spelling or grammar.Demonstrates very good written, visual, or oral skills. Demonstrates sound expression of topic, main idea, and purpose. Audience is usually addressed appropriately. Language does not interfere with the communication of ideas and content relevant to the assignment. Errors in grammar, spelling, and sentence structure are present, but do not distract from the message. Organization is apparent and mostly clear. Format is appropriate to assignment, but not entirely consistent. The writing was of collegiate level with two or less errors in spelling or grammar.Demonstrates acceptable written, visual, or oral skills. Demonstrates reasonable expression of topic, main idea, and purpose. Sometimes, audience is addressed appropriately. Language does not interfere with the communication of ideas and content relevant to the assignment. Errors in grammar, spelling, and sentence structure are present and may distract from the message. Organization is a bit unclear. Format is inconsistent. The writing was of collegiate level with several errors in spelling or grammar.Demonstrates inadequate or partially proficient application of written, visual, or oral skills. Demonstrates inadequate or partial expression of topic, main idea, and purpose. Audience is often not addressed appropriately. Language often impedes the communication of ideas and content relevant to the assignment. Errors in grammar, spelling, and sentence structure are frequent and often distract from meaning or presentation. Organization is inadequate, confusing, and distracting. The format is inadequate and obscures meaning. The writing was less than collegiate level with numerous errors in spelling or grammar.

Supporting Analysis
(15%)

Analysis exceeds minimum requirements. Sources are used to support analysis, are appropriate, and are properly referenced.Basic analysis provided to support assertions. Sources are cited, appropriate, and properly referenced.Limited analysis provided to support assertions. Some sources are cited, appropriate, and properly referenced.No or inaccurate analysis, no sources are cited when needed, analysis and/or sources are not appropriate. When sources are used, they are not properly referenced.

 

Tutor Answer

(Top Tutor) Studypool Tutor
School: Boston College
PREMIUM TUTOR

Studypool has helped 1,244,100 students
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1827 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors