Create a flowchart to show the process

Assignment Help Data Structure & Algorithms
Reference no: EM131483623

Assignment #1

You will now look at Stacks and Queues using linked lists. Complete the following for this assignment:

Create a flowchart to show the process that will allow the implementation of Stack, Push, and Pop operations.

Create a flowchart to show the process that will allow the implementation of Queue, Enqueue, and Dequeue operations.

Write the required C# codes (and functions) to implement either a Stack or a Queuedata structure.

Assignment # 2

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.

Sorted data based on last name

Sorted data based on ZIP

Everyone in the state of NY

Messge me for more info about sample data for Assignment #2.

Reference no: EM131483623

Questions Cloud

Is the new york times paywall working : Is the New York Times Paywall working? ?How would you evaluate the current Paywall compared to prior ones?
Calculate the expected return of the portfolio : Calculate the expected return of the portfolio for both investment choices - evaluates the bonds for the following sets of market interest rates
Define the symmetric nonlinear programming model : Show that the following specification is a symmetric nonlinear programming model.
Describe three of the seven forms of waste : List and describe three of the seven forms of waste that effective organizations learn to recognize.
Create a flowchart to show the process : Create a flowchart to show the process that will allow the implementation of Stack, Push, and Pop operations.
What are the leadership implications : Which theory is most applicable in this case and what are the leadership implications?
Functions is not part of the supply chain : Which of the following functions is not part of the Supply Chain
Explain the three network management areas : Compare and contrast, at least, one tool for each of the three network management areas. What is the best tool for each area?
Affirmative action policies create unjust reverse : Do you agree that all affirmative action policies create unjust reverse discrimination?

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Write a method that takes a sorted integer array a

Write a method that takes a sorted integer array A and a key k and returns the index of the first occurrence of k in A. Return -1 if k does not appear in A

  Defined asa collection of distinct elements

SIT221 -DATA STRUCTURES AND ALGORITHMS. In mathematics, a set is defined asa collection of distinct (no duplication) elements . These elements could be anything - numbers, characters, strings, etc.There is no particular order of the elements in a ..

  Distributed system algorithms

Distributed system algorithms - Leader Election (id),  In: Processor's id , Out: LEADER if processor has largest id, NOT_LEADER if otherwise

  Create a loop structure to display all integer values

Determine if the first number is larger than, smaller than, or equal to the second number.

  Write a c++ program that creates and populate a tree

Write a C++ program that creates and populate a tree for an arithmetic expression. Then it should perform an in-order and a post-order traversal on the tree. The input of the program will be a text file with the arithmetic expressions in RPN.

  Find terminal nodes in tree nil if pointer is represented

The node's right child. If the nil pointer is represented by 00 and the tree's root pointer contains 53, how many terminal nodes are in tree?

  In what sequence were the data entered

The binary search tree in Figure was created by starting with a null tree and entering data from the keyboard. In what sequence were the data entered?

  Plot the run time of your bubblesort algorithm

CSE 310 - Data Structures and Algorithms - Plot the run time of your Bubblesort algorithm and your Quicksort algorithm on arrays of integers of size n = {101, 102, 103, 104, 105, 106} (

  Create a simple hierarchy for items

Assume you have to write software to be used by a university library. There are three types of item that can be borrowed from the library - DVDs, books and journals. These are all a type of Media.

  Create a program that reads product number and prices

The Rinky Dooflingy Corporation produces different kinds of doofingies, each identified b a product number. Create a program that reads product number and rates and stores these values in two arrays,

  Initalize the element with appropriate integer values

delcare and array of integer of size 10 and initalize the element with appropriate integer values

  Create a table that depicts the runtime for arrays of length

Create a table that depicts the runtime for arrays of length 1 to 10. Would you expect the general runtime to be O(n), O(n2), O(n3), or some other function of n? Explain.

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