Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Final Project Library Management System Any educational institution has a library that operates almost like public libraries, but the borrowers will be from the same

Final Project Library Management System Any educational institution has a library that operates almost like public libraries, but the borrowers will be from the same institution. This project will be built to fulfil the needs of educational institutions libraries. The system will authorize only the registered users in the institution, so every User will be able to login using his ID and password (ID, name, password, user type, borrowing history). If the logged user is an Employee, he can borrow without Librarian approval, but Student has to wait for approval if his grades under 85%. Librarian (ID, name, password) will be able to approve borrowing requests, look for specific book, accept returned books, and check the borrowing history of specific book or for specific user. Each registered Book (ISBN, name, status (borrowed, available), borrowing history) should has a borrowing history that shows how borrowed it before. Suggested Menus 1- Home Menu Welcome to Library System, Enter your ID name. Hasan Hi Student Hasan, now enter your password: Welcome to Library System, Enter your ID name. Eias Hi Employee Eias, now enter your password: Welcome to Library System, Enter your ID name. Kamal Hi Librarian Kamal, now enter your password: 2- Users (Students/Employees) Menu Welcome Hasan, 1- Show available books 2- Borrow a book (by ISBN) 3- Search for books by name 1 001, Calculus, available Borrowed by: - Hasan - Eias 002, C++, not available Borrowed by: - Hasan Want to borrow a book? Enter its ISBN: 001 Your request has been submitted to librarian, check with him. Welcome Hasan, 1- Show available books 2- Borrow a book (by ISBN) 3- Search for books by name 2 Enter the books ISBN: 002 C++ book is not available, Hasan has it now. If the user is an Employee Welcome Hasan, 1- Show available books 2- Borrow a book (by ISBN) 3- Search for books by name 3 Enter the name you want to look for, or the ISBN number: C+ 002, C++, not available Borrowed by: - Hasan Want to borrow a book? Enter its ISBN: 002 C++ book is not available, Hasan has it now. Welcome Hasan, 1- Show available books 2- Borrow a book (by ISBN) 3- Search for books by name 3 Enter the name you want to look for, or the ISBN number: Ca 001, Calculus, available Borrowed by: - Eias - Hasan Want to borrow a book? Enter its ISBN: 001 The book has been registered as borrowed, go and take it. 3- Librarian Menu (if logged user is Librarian) Welcome Kamal, 1- Approve Borrowing Request Queue 2- View All Books 3- Check the borrowing history for a book 4- Check the borrowing history for a user 5- Manage Library users 6- Explore books 7- Add Book 1 Borrowing Requests: 1- Hasan wants to borrow (001, Calculus) Approve it? (1:yes, 0:no) 1 The book has been registered as borrowed. There is no more borrowing requests. Welcome Kamal, 1- Approve Borrowing Request Queue 2- View All Books 3- Check the borrowing history for a book 4- Check the borrowing history for a user 5- Manage Library users 6- Explore books 7- Add Book 2 001, Calculus, available Borrowed by: - Hasan - Eias 002, C++, not available Borrowed by: - Hasan Welcome Kamal, 1- Approve Borrowing Request Queue 2- View All Books 3- Check the borrowing history for a book 4- Check the borrowing history for a user 5- Manage Library users 6- Explore books 7- Add Book 3 001, Calculus 002, C++ Enter book ISBN 001 This book has been borrowed by: Eias, Hasan Welcome Kamal, 1- Approve Borrowing Request Queue 2- View All Books 3- Check the borrowing history for a book 4- Check the borrowing history for a user 5- Manage Library users 6- Explore books 7- Add Book 4 01, Hasan, Student, active 02, Eias, Employee, active Which users history you want to check? 02 Eias borrowed: - 001, Calculus Welcome Kamal, 1- Approve Borrowing Request Queue 2- View All Books 3- Check the borrowing history for a book 4- Check the borrowing history for a user 5- Manage Library users 6- Explore books 7- Add Book 5 01, Hasan, Student, active 02, Eias, Employee, active Which users status you want to toggle? 02 Eias is inactive now. Welcome Kamal, 1- Approve Borrowing Request Queue 2- View All Books 3- Check the borrowing history for a book 4- Check the borrowing history for a user 5- Manage Library users 6- Explore books 7- Add Book 5 01, Hasan, Student, active 02, Eias, Employee, inactive Which users status you want to toggle? 02 Eias is active now. Welcome Kamal, 1- Approve Borrowing Request Queue 2- View All Books 3- Check the borrowing history for a book 4- Check the borrowing history for a user 5- Manage Library users 6- Explore books 7- Add Book 6 First book is: 001, Calculus Press n for next, p for previous, f for first, l for last. n 002, C++ Press n for next, p for previous, f for first, l for last. Welcome Kamal, 1- Approve Borrowing Request Queue 2- View All Books 3- Check the borrowing history for a book 4- Check the borrowing history for a user 5- Manage Library users 6- Explore books 7- Add Book 7 Book ISBN is 003 Book name: Data Structure Data Structure book is added now. Technical notes 1- Make sure that your project is well organized and object oriented. 2- You can choose either to use custom data structure that we built in this course or the data structure classes found in java.utill , you will get a bonus if you will use the custom classes. 3- Use static blocks and variables for main Queues, Stacks, Lists. public static LinkedList books; public static ArrayList users; static{ books = new LinkedList(); users = new ArrayList <>(); books.add(new Book(ISBN: 001, name: Calculus, borrowingHistory: new MyStack(), isAvailable: true)); users.add(new User(ID:01, name:Hasan, type:Constants.STUDENT, isActive:true, borrowingHistory: new MyStack(), grade:80)); } 4- Make sure that you use the right data structures in the right place.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions