0% found this document useful (0 votes)
7 views21 pages

UML Diagrams for Software Systems

Record
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views21 pages

UML Diagrams for Software Systems

Record
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Pragati Women’s Degree College Software Engineering Lab

UML DIAGRAM:

A UML diagram is a diagram based on the UML (Unified Modeling Language)


with the purpose of visually representing a system along with its main actors, roles,
actions, artifacts or classes, in order to better understand, alter, maintain, or
document information about the system.

UML-Building Blocks

UML is composed of three main building blocks, i.e., things, relationships, and
diagrams. Building blocks generate one complete UML model diagram by rotating
around several different blocks. It plays an essential role in developing UML
diagrams. The basic UML building blocks are enlisted below:

1. Things
2. Relationships
3. Diagrams

Things

Anything that is a real world entity or object is termed as things. It can be divided
into several different categories:

o Structural things
o Behavioral things
o Grouping things
o Annotational things

Structural things

Nouns that depicts the static behavior of a model is termed as structural things.
They display the physical and conceptual components. They include class, object,
interface, node, collaboration, component, and a use case.

UML- Architecture

Software architecture is all about how a software system is built at its highest level.
It is needed to think big from multiple perspectives with quality and design in
mind. The software team is tied to many practical concerns, such as:

[Link] [Link](C.S.E) 1
Pragati Women’s Degree College Software Engineering Lab
o The structure of the development team.
o The needs of the business.
o Development cycle.
o The intent of the structure itself.

Software architecture provides a basic design of a complete software system. It


defines the elements included in the system, the functions each element has, and
how each element relates to one another. In short, it is a big picture or overall
structure of the whole system, how everything works together.

To form an architecture, the software architect will take several factors into
consideration:

o What will the system be used for?


o Who will be using the system?
o What quality matters to them?
o Where will the system run?

[Link] [Link](C.S.E) 2
Pragati Women’s Degree College Software Engineering Lab

[Link] [Link](C.S.E) 3
Pragati Women’s Degree College Software Engineering Lab
Aim: To Implement UML Diagram For Online Examination System

Online Examination System

Online Examination System is a technology-driven way to simplify examination


activities like defining exam patterns with question banks, defining exam timers,
objective/ subjective question sections, and conducting exams using a computer or
mobile devices in a paperless manner.

Online Examination System is a cost-effective, scalable way to convert traditional


pen and paper-based exams to online and paperless mode. Candidates can appear
for the exam using any desktop, laptop, or mobile device with a browser. Exam
results can be generated instantly for the objective type of questions.

Benefits and limitations of an online examination system

The big benefit of online examination is the cost and time saving, both for students
and teachers. The biggest limitation is that you have to be online to use an online
examination system. Hence the name "online".

typical features of an online examination system

Obviously it must be possible to create an exam, and add questions. Preferably the
exam provides for the option to create a question bank. And you have to be able to
set the rules for when a student passes or fails the exam. Those features are just the
basics. Look at our online exam features to get a broader

[Link] [Link](C.S.E) 4
Pragati Women’s Degree College Software Engineering Lab

Online Examination System (Sequence Diagram):

[Link] [Link](C.S.E) 5
Pragati Women’s Degree College Software Engineering Lab

Aim: To Implement UML Diagram For Online Railway Reservation System

Online Railway Reservation System:

Online Railway ticket reservation is very useful nowadays. This is very important
to design a good-working system software for ticket booking and related
transactions. To design it, full-track documentation of models(ER, DFD, Class,
Use-case, Activity, Sequence) is required as per as software development is
concerned.

Features of the System:


The Reservation system should contain the following features:
1. If a passenger wants to reserve ticket(s), firstly, he/she has to log in to the
Railway system with valid credentials. Then, the passenger has to provide
his/her details with the date of the journey, names of the passengers and their
details, origin station details, destination station details, and the class type of
the required ticket(s).
2. The Railway Reservation System will provide the available Train-list, and
Seat-availability, via-details.
3. To book a ticket passengers can pay through online/offline mode. After
successful payment of the ticket fare the System will generate the ticket and
PNR no. will be given to the passenger. The System also keeps the payment
details and sends them to the system Admin.
4. The Passenger can check PNR status (confirmed, RAC, waiting list) by
entering the PNR no. into the Reservation system.
5. The Reservation system should store all train details, fare details (by zone,
class, and date wise), PNR no, date of trains, etc. This maintenance should be
controlled by the Admin.
6. The System also has refund rules which have a date of reservation, ticket fare,
and refundable percentage. The passenger can simply cancel the ticket(s) by
entering the PNR no and a cancel ticket request. After cancelation, the Admin
will pass the refundable amount to the System and the System will give the
refundable amount to the passenger.

[Link] [Link](C.S.E) 6
Pragati Women’s Degree College Software Engineering Lab

Online Railway Reservation System(Class Diagram):

[Link] [Link](C.S.E) 7
Pragati Women’s Degree College Software Engineering Lab

Use-Case Diagram:
By using use case diagrams, the interactions between a system and the users
within that system will be represented.

[Link] [Link](C.S.E) 8
Pragati Women’s Degree College Software Engineering Lab

Activity Diagram:
This diagram shows the flow of processes from one to another activity.

[Link] [Link](C.S.E) 9
Pragati Women’s Degree College Software Engineering Lab

Sequence Diagram:
This diagram shows how and in which order a group of objects works together in
a system. This is an interactive diagram and this is mostly used by software
developers.

[Link] [Link](C.S.E) 10
Pragati Women’s Degree College Software Engineering Lab
Aim: To Implement UML Diagram For Library Maintenance System

Library Maintenance System :

A library management system is software that is designed to manage all the


functions of a library. It helps librarian to maintain the database of new books and
the books that are borrowed by members along with their due dates.
This system completely automates all your library’s activities. The best way to
maintain, organize, and handle countless books systematically is to implement a
library management system software.
A library management system is used to maintain library records. It tracks the
records of the number of books in the library, how many books are issued, or how
many books have been returned or renewed or late fine charges, etc.
You can find books in an instant, issue/reissue books quickly, and manage all the
data efficiently and orderly using this system. The purpose of a library
management system is to provide instant and accurate data regarding any type of
book, thereby saving a lot of time and effort.

[Link] [Link](C.S.E) 11
Pragati Women’s Degree College Software Engineering Lab
Library Maintenance System (Use Case Diagram):

[Link] [Link](C.S.E) 12
Pragati Women’s Degree College Software Engineering Lab

Library Maintenance System (Activity Diagram):

[Link] [Link](C.S.E) 13
Pragati Women’s Degree College Software Engineering Lab

Aim: To Implement UML Diagram For E-Commerce System

E-Commerce System:

The designed sequence diagram shows the series of events that occurs in
E-Commerce Website. The actors are represented by a stick man and the
transactions or classes are represented by objects. This gives you clear
explanation E-Commerce Website behavior in terms of processing the
flow of instructions.

[Link] [Link](C.S.E) 14
Pragati Women’s Degree College Software Engineering Lab

E-Commerce System (Sequence Diagram):

[Link] [Link](C.S.E) 15
Pragati Women’s Degree College Software Engineering Lab

E-Commerce System(Activity Diagram):

[Link] [Link](C.S.E) 16
Pragati Women’s Degree College Software Engineering Lab

Aim: To Implement UML Diagram For Bio-Metric Attendance System

Bio-Metric Attendance System:

a Biometric attendance System functions on the technology scanning fingerprints,


face, or retina to record the attendance of the employees. As soon as an employee
enters the office and punches in or out in the machine, the data goes to the database
and matches it with the existing employee information.

Now, since the Biometric Attendance machine is interconnected and synchronized


with the HCM software then the attendance of the staff is marked easily. This
information further goes into the payroll module for disbursement of monthly
salary of employees, considering absents marked, late arrivals, overtime, leaves, et

Though there are several methodologies that work well with the HCMS:

 Fingerprint Verification –It deals with the recording of daily attendance via
Fingerprint recognition and is considered the most common biometric
technology. Meanwhile, the employee fingerprints data is timely stored in the
system. Fingerprint Verification is fast and easy as the employee has to just
press a fingertip against the time clock screen in order to punch attendance.

 Facial Recognition –Another way is Facial recognition. This biometric


technique scans facial characteristics of humans, where the machine recognizes
the features of the human face, jawlines, and eyes, etc. These days biometric
machines that use facial recognition are growing popular, especially where a
large force of workers is involved. It’s as good and easy as snapping a photo.
The face recognition biometric machines are well-equipped with HD cameras
and the technology can easily be incorporated with mobile time tracking apps for
smartphones too.

 Other Biometric Methods– These include hand geometry or retinal/iris


recognition. Also, some machines recognize voice too.

Advantages:
Increases the accuracy of the payroll management of the firm.
Helps the payroll and accounts department with increased efficiency.

[Link] [Link](C.S.E) 17
Pragati Women’s Degree College Software Engineering Lab
Eliminates time theft, friends/buddy punching is removed.
Improves the employees’ accountability and employees are more punctual
and more productive.
Proper Attendance trends/data is saved and analytical reports help in critical
decision making.

Bio-Metric Attendance System (Use Case Diagram):

[Link] [Link](C.S.E) 18
Pragati Women’s Degree College Software Engineering Lab

Activity Diagram For Student Attendance Management System:

Admin – Activity Diagram:

Admin side activity diagram for student attendance management system.

[Link] [Link](C.S.E) 19
Pragati Women’s Degree College Software Engineering Lab

Student – Activity Diagram

Student side activity diagram for student attendance management system.

[Link] [Link](C.S.E) 20
Pragati Women’s Degree College Software Engineering Lab

Staff – Activity Diagram

Staff side activity diagram for student attendance management system.


[Link] [Link](C.S.E) 21

Common questions

Powered by AI

Converting traditional exams to an online examination system offers several advantages, including significant cost and time savings for both students and educators. It reduces the need for physical exam infrastructure, such as paper and printing, and enables flexible exam scheduling. Online systems allow instant result generation for objective questions, easing administrative burdens and accelerating feedback for students. Additionally, the scalability of online exams permits wider participation and geographical reach, facilitating a more inclusive assessment process .

An effective online railway reservation system should facilitate user login, require entry of journey details, provide train and seat availability, and allow both online and offline payment methods. Upon successful payment, the system generates a ticket and PNR number, records payment details, and allows for PNR status checking. It must maintain comprehensive data on trains, fares, and reservations, governed by an admin, and support ticket cancellations with refund processes. This functionality ensures a structured flow of activities from booking to post-purchase services, enhancing user convenience and administrative efficiency .

Use case diagrams facilitate the representation of interactions in systems by illustrating the relationships between users and system functionalities. In an online railway reservation system, they depict the processes a user follows, such as logging in, booking, and checking PNR status, highlighting interactions between passengers and the system. Similarly, in a library management system, use case diagrams represent tasks like borrowing books, capturing interactions between members and the library database. These diagrams provide a simplified view of user-system interactions, guiding system design and user experience enhancements .

The online examination system streamlines examination processes by automating key activities such as defining exam patterns, managing question banks, and conducting exams via computers or mobile devices. It facilitates instant result generation for objective questions, thus saving time and costs for both students and educators. However, its limitations include the requirement for an internet connection, making it inaccessible without online connectivity. While it significantly simplifies traditional exam processes, its dependency on technology presents challenges in case of technical failures or user inaccessibility to the internet .

A class diagram enhances the design process of systems such as the online railway reservation system by providing a comprehensive view of the system's static structure. It maps out the classes involved, their attributes and methods, and the relationships between them, such as associations or inheritances. This organization helps define the system's framework, ensuring clear boundaries and responsibilities. In an online railway reservation context, class diagrams can encapsulate elements like tickets, payment methods, and customer data, illustrating how these interact and allowing developers to build a coherent and efficient system architecture .

UML diagrams can effectively represent the workflow in a library management system by using various diagram types suited for different aspects of the process. A use case diagram can model the interactions between users (librarians, members) and the system, highlighting functionalities like borrowing and returning books. Activity diagrams can map the sequential flow of processes such as book issuance and returns. Sequence diagrams can depict the order of operations during a transaction, and class diagrams visually organize system components like books and user records, structuring their attributes and behaviors. This multi-diagram approach facilitates comprehensive visualization and management of library functions .

Biometric technology significantly enhances attendance management systems by offering increased accuracy and eliminating issues like time theft and buddy punching. Methods like fingerprint and facial recognition ensure that only authorized personnel can mark attendance, improving employee accountability and punctuality. Integrating biometric systems with HCM software aids in precise payroll processing and boosts administrative efficiency. However, these systems require significant initial investment and may face data privacy concerns. Overall, biometric technology fosters a more controlled and reliable attendance management environment .

Sequence diagrams play a crucial role in understanding e-commerce system processes by detailing the order and interaction between objects during transactions. They delineate the sequence of operations required for tasks such as product ordering, payment processing, and order fulfillment. Sequence diagrams offer insights into how the system manages data flow and interaction among different components, enabling analysis of system behavior and interaction efficiency. This understanding helps identify bottlenecks and optimize processing, ensuring smoother operations and improved user satisfaction .

The primary building blocks of a UML diagram are 'things,' 'relationships,' and 'diagrams.' 'Things' represent real-world entities or objects and are categorized into structural things, behavioral things, grouping things, and annotational things. Structural things, such as classes or objects, depict the static aspects of a model, showcasing the physical and conceptual components. 'Relationships' define the interactions or dependencies among these entities. 'Diagrams' visually organize and present these elements, facilitating a better understanding, alteration, maintenance, or documentation of the system. Together, these building blocks help in visualizing the software architecture, which includes understanding the elements within the system, their functions, and interrelations .

Activity and sequence diagrams both serve important roles in software systems design but focus on different aspects. Activity diagrams represent the flow of operations or activities within a system, making them ideal for showing business processes and workflows. They visualize the sequence of actions and decision paths, often employing a broader perspective. In contrast, sequence diagrams focus on the temporal interaction between objects in a system, detailing the order of operations and data exchange in specific scenarios. While activity diagrams are used to model the control flow of a system, sequence diagrams delve into the specifics of object collaboration, offering a more dynamic perspective of system operations .

You might also like