Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Assignment

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. Eliminate the last column (Pig-Latin) in the data file.

The file is 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# ***** in console mode to load the data file as a sequential file using C# ***** 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.

Sorted data based on last name

Sorted data based on ZIP

Everyone in the state of NY

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92026723
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Question is it ethical for a potential employer to use the

Question: Is it ethical for a potential employer to use the Internet this way? Is it legal? What if an angry ex-boyfriend or ex-girlfriend posted some things, pretending to be you? How might this affect your chances for ...

Customers for a restaurant arrive at an average rate of 36

Customers for a restaurant arrive at an average rate of 36 customers per hour during lunchtime. a. Write the Poisson probability distribution function with the specific parameters for this problem. b. Rewrite the probabi ...

Question suppose host a has 10 packets with sequence

Question : Suppose host A has 10 packets with sequence numbers 1 to 10 to be transmitted to host B. Now imagine that the packets numbered 2 and 7 are lost when they were sent the first time. Assume that ACKs are never lo ...

Please do it in c programrevisit the matrix addition

Please do it in C program Revisit the matrix addition function Write the program so that it would not need to take a third pointer for the result matrix Instead, have the function return a pointer to the results matrix P ...

Roberto is the network administrator for an international

Roberto is the network administrator for an international law firm with offices and customers in North America, South America, Africa, and the Middle East. The lawyers frequently contact each other via e-mail, use the In ...

Suppose you are a manager in the it department for the

Suppose you are a manager in the IT department for the government of a corrupt dictator, who has a collection of computers that need to be connected together to create a communication network for his spies. You are given ...

Question state the considerations of selecting and handling

Question : State the considerations of selecting and handling participants for a usability experiment. Describe and compare types of usability testing.

A string in c is simply an array of characters with the

A string in C++ is simply an array of characters with the null character(\0) used to mark the end of the string. C++ provides a set of string handling function in as well as I/O functions in . With the addition of the ST ...

A humane society claims that less thannbsp32 of us

A humane society claims that less than 32% of U.S. households own a dog. In a random sample of 410 U.S.? households, 153 say they own a dog. At alpha(α) = 0.03, is there enough evidence to support the? society's claim? C ...

Bob is interested in studying whether the average household

Bob is interested in studying whether the average household income in city A is lower than the national benchmark, μ 0  = $51,500. He collects income information from a random sample of 100 households, conducts a one-sam ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As