Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 Programming III COMP 2 1 2 Lab# 1 Data Structure Purpose: The purpose of this assignment is to help you: Become familiar with classic
Programming III COMP
Lab# Data Structure
Purpose: The purpose of this assignment is to help you:
Become familiar with classic linear data structures
Have solid understanding of generic collection
Become familiar with C#
Instructions: Be sure to read the following general instructions carefully:
This assignment should be completed individually by all the students.
You are encouraged to demonstrate your solution during lab session and submit your
solution through the dropbox.
Include all projects used in only one solution.
You must name your submission according to the following rule:
studentIDyourlastnameLabnumber.zip. egsmithLab#zip
Rubric
Functionality Marks
Q Array vs linked list
stack vs queue
type constraint
Q Implementation of the extension method
Consume the extension method
Q Class that is to model the data
Loading data into the selected data structure
Adding new medalist to the data structure
Deleting a specific medalist from the data structure
Implementation of generic Search method
Invoking the implemented generic Search method
Overall Application usability, readability, organization, etc.
Question marks
Use examples to illustrate the differences between array and linked list marks
Use examples to illustrate the features of stack and queue marks
Use example to demonstrate what a type constraint is marks
Question marks
Implement an extension method for class StringBuilder to count the number of words contained in a
StringBuilder object. For example, if a StringBuilder object sbThis is to test whether the extension
method count can return a right answer or not the number of words contained in sb is
Question marks
Implement a C# application to load the data from Medals.csv choose appropriate data structure
to organize the data. After the data has been loaded, your app should be able to
Add new medalist information to the data structure
Delete a specific data from the data structure
Implement a generic Search method that implements the linearsearch algorithm. Search
method should compare the search key with each element in the data source until all
elements has been processed. The output of this method can be IEnumerable Then
use the medalist to test your Search method
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started