Answered step by step
Verified Expert Solution
Question
1 Approved Answer
books.hpp books.cpp booksmain.cpp CSci 1113: Introduction to C/C++ Programming for Scientists and Engineers Spring 2018 Extra Credit Homework Due Date: May 10, 2018 at 11:59pm.
books.hpp
books.cpp
booksmain.cpp
CSci 1113: Introduction to C/C++ Programming for Scientists and Engineers Spring 2018 Extra Credit Homework Due Date: May 10, 2018 at 11:59pm. Instructions: This is an individual homework assignment. There is one problem worth 20 points, which will be converted to 5% of the final. Solve the problem by yourself (unlike the labs, where you can work collaboratively), and submit the solution as a C+ source code file. Here are a few more important details: You submit the correct file through Canvas by the due deadline You should follow the example input and output formats given in each problem description. (match the input and output format exactly) Regardless of how or where you develop your solutions, your programs compile and execute on cselabs computers running the Linux operating system. Problem: An even "Beefier" Book Database This homework will carry on our work on the book database. A solution file for homework 9 is going to be provided, in case you need it. However, you are not required to use this, as long as your own solution is complete and 100% correct as per the requirements of homework 9 1. Program Tasks ("What do I have to do exactly?") In this homework, you will extend your book database from homework 9 in the following way: 1. Add a feature to delete a record from the book database. The book to be deleted can be searched for by any attribute of the book. This means, the user may want to search for the book to be deleted by ID, title, author name, edition, year or ISBN number. Only one attribute will be used to search for the book 2. The search to find the book to be deleted will be conducted by the binary search algorithm, (as opposed to linear search which you already have done in homework 9) which we have discussed in class. 3. These two features will be added to the program that you completed in homework 9. As mentioned, a complete solution is already given, so you just have to add these two features 2. Input/output specifications: The input file specification is the same as the one from homework 9. You can use your old bookinput.dat files 3. Program Operation It will be identical to that of homework 9. In addition, an extra menu option will be added for deleting records. Page 1/3 CSci 1113: Introduction to C/C++ Programming for Scientists and Engineers Spring 2018 Extra Credit Homework Due Date: May 10, 2018 at 11:59pm. Instructions: This is an individual homework assignment. There is one problem worth 20 points, which will be converted to 5% of the final. Solve the problem by yourself (unlike the labs, where you can work collaboratively), and submit the solution as a C+ source code file. Here are a few more important details: You submit the correct file through Canvas by the due deadline You should follow the example input and output formats given in each problem description. (match the input and output format exactly) Regardless of how or where you develop your solutions, your programs compile and execute on cselabs computers running the Linux operating system. Problem: An even "Beefier" Book Database This homework will carry on our work on the book database. A solution file for homework 9 is going to be provided, in case you need it. However, you are not required to use this, as long as your own solution is complete and 100% correct as per the requirements of homework 9 1. Program Tasks ("What do I have to do exactly?") In this homework, you will extend your book database from homework 9 in the following way: 1. Add a feature to delete a record from the book database. The book to be deleted can be searched for by any attribute of the book. This means, the user may want to search for the book to be deleted by ID, title, author name, edition, year or ISBN number. Only one attribute will be used to search for the book 2. The search to find the book to be deleted will be conducted by the binary search algorithm, (as opposed to linear search which you already have done in homework 9) which we have discussed in class. 3. These two features will be added to the program that you completed in homework 9. As mentioned, a complete solution is already given, so you just have to add these two features 2. Input/output specifications: The input file specification is the same as the one from homework 9. You can use your old bookinput.dat files 3. Program Operation It will be identical to that of homework 9. In addition, an extra menu option will be added for deleting records. Page 1/3Step 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