Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

NEED HELP WITH THE PSEUDOCODE WITH THIS: For this assignment, you ll use information from a municipal government data feed that contains bids submitted for

NEED HELP WITH THE PSEUDOCODE WITH THIS:
For this assignment, youll use information from a municipal government data feed that contains bids submitted for property auctions. All materials for this assignment can be found in the Supporting Materials section below. The data set is provided in two CSV files:
eBid_Monthly_Sales.csv (larger set of 12,023 bids)
eBid_Monthly_Sales_Dec_2016.csv (smaller set of 76 bids)
In this assignment, you will explore linked lists. You will implement a singly linked list to hold a collection of bids from a CSV file. You will be given a starter console program that uses a menu to enable testing of the enter, find, remove, and display logic you will complete. In this version, the following menu is presented when the program is run:
Menu:
Enter a Bid
Load Bids
Display All Bids
Find Bid
Remove Bid
Exit
Enter choice:
The LinkedList.cpp program is partially completed. The program contains empty methods representing the programming interface used to interact with the linked list. You will need to add logic to the methods to implement the necessary behavior. Here is the public API for LinkedList.cpp that you must complete:
public:
LinkedList();
virtual ~LinkedList();
void Append(Bid bid);
void Prepend(Bid bid);
void PrintList();
void Remove(string bidId);
Bid Search(string bidId);
Directions
You must perform the following steps to complete this activity:
Setup: Begin by creating a new C++ project with the project type Hello World C++ Project. For help setting up your project in Visual Studio C++, refer to the Apporto Visual Studio Setup Instructions and Tips in the Module One Resources section. Name the project LinkedList.
Task 1: Create an internal structure for list entries, housekeeping variables. Create the structure, internal to the class, that will hold the bid entries. Consider what other variables are needed to help manage the list.
Task 2: Initialize housekeeping variables. Remember to initialize the housekeeping variables in the constructor.
Task 3: Implement append logic. Create code to append a bid to the end of the list.
Task 4: Implement prepend logic. Create code to prepend a bid to the front of the list.
Task 5: Implement print logic. Create code to print all the bid entries in the list to the console.
Task 6: Implement remove logic. Create code to remove the requested bid using the bid ID passed in.
Task 7: Implement search logic. Create code to search for the requested bid using the bid ID passed in. Return the bid structure if found or an empty bid structure if not found.
Here is sample output from running the completed program. Note that bid ID 98109 does not exist in the data file. You will have to add bid ID 98109 using Choice 1 after you have loaded the bids using Choice 2. Test your Find and Remove functions using this bid that you added.

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

Larry Ellison Database Genius Of Oracle

Authors: Craig Peters

1st Edition

0766019748, 978-0766019744

More Books

Students also viewed these Databases questions

Question

2. Outline the functions of nonverbal communication

Answered: 1 week ago