logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

Underground Books is a quaint little bookshop in your town still implementing manual inventory system for the books. As a long-time employee proficient in C++ programming

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Assignment Description

Underground Books is a quaint little bookshop in your town still implementing manual inventory system for the books. As a long-time employee proficient in C++ programming, you propose a transition towards digital book inventory system. Write an application in C++ to keep track of the bookshop inventory. The inventory records information in the text file consists of the following data: ISBN Code, author, title, publisher, year published, quantity, price and location. The details of the location include rack and level number. Gather the inventory data on at least 20 books and prepare them in the text file. As each inventory record is read from the file, insert it into a list by using nested array of structures.

 

After building the list, display a menu with the following options:

 

  • Add book record - Add book inventory information into the text

 

  • Delete book record – Delete book inventory information from the text file.

 

  • Edit book record – Ask user for book ID or author and title. Then search for the book inventory information in the list using the input data; the information should be updated if

 

  • List – Display the book inventory information. Each display should contain an appropriate heading and column

 

  • Search for books – Search for the availability of a particular book in the list using the book ID, author, or

 

  • Exit – Stop the program. The program will write the updated data in the list to the

 

Advanced Questions:

Task 1: Maintaining categories of books

Modify the storage structures of book inventory records of your program so that it can store the category/genres information of the particular book.

 

Task 2: Add an additional item to your menu: Advanced Search

Search for guest record(s) in the list using the book ID, author or title and print the full details for the record(s). It can match word(s)/number within a string/number, and also print multiple results. This is best explained by the following examples:

 

- If the ISBN code “9780807092156”, “9780803970533”, and “9780804143097” are in the

list, then searching for “978080” must print all three records (because the number “978080” occurs in all three ISBN Codes).

- If the full name “Dan Ariely” is stored inside the list, searching for either “Dan” or “Ariely” should return the record.

Note that you may need to use strstr() which allows you to locate substring.

 

Prepare the necessary data file(s) for building the data structure(s) needed in your application according to the format as shown in Appendix A below. You may give additional assumptions for your application.

 

Additional Information

To make your program more robust and avoid problems at run time, do as much status/error checking as you could in your program. You may also add on more features in your program for enhancement.

 

Assessment and Submission

This is a group assignment. Form a group of 2 or 3 members, preferably from same programme as yours. Prepare a report (preferable using word processing software and export to portable document format) to answer the questions given above.

 

Your REPORT SHOULD CONTAIN the following:

  1. design of the application (structure chart and flowcharts/pseudocode)
  2. print out of the C++
  3. sample output(s) (Alt+Prnt Scrn) of your
  4. sample of input data and test cases

 

Do remember to print the assignment marking sheet and attach as the FIRST PAGE of your report. There will be a link created in WBLE subject page for you to submit softcopy of your report, C++ program file(s) and input text file(s). You are required to upload the soft copy of your works by the deadline. Late submission will not be entertained.

 

This practical assignment will contribute 20% of your final mark. Refer to the marking sheet for the mark allocations for the report and C++ program. The report will be marked for correctness, completeness, presentation style, and relevant use of diagrams/tables/graphs, etc. And the C++ program will be marked for correctness, completeness, program style, adequate testing and documentation/comments. It’s your responsibility to understand the requirements of the tasks and prepare well for your submission. You will not receive full mark if you do not submit the report and C++ program that is a reasonable attempt and compiles without error. You might be asked questions about the work you submit to ensure that you understand them.

(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

890 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

707 Answers

Hire Me
expert
Husnain SaeedComputer science

509 Answers

Hire Me
expert
Atharva PatilComputer science

649 Answers

Hire Me