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
- HGC环电强化国际业务领导架构 谭君骥及Ravindran Mahalingam分别担任专精职务
- 海伯森六维力传感器:助力人形机器人产业发展的创新力量
- 达闼董事长黄晓庆:以技术破局致胜从未止步
- 从辅助到核心,企业如何基于AI Agent升级品牌数字营销
- 国产2.5亿超高分辨率图像传感器发布,主要面向机器视觉领域
- 西部数据推出多款超高速、大容量存储解决方案
- 中关村e谷承办“科创耀未来 奋进谱新篇”企业家创新论坛圆满落幕
- 航科卫星“汕头数字一号”卫星发射成功!
- Gartner 最新魔力象限出炉!ManageEngine卓豪成功入围
- 科技重塑物流,英特尔&集和诚加速智慧物流发展!
- 数智赋能 向“新而行” 坦克与装甲车辆学术与发展论坛召开
- 赛诺威盛:大孔径专科化CT领航者
- 网易硬刚腾讯 两大游戏玩家之间的口水仗不断
- 全球“最独特”的一台华为 nova 6 5G 版手机是什么样子的?
- 拼多多抖音淘宝京东,谁是真低价?