The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 408 Weeks Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
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 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:Once the file is loaded, sort the data inascendingorder based on theLastNamefield. Display the following fields:
First name
Last name
Company
Step 3: Sort the data indescendingorder based on theZIPfield, and display the following fields:
First name
Last name
Company
ZIP
Step 4: Display the record (all fields) for everyone that is in the state "NY"
Step 5: Submit the source code for the solution and the output for the 3 lists that are specified below. You can use any appropriate algorithm in the solution.
1.Sorted data based on last name
2.Sorted data based on ZIPEveryone in the state of NY
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll