Report
Report
MATHEMATICS
Prepared by :
STUDENT NAME MATRIC NO
Prepared for :
TABLE OF CONTENTS
7.1 0NF
7.2 1NF
7.3 2NF
7.4 3NF
2
CS2402A
3
CS2402A
4
CS2402A
5
CS2402A
Catalyst Resource Library, founded in 2020, has been a long-standing organization dedicated to
offering important materials and cultivating a culture of continuous learning. However, as part of
a continuing endeavor to increase its effect, the library has identified numerous difficulties that
must be addressed. This paper attempts to extensively analyze these difficulties and provide
strategic solutions to ensure the library's sustained effectiveness and relevance in serving the
community.
The first is antiquated infrastructure. Libraries are now facing issues due to obsolete
infrastructure, which limits their capacity to deliver innovative services. These include outdated
computer systems, limited network capabilities, and a lack of contemporary amenities. These
concerns have an influence on the user experience, limiting access to digital materials and
preventing the introduction of novel library services.To address this issue, the library must
commit money for infrastructure changes, such as the integration of contemporary technology,
high-speed internet, and user-friendly interfaces that improve the whole library experience.
Next, the challenge faced is the shortage of book collections to suit the expectations of
customers. In an age dominated by digital information, the library's digital resources may be
restricted, limiting its capacity to accommodate the diverse demands of its tech-savvy patrons.
Current collections may not include developing subjects or up-to-date research information in a
variety of sectors.Investing in increasing digital resources, subscribing to important online
databases, and collaborating with publishers are all effective ways to fulfill user requirements
and guarantee libraries remain a complete source of current information.
Finally, take into account the outreach plan and the potential community effect. There
may be issues with the library's outreach plan, limiting its capacity to successfully engage the
community. Limited knowledge of library programmes and services may limit their potential
influence in cultivating a culture of lifelong learning.The best way to overcome it is, develop a
robust marketing and outreach strategy, leveraging social media, community events, and
collaborations with educational institutions to increase awareness and community engagement.
6
CS2402A
● Effective Data Organisation: Create a database that stores and arranges data on library
resources, such as books, authors, staff and customers information, in an effective
manner.
● User Authentication and Authorization: To manage access levels and make sure that only
individuals with the proper authorization may carry out particular tasks like adding,
editing, or removing information, put in place a safe user authentication system.
● Tracking Inventory: Provide a system that will make it simple to keep track of the books
that are available, where they are, and any modifications to their status (such as being
checked in or out).
● Transaction management: Assist in the efficient and accurate loan and return of books,
making sure that dates, penalties, and any other pertinent information are duly recorded
for every transaction.
● Data Integrity and Consistency: Establish proper links between various database tables,
constraints, and validation procedures to guarantee data integrity and consistency.
● Future-proofing and scalability: Build the database with future-growth of the library's
collection in mind, as well as prospective adjustments to data capacity and system
specifications.
7
CS2402A
Entity-Relational (ER) design is a method used in database modeling to define the relationships
between different entities within a system. Entities are objects or concepts that are represented in a
database, and relationships define how these entities are connected. Our ERD consists of several tables
including Customer, Borrow (bridge), Book, Author, Manage (bridge), and Staff. The Customer table
represents individuals who borrow books from the library and have a relationship with the Borrow
table to show the books a borrower has borrowed. Besides that, the Borrow table acts as a bridge
between Borrower and Book. It connects a specific borrower with the books they have borrowed.
CustID and BookID are foreign keys linking to the Customer and Book tables, respectively.
Furthermore, the book table represents the books available in the library. It may have a relationship
with the Borrow table to show which books are currently borrowed and by whom. Next, a bridge table
named Manage was used to connect the Staff and Book tables. It could represent actions such as
adding new books, updating book information, or removing books from the library. StaffID and
BookID are foreign keys linking to the Staff and Book tables, respectively. A Staff table was also
added to represent the staff members involved in managing the library. It may have a relationship with
the Manage table to show the actions performed by each staff member. Lastly, the Author table
represents the authors of the books in the library. It may have a relationship with the Book table to
show which authors wrote which books. To conclude, the ERD involves identifying entities, defining
their attributes, and establishing relationships between them. The use of bridge tables like Borrow and
Manage helps handle many-to-many relationships between entities. This design provides a structured
way to organize and manage information in our database system.
8
CS2402A
7.0 NORMALIZATION
7.1 0NF
7.1 1NF
Fully Dependencies:
Partial Dependency:
Transitive Dependency:
9
CS2402A
7.2 2NF
7.2 3NF
10
CS2402A
8.0 TABLES
TABLE CUSTOMER
TABLE BORROW
11
CS2402A
TABLE BOOK
TABLE AUTHOR
12
CS2402A
TABLE MANAGE
TABLE STAFF
13
CS2402A
14
CS2402A
Title Book Title Short Text The name/title of the THE GREAT
book GATE
GATSBY
15
CS2402A
16
CS2402A
Staff_Name Staff Name Short Text Full name of the AMIRAH BT.
staff AHMAD
KASIM
17
CS2402A
Syntax:
Output:
18
CS2402A
Figure 11 the syntax and output for sql query drop table CUSTOMER
Syntax:
Output:
19
CS2402A
20
CS2402A
21
CS2402A
22
CS2402A
Syntax:
SELECT *
FROM CUSTOMER;
Output:
23
CS2402A
Syntax:
FROM BORROW
Output:
Figure 18 Output for sql query join data of Table BORROW and Table BOOK
24
CS2402A
Syntax:
FROM BOOK
GROUP BY Title;
Output:
25
CS2402A
Syntax:
SELECT
Borrow_Date,
Return_Date,
FROM BORROW;
Output:
Figure 20 Output displaying total days the book has been borrowed
26
CS2402A
● Calculate and display the minimum and maximum days the book has been borrowed
Syntax:
SELECT
MAX(Borrowed_Days) AS Maximum_Days,
MIN(Borrowed_Days) AS Minimum_Days
FROM (
SELECT
FROM BORROW
) AS Subquery;
Output:
Figure 21 Output display the maximum and minimum days the book has been borrowed
27
CS2402A
13.0 CONCLUSION
The library management system is essential for colleges, schools, and many more places these days.
A lot of manual work can be reduced with this library management system. And also, a lot of
glitches like wrong borrow date and miscalculation of fine amount are avoided. As it is a
computer-managed system and so these are all avoided. It is also efficient and cost-effective. The
Library management system stores the details of books and also details of persons. So overall, we
have seen-
● What features are required for students and librarians to use LMS?
● and how the software allows storing all the details related to the library.
28
CS2402A
14.0 REFERENCES
https://www.slideshare.net/RohithRohith3/a-mini-project-on-designing-a-database-for-lib
rary-management-system-using-mysql
https://www.geeksforgeeks.org/introduction-of-dbms-database-management-system-set-1
3) Florczykowska, D. (2022, June 21). Let’s create a database design for a library system!
https://vertabelo.com/blog/database-for-library-system/
GeeksforGeeks.
https://www.geeksforgeeks.org/library-management-system/
29