首页 > 科技
FINT2100 Computer Programming and Application Development
(2023-2024 Semester 2)
Programming Project
Deadline: (Fri) 26 Apr 2024 (11:59pm)
(Upload all the Java source code files and test plan to Moodle by the deadline)
Project
Design and implement a menu-driven Library Management System.
Objective
Develop a Library Management System that allows librarians to manage books, readers,
and borrowing/returning operations efficiently through a console-based interface. The
system should provide functionality for adding and removing books, registering new
readers, and borrowing and returning books.
Features
1. Book Management
• Add new books to the library with details such as title, author, ISBN,
publication year, and availability status.
• Remove books from the library.
• Update book information.
• Display all books’ information.
• Search for a book by its ISBN and display the book's details if found.
2. Readers Management
• Add a new reader to the library by providing the reader's details such
as name, contact information, and a unique reader ID.
• Remove a reader from the library using their reader ID.
• Display the list of all registered readers.
• Search for a reader by their ID and display the reader's details if found.
3. Borrowing and Returning
• Allow a reader to borrow a book by providing their reader ID and the
book's ISBN.
• Validate the reader and book existence in the library.
• Check the availability of the book before allowing borrowing.
• Mark the book as borrowed and associate it with the reader if available.
• Allow a reader to return a borrowed book by providing their reader ID
and the book's ISBN.
• Update the book's availability status and remove the association with
the reader upon return.
Console-based User Interface
1. Main Menu
• Display options for book management, reader management,
borrowing and returning, and exiting the system.
• Prompt the user to enter their choice and navigate to the
corresponding submenu or perform the selected action.
2. Book Management
• Add a new book to the library by entering the book's details (title,
author, ISBN, publication year).
• Remove a book from the library by providing the book's ISBN.
• Display the list of all books in the library.
• Search for a book by its ISBN and display the book's details if found.
3. Reader Management
• Add a new reader to the library by entering the reader's details (name,
contact information, reader ID).
• Remove a reader from the library by providing the reader's ID.
• Display the list of all registered readers.
• Search for a reader by their ID and display the reader's details if found.
4. Borrowing and Returning
• Allow a reader to borrow a book by entering the reader's ID and the
book's ISBN.
Check if the reader and book exist in the library.
Check if the book is available for borrowing.
If the book is available, mark it as borrowed and associate it
with the reader.
Display a success message or appropriate error messages for
invalid input or unavailable books.
• Allow a reader to return a borrowed book by entering the reader's ID
and the book's ISBN.
Check if the reader and book exist in the library.
If the book is borrowed by the reader, mark it as returned
and update its availability.
Display a success message or appropriate error messages for
invalid input.
The menu should be displayed after each operation, allowing the librarian to perform
multiple actions without restarting the program. The program should exit when the
librarian chooses the "Exit" option from the main menu.
Technical Requirements
1. Use Java as the programming language.
2. Implement a console-based user interface for interacting with the Library
Management System.
3. Use appropriate data structures like arrays, to store book and reader
information.
4. Implement unit tests to verify the functionality of critical components.
5. Follow coding best practices, including proper naming conventions, code
comments, and modular design.
Project Deliverables
1. Java source code files organized in a structured manner.
2. Test cases and test data to demonstrate the functionality of the system.
3. Documentation explaining the system design in terms of the class structure,
methods, and key attributes.
Grading Criteria
• Correct implementation of the system functions
• User-friendly design of the system
• Good programming styles
• Clear and detailed documentation and testing
请加QQ:99515681 邮箱:99515681@qq.com WX:codinghelp
相关推荐
- Instagram自动化引流助手,ins精准私信神器,ig高效推广,ins协议号商
- 荣联科技集团出席华为四川新质生产力城市峰会
- Instagram私信引流神器,ins高效推广助手,ig全自动群发,ins协议号
- Instagram群发推广软件,ins高效引流助手,ig全自动采集,ins协议号批量出售
- 大运重卡经销商内蒙古豪烈公司盛大开业暨大客户交车仪式隆重举行
- 探索钢结构行业新纪元,钢结构信息平台引领未来
- 首届Style3D伙伴大会,与300+行业精英“乘风破浪”
- WhatsApp稳定批量群发 跨境电商的新选择
- WhatsApp高效批量群发 WS私信操作全攻略
- WhatsApp群发营销获客 跨境电商的得力助手
- 搜索
-
- 06-26Instagram自动化引流助手,ins精准私信神器,ig高效推广,ins协议号商
- 06-26荣联科技集团出席华为四川新质生产力城市峰会
- 06-26Instagram私信引流神器,ins高效推广助手,ig全自动群发,ins协议号
- 06-26Instagram群发推广软件,ins高效引流助手,ig全自动采集,ins协议号批量出售
- 06-26大运重卡经销商内蒙古豪烈公司盛大开业暨大客户交车仪式隆重举行
- 06-26探索钢结构行业新纪元,钢结构信息平台引领未来
- 06-26首届Style3D伙伴大会,与300+行业精英“乘风破浪”
- 06-26WhatsApp稳定批量群发 跨境电商的新选择
- 06-26WhatsApp高效批量群发 WS私信操作全攻略
- 06-26WhatsApp群发营销获客 跨境电商的得力助手
- 标签列表