Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 Ob jectives Your task is to design and implement the following three user requirements: Objective 1 ( Data Collection ) : Given a list

1 Ob jectives
Your task is to design and implement the following three user requirements:
Objective 1(Data Collection): Given a list of books, their initial quantities, and a list of customer receipts as a text file, read the files and insert them into an appropriate data structure(s).
Objective 2(Inventory Management): Develop methods to allow a store employee to insert a new order for a book, remove an existing order, and search for the remaining quantity of any given book.
Objective 3(Customer Favorites): Develop a method to determine the book that was most frequently purchased by a specific customer. This can be used as information towards suggesting future purchases for that customer.
You may use one or more data structures from those that we studied in class (linked lists, stacks, queues, trees, priority queues, hash tables) to implement these objectives. However, the goal is to ensure that the tasks are accomplished as efficiently as possible, which requires you to understand which data structure is suitable for which task. In particular, you will find that using a simple array will not be sufficient for getting the required efficiency, and you will have to verify this claim.

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

Computer Aided Database Design

Authors: Antonio Albano, Valeria De Antonellis, A. Di Leva

1st Edition

0444877355, 978-0444877352

More Books

Students also viewed these Databases questions

Question

Identify where SRI is practiced and explain how.

Answered: 1 week ago