Comma delimited file

Assignment Help Basic Computer Science
Reference no: EM131502653

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:

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

Reference no: EM131502653

Questions Cloud

The major challenges facing police executives : What suggestions do you recommend for overcoming the "code of silence" that permeates all levels of the department? Explain.
Does the private sector have a career for you : Research jobs using Web site A or additional Internet sources, and find options that do not involve the most familiar employment avenues.
Discuss about the monocultural psychology : Why would an approach based on monocultural psychology be considered limiting when attempting to deal with a more diverse population?
Depth-first searching and breadth-first : Distinguish between depth-first searching and breadth-first searching as well as between knowledge-based systems and expert systems.
Comma delimited file : 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:
Create an annotated bibliography : Discuss and share 2 helpful hints they feel will assist others with creating an annotated bibliography in proper APA format.
Graphical user interface : It is common knowledge that the mouse is convenient for interacting with various parts of an application that uses a graphical user interface.
Dba for wonderworks : Suppose you are a DBA for WonderWorks, a large-sized company with 30 SQL server. Two (2) of the servers are considered critical
The impact of three strikes legislation : Do you believe that someone convicted of a misdemeanor for their third offense should be subjected to life imprisonment under this legislation?

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