Library Management System: Class, Activity Diagrams, and UI Design
VerifiedAdded on 2025/04/16
|15
|1335
|437
AI Summary
Past papers and solved assignments for students. This project details a Library Management System.

Library Management System
Table of figures :
Figure 1:Class diagram..........................................................................................................................4
Figure 2:Activity Diagram.....................................................................................................................6
Figure 3:login........................................................................................................................................8
Figure 4:Register...................................................................................................................................8
Figure 5:Loan........................................................................................................................................9
Figure 6:Members.................................................................................................................................9
Figure 7:Borrow items.........................................................................................................................10
Figure 8:audio/video............................................................................................................................10
Figure 9:Booking Facilites..................................................................................................................11
Figure 10:Book....................................................................................................................................11
Table of tables:
Table 1:Test cases................................................................................................................................12
Table of figures :
Figure 1:Class diagram..........................................................................................................................4
Figure 2:Activity Diagram.....................................................................................................................6
Figure 3:login........................................................................................................................................8
Figure 4:Register...................................................................................................................................8
Figure 5:Loan........................................................................................................................................9
Figure 6:Members.................................................................................................................................9
Figure 7:Borrow items.........................................................................................................................10
Figure 8:audio/video............................................................................................................................10
Figure 9:Booking Facilites..................................................................................................................11
Figure 10:Book....................................................................................................................................11
Table of tables:
Table 1:Test cases................................................................................................................................12
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Contents
Introduction...........................................................................................................................................4
Task 6....................................................................................................................................................4
Class diagram....................................................................................................................................4
Task 7:...................................................................................................................................................5
Activity Diagram:..............................................................................................................................5
Task 8:...................................................................................................................................................8
User Interface:...................................................................................................................................8
Task 9..................................................................................................................................................13
Test Generation:..............................................................................................................................13
Conclusion:..........................................................................................................................................15
References...........................................................................................................................................16
Introduction...........................................................................................................................................4
Task 6....................................................................................................................................................4
Class diagram....................................................................................................................................4
Task 7:...................................................................................................................................................5
Activity Diagram:..............................................................................................................................5
Task 8:...................................................................................................................................................8
User Interface:...................................................................................................................................8
Task 9..................................................................................................................................................13
Test Generation:..............................................................................................................................13
Conclusion:..........................................................................................................................................15
References...........................................................................................................................................16

Introduction
This assessment it based on the management of the library in which there is system analysis
is required which consist of various diagrams namely use case, activity diagram, sequence
diagrams, class diagram, Gantt chart which show the progress of the analysis. The diagram
can be implemented in the software know as draw.io .There is a library which consist of
various person with different designations such as student, faculty, cleaning staff, librarian
which manages the library,the person who keep the books on the shelf etc ,therefore there is a
assessment in which how the library can be managed in the best way.
Task 6
Class diagram
This diagram contains the attribute’s type and the method in the class. This diagram is static
view of the application. The class diagram does not show any type of documentation,
description etc. Basically the use of the class diagram is in UML that have the object oriented
languages. The class diagram involves the interface, association, collaboration ,classes
methods and constraints.
Why there is need for the class diagram?
The need of the class diagram is that this is the only diagram which can be directly converted
into the object oriented language and can be use when there is the time to construct the
program .It also increases the efficiency of the coder because it helps the coder to understand
the attribute and data type easily without wasting the time. So coder can do doing very easily
only he/she has to build the logic behind the applications or code.
There are some points which has to be notes when building the class diagrams and they are:
1) Class Diagram should have all the entity relationship with the elements.
2) Methods and attributes should be identify in advance.
3)Class diagram should be meaningful.
4)It should be understandable to the developer or coder.
This assessment it based on the management of the library in which there is system analysis
is required which consist of various diagrams namely use case, activity diagram, sequence
diagrams, class diagram, Gantt chart which show the progress of the analysis. The diagram
can be implemented in the software know as draw.io .There is a library which consist of
various person with different designations such as student, faculty, cleaning staff, librarian
which manages the library,the person who keep the books on the shelf etc ,therefore there is a
assessment in which how the library can be managed in the best way.
Task 6
Class diagram
This diagram contains the attribute’s type and the method in the class. This diagram is static
view of the application. The class diagram does not show any type of documentation,
description etc. Basically the use of the class diagram is in UML that have the object oriented
languages. The class diagram involves the interface, association, collaboration ,classes
methods and constraints.
Why there is need for the class diagram?
The need of the class diagram is that this is the only diagram which can be directly converted
into the object oriented language and can be use when there is the time to construct the
program .It also increases the efficiency of the coder because it helps the coder to understand
the attribute and data type easily without wasting the time. So coder can do doing very easily
only he/she has to build the logic behind the applications or code.
There are some points which has to be notes when building the class diagrams and they are:
1) Class Diagram should have all the entity relationship with the elements.
2) Methods and attributes should be identify in advance.
3)Class diagram should be meaningful.
4)It should be understandable to the developer or coder.
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

In short ,The class diagram is the nutshell for the whole brief which describe all the things
done by the class (UML-Class-Diagram 2019).
Here below there is the class diagram for the library management system.
Figure 1:Class diagram
Task 7:
Activity Diagram:
This diagram consist of the flow chart which have one start and one end point in between
there is the actions which are perform with the proper conditions. This diagram is the
dynamic one for the system .This is basically represents the activity one by one .In this there
is the situation taken based on the brief and then activity diagram is prepared. The activity
diagram is not only used to prepare or built the dynamic instead it is also useful for the
visualizing the system. This is similar to the flow chart but no its no the flow chart ,as it show
some different parallel , branched ,single and concurrent .
done by the class (UML-Class-Diagram 2019).
Here below there is the class diagram for the library management system.
Figure 1:Class diagram
Task 7:
Activity Diagram:
This diagram consist of the flow chart which have one start and one end point in between
there is the actions which are perform with the proper conditions. This diagram is the
dynamic one for the system .This is basically represents the activity one by one .In this there
is the situation taken based on the brief and then activity diagram is prepared. The activity
diagram is not only used to prepare or built the dynamic instead it is also useful for the
visualizing the system. This is similar to the flow chart but no its no the flow chart ,as it show
some different parallel , branched ,single and concurrent .
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

In activity diagram there are:
1) Conditions
2) Activities
3) Constraints
4) Association
This type of layout is considered as activity diagram. The activity diagram does not consist of
the message when they move to next activity. These can be used in queues external and
database system . Modelling is done according to the business requirements, there is high
level functionalities understanding in the activity diagram. The shapes are defined here such
as they rectangle shape mean the call action of activity ,diamond shape is termed as the
condition ,one circle means end, circle pulse arrow means starting etc. The implementations
is not good enough rather there should be more impact on business understanding. Mainly
there is four activity happens in the diagram and that are order by customer, receipt of the
order ,confirmation of the order, dispatch of the order (UML-Activity-Diagram 2019).
1) Conditions
2) Activities
3) Constraints
4) Association
This type of layout is considered as activity diagram. The activity diagram does not consist of
the message when they move to next activity. These can be used in queues external and
database system . Modelling is done according to the business requirements, there is high
level functionalities understanding in the activity diagram. The shapes are defined here such
as they rectangle shape mean the call action of activity ,diamond shape is termed as the
condition ,one circle means end, circle pulse arrow means starting etc. The implementations
is not good enough rather there should be more impact on business understanding. Mainly
there is four activity happens in the diagram and that are order by customer, receipt of the
order ,confirmation of the order, dispatch of the order (UML-Activity-Diagram 2019).

Figure 2:Activity Diagram
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

Task 8:
User Interface:
By the name interface means that it is connecting the interface between the software and the
user. Basically the developer develop the things in the terms of technical which may be not
understand by the normal user who goes not know the single word of computer therefore
there is a design of software in such a way that can be understand by the normal user ,there
for there is a very simple design to the software therefore this is used. They are different tools
to design the user interface such as balsamiq etc. Basically the designer focuses on the
efficient and the highly usable things (User Interface (UI) Design? 2019.).
There are few steps for making the great UIs
1) use the clear and meaningful labels with proper icons.
2) Should focus on the readability ,hierarchy and the layouts.
3) zoom in and out option should be there ,so that it would be comfortable for the user to see.
4)High discoverability should be maintain.
5) Color brightness and all the necessary things should be focused for the user’s eyes to avoid
the harmfulness.
6)Should use the control object to put the control for the users.
7) Don’t burden on n the user.
8)Brand consistency should be maintained.
9)Focus on the chief functions per page.
10)Should have feedback for the users.
The figure below will show the user interface this will be more clear to understand ,there will
the registration page which will show the registration and if you are already registered then
go to login page and fill the defined details ,there is library loan which ,for the member there
is the borrowing items such as audio videos etc.
User Interface:
By the name interface means that it is connecting the interface between the software and the
user. Basically the developer develop the things in the terms of technical which may be not
understand by the normal user who goes not know the single word of computer therefore
there is a design of software in such a way that can be understand by the normal user ,there
for there is a very simple design to the software therefore this is used. They are different tools
to design the user interface such as balsamiq etc. Basically the designer focuses on the
efficient and the highly usable things (User Interface (UI) Design? 2019.).
There are few steps for making the great UIs
1) use the clear and meaningful labels with proper icons.
2) Should focus on the readability ,hierarchy and the layouts.
3) zoom in and out option should be there ,so that it would be comfortable for the user to see.
4)High discoverability should be maintain.
5) Color brightness and all the necessary things should be focused for the user’s eyes to avoid
the harmfulness.
6)Should use the control object to put the control for the users.
7) Don’t burden on n the user.
8)Brand consistency should be maintained.
9)Focus on the chief functions per page.
10)Should have feedback for the users.
The figure below will show the user interface this will be more clear to understand ,there will
the registration page which will show the registration and if you are already registered then
go to login page and fill the defined details ,there is library loan which ,for the member there
is the borrowing items such as audio videos etc.
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Figure 3:login
Figure 4:Register
Figure 4:Register

Figure 5:Loan
Figure 6:Members
Figure 6:Members
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

Figure 7:Borrow items
Figure 8:audio/video
Figure 8:audio/video
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Figure 9:Booking Facilites
Figure 10:Book
Figure 10:Book

Task 9
Test Generation:
Table 1:Test cases
Number Test Name Description Scenario Precondition Input Expected
output
1 Check
Availabilities
of book_1
To check
whether the
book is
available in
the library
or not.
Books
may be
issues by
others.
Availabilities Yes Yes.
2 Check
Availabilities
of book_2
To check
whether the
book is
available in
the library
or not.
Books
may be
not
present in
the library
only.
Availabilities No No ,in the
library.
3 Check
Availabilities
of book_3
To check
whether the
book is
available in
the library
or not.
Book is
available.
Member or
not
Yes Yes
4 Member
verification_1
Are you the
member of
the library
Book will
be issued
only if
you are
member
if you are
member
Yes Yes
5 Member
verification_2
Are you the
member of
the library
Book will
be issued
only if
you are
member
if you are
member
No No
6 Book
issued_1
Does book
issued to
the member
Book will
be issued
because
you are
the
member
if you are
member
Yes Yes
7 Return_date1 Does the
book is
submitted
on return
Book has
to be
submit
before the
If return date
<=submitted
date
Yes No fine
has to be
paid
Test Generation:
Table 1:Test cases
Number Test Name Description Scenario Precondition Input Expected
output
1 Check
Availabilities
of book_1
To check
whether the
book is
available in
the library
or not.
Books
may be
issues by
others.
Availabilities Yes Yes.
2 Check
Availabilities
of book_2
To check
whether the
book is
available in
the library
or not.
Books
may be
not
present in
the library
only.
Availabilities No No ,in the
library.
3 Check
Availabilities
of book_3
To check
whether the
book is
available in
the library
or not.
Book is
available.
Member or
not
Yes Yes
4 Member
verification_1
Are you the
member of
the library
Book will
be issued
only if
you are
member
if you are
member
Yes Yes
5 Member
verification_2
Are you the
member of
the library
Book will
be issued
only if
you are
member
if you are
member
No No
6 Book
issued_1
Does book
issued to
the member
Book will
be issued
because
you are
the
member
if you are
member
Yes Yes
7 Return_date1 Does the
book is
submitted
on return
Book has
to be
submit
before the
If return date
<=submitted
date
Yes No fine
has to be
paid
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide
1 out of 15
Related Documents
Your All-in-One AI-Powered Toolkit for Academic Success.
+13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
Copyright © 2020–2025 A2Z Services. All Rights Reserved. Developed and managed by ZUCOL.




