Professional Documents
Culture Documents
SE LAB FILE
Submitted to
By
Hanut Singh
5CS2 (Y)
522
A2305208235
1
INDEX
S.N PROGRAM DATE SIGN
O
1 UML
3 REGISTRATION PROCESS
4 LIBRARY MANAGEMENT
5 STEREOTYPING
6 CLASS DIAGRAM
7 INHERITANCE
8 SINGLE INHERITANCE
9 MULTILEVEL INHERITANCE
10 HYBRID INHERITANCE
11 HEIRARCHICAL INHERITANCE
12 MULTIPLE INHERITANCE
14 ACTIVITY DIAGRAM
UML
1
UML -:
Unified Markup Language used for specifying visualization, constructing and documenting the
artifacts of the software system
UML represents a collection of best engineering practices that have proven successful in
modeling of large complex system
UML uses graphical notation to express the design of software projects. UML helps project team
communicate, explore potential design and validate he architectural design of the software
Goals Of UML
Provides users with a ready to use expressive visual modeling language so they can
develop and exchange meaningful models
Class Diagram
Object Diagram
Activity Diagram
Sequence Diagram
Interaction Diagram
Component Diagram
Deployment Diagram
1
Use Case
Use Case Model captures requirements of a system, use cases are means of communicating with
user and other stake holders.
Actor
Use Case
Actor – A usecase diagram shows the interaction between the system and entities in the sytem
are referred to as actor. Actor represents the role which may include human users, external
hardware or other system
REGISTRATION PROCESS
Amity University
Whenever a student enters another year, he has to get him/her re-registered. During this process a
student has to get affidavit, indemnity bond, fee receipt, registration form and registration fees.
The documents submitted are re verified by the faculty incharge and finally by the program
leader. Following use case diagram describes this process
1
REGISTRATION PROCESS
1
LIBRARY MANAGEMENT
The Library Management System is designed & developed for a receipt and issuance of books in
the library along with the student’s details. The books received in the library are entered in
Books Entry form and the new student is entered in the student entry form. When the student
wants to get the desired book the same is issued on the availability basis to the student. The
issuance and due date for the returning of the book is also entered into the Book Issue form under
third menu Book Issue. The student has to pay the fine if any on the basis of no. of days delayed
deposit of the book in the library.
1
LIBRARY MANAGEMENT
1
STEREOTYPING
1
book is s ue
by nam e
book is s ue
< < ex tend> >
by s ubjec t
by author
1
CLASS DIAGRAM
Classes are depicted as boxes with three sections, the top one indicates the name of the class, the
middle one lists the attributes of the class, and the third one lists the methods.
cars vehicles
name reg no
manyear model
kmsdone
speed()
getname() vehicleinfo()
getmanyear()
INHERITANCE
1
5) Multiple Inheritance
Single inheritance
1
Multilevel inheritance
1
salary
hra
basic
date()
overtime()
finance
transfer
tax management
issue()
dailysheet()
administration
account no
bank name
deposit()
withdraw()
Hybrid Inheritance
1
hos pital
doc tors
patients
room s
s y nergy c a rd
void details ()
ic u ge neral ward
ventia lator fac ilities
no of beds
g etm edic als tatus ()
g etroom s ()
opreq()
getm edic ines ()
Hierarchical Inheritance
1
Multiple Inheritance
1
vehicles
reg no
model
speed()
vehicleinfo()
cars
name bike
manyear name
kmsdone kms done
getname() getdetails()
getmanyear()
State chart diagram is one of the five UML diagrams used to model dynamic nature of a system.
They define different states of an object during its lifetime. And these states are changed by
events. So State chart diagrams are useful to model reactive systems. Reactive systems can be
defined as a system that responds to external or internal events.
State chart diagram describes the flow of control from one state to another state. States are
defined as a condition in which an object exists and it changes when some event is triggered. So
the most important purpose of State chart diagram is to model life time of an object from
creation to termination.
State chart diagrams are also used for forward and reverse engineering of a system. But the main
purpose is to model reactive system.
A computer A mobile
1
ACTIVITY DIAGRAM
Activity diagram is another important diagram in UML to describe dynamic aspects of the
system.
Activity diagram is basically a flow chart to represent the flow form one activity to another
activity. The activity can be described as an operation of the system.
So the control flow is drawn from one operation to another. This flow can be sequential,
branched or concurrent. Activity diagrams deals with all type of flow control by using different
elements like fork, join etc.
Purpose:
The basic purposes of activity diagrams are similar to other four diagrams. It captures the
dynamic behaviour of the system. Other four diagrams are used to show the message flow from
one object to another but activity diagram is used to show message flow from one activity to
another.
1
no button
pressed
press button
floor button
pressed
close door
move to
floor
State diagram shows the object undergoing a process. It gives a clear picture of the changes in
the object's state in this process.
e.g: ATM withdraw
Card object state: Checking, Approving, Rejecting
Activity diagram is a fancy flow chart which shows the flow of activity of a process.
e.g: ATM withdraw
Withdraw activity: Insert Card, Enter PIN, Check balance, with draw money, get card
1
Software
Engineer
ing
Lab
File
Submitted by:
1
Navjot kaur
5CS2(Y)
A2305208210