Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab Assignment # 2 - Programming 3 [Using C#] Exercise 03: [20 marks] You need to enhance your generic LinkedListLibrary (.dll file) class library project

Lab Assignment # 2 - Programming 3 [Using C#]

image text in transcribed

Exercise 03: [20 marks] You need to enhance your generic LinkedListLibrary (.dll file) class library project ( which you have completed in the class/Lab), by adding the following methods apart from the existing methods: I Minimum() method which will return the smallest itemode value - T GetLastNode() which will return the last element in the linked list [Note: Create a new solution, and to that solution add a new class library project. Enhance it as per requirements. After that add another project- LinkedListLibrary Test to the above solution where you can test the above library by adding a reference to test project. Take out the build of the above library in the Release Mode.) Test this library by using it in the project - LinkedListLibraryTest by creating two linked lists of integers and doubles ( containing at least 5 elements each ) and calling the methods Minimum() and GetLastNode() You need to enhance class library project QueuelnheritanceLibrary (generic version), which is derived from LinkedListLibrary, by adding following method apart from the existing ones: - T GetLast() which will just return the last element in the queue and not delete it. Test this library by using it in the project - QueuelnheritanceLibraryTest by creating two linked lists based queue objects of integers and doubles and calling the method GetLast() and Minimum(). Exercise 03: [20 marks] You need to enhance your generic LinkedListLibrary (.dll file) class library project ( which you have completed in the class/Lab), by adding the following methods apart from the existing methods: I Minimum() method which will return the smallest itemode value - T GetLastNode() which will return the last element in the linked list [Note: Create a new solution, and to that solution add a new class library project. Enhance it as per requirements. After that add another project- LinkedListLibrary Test to the above solution where you can test the above library by adding a reference to test project. Take out the build of the above library in the Release Mode.) Test this library by using it in the project - LinkedListLibraryTest by creating two linked lists of integers and doubles ( containing at least 5 elements each ) and calling the methods Minimum() and GetLastNode() You need to enhance class library project QueuelnheritanceLibrary (generic version), which is derived from LinkedListLibrary, by adding following method apart from the existing ones: - T GetLast() which will just return the last element in the queue and not delete it. Test this library by using it in the project - QueuelnheritanceLibraryTest by creating two linked lists based queue objects of integers and doubles and calling the method GetLast() and Minimum()

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

2. Outline the functions of nonverbal communication

Answered: 1 week ago