Ooad Record

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 86

AIM: To create a UML diagram of library management system.

DESCRIPTION: In the library management system, any member can enquire for a
membership, and the membership will be issued by the librarian any member having
the membership card can do the following operations.

 Checks for the availability of books;


 Request for book issue;
 Return the books;
 Pay the fine if any;

Whereas the librarian do the following operations:

 Issue membership;
 Collects books;
 Collects fine;
 Maintain book records;
 Update student account details etc.

1 K.B.N P.G COLLEGE


2 K.B.N P.G COLLEGE
Use case diagram
Actors:

 Member
 Librarian

Use case:

 Enquiry for membership, request for book, search book.


 Select book, return book, pay fine.
 Issue membership, Issue book.
 Collect books, collect fine.
 Maintain books records, update membership details.

Use case diagram gives a graphical overview of the action involved in a system,
different functions needed by those actions and how these different functions are
interacted.

Use case diagrams are the most known type of the behavioural UML diagrams.

3 K.B.N P.G COLLEGE


4 K.B.N P.G COLLEGE
Class diagram:
The identified classes are:
 Member
 Librarian
 Database
Class diagram are arguably the most used UML diagram type. If is the main building
block of any object oriented solution.
It shows the classes in a system, attributes and operations of each and the relationship
between each class.

5 K.B.N P.G COLLEGE


6 K.B.N P.G COLLEGE
Component diagram:

The components are:

 Member
 Librarian
 Database

A component diagram displays the structural relationship of components of a software


system. These are mostly used when working with complex systems that have many
components.

Components communicate with each other using interfaces. These interfaces are linked
using connectors.

A component diagram represents a modular part of a system that encapsulates its


contents.

The component diagram can show components, dependencies between components


and the way in which they are connected to.

7 K.B.N P.G COLLEGE


8 K.B.N P.G COLLEGE
Deployment diagram:

The node in deployment diagram are:

 Member
 Librarian
 Database

The deployment diagram shows the hardware of your system and the software solution
is deployed across multiple machines with each having a unique configuration.

Deployment diagram are represented using nodes. There are two types of nodes.

 Device node
 Processor node

9 K.B.N P.G COLLEGE


10 K.B.N P.G COLLEGE
Sequence diagram:

The objects in sequence diagram are:

 Member
 Librarian
 Database

Sequence diagram in UML shows how object interact with each other and the order of
those interactions occur. It is important to note that they show the interactions for a
particular scenario the process are represented vertically and the interactions are shown
as arrows.

11 K.B.N P.G COLLEGE


12 K.B.N P.G COLLEGE
Collaboration diagram:

The objects in the collaboration diagram are same as of sequence diagram they are:

 Member
 Librarian
 Database

Collaboration diagram are very similarly to activity diagrams which they show a
sequence of diagrams. It is similar to sequence but the follows in an message passed
between objects the same information can be represented using a sequence diagrams
and different object.

The collaboration diagram describes interactions among objects in terms of sequenced


messages, these are also called interaction diagrams.

13 K.B.N P.G COLLEGE


14 K.B.N P.G COLLEGE
Activity diagram:

The objects in activity diagram are:

 Member
 Librarian
 Database

Activity diagrams represent workflow in a graphical way they can be used to describe
business workflow or the operational workflow of any component in a sequence.
Sometimes these are used as an alternative to state machine diagrams.

These are used to display the sequence of activities. They are nothing but the graphical
represents of workflow of stepwise activities and actions.

15 K.B.N P.G COLLEGE


16 K.B.N P.G COLLEGE
State chart diagram:

State machine diagrams are similar to activity diagrams although notation are usage
changes a bit they are sometimes known as state chart diagrams they are very useful to
describe the behaviour of objects that different according to the state they are of
moment.

They are most commonly used to model the dynamic behaviour of classes.

17 K.B.N P.G COLLEGE


AIM: To create a UML diagram of Railway reservation system.

DESCRIPTION:

In railway reservation system, the passenger will login to the railway website and
checks the availability of trains by specifying the details, if there is availability then he
will request for booking, make payment and the ticket will be printed.

The railway server present on the other side will check the details and accept payment
and confirm booking in the bank database the account will be updated and notification
will sent to the customer.

18 K.B.N P.G COLLEGE


.

19 K.B.N P.G COLLEGE


Use case diagram:

Actors:

 Passengers

 Railway server

 Bank database

Use cases:

 Login, select train, checks availability.

 Select language.

 Enter train details, make payment, and print tickets.

 Update account data base.

 Check user information, accept payment, conform booking send notification to


the passenger.

User case diagram gives a graphical overview of the actors involved in a system,
different functions needed by those actors and how these different functions are
interacted.

Use-case diagrams are the most known type of the behavioural UML diagram.

20 K.B.N P.G COLLEGE


21 K.B.N P.G COLLEGE
Class diagram:

The identified classes are:

 Passenger

 Railway server

 User interface

 Bank database

Class diagram are arguably the most used UML diagram type. It is main building
block of any object oriented solution.

It shows the classes in a system, attributes and operations of each classes and the
relationship between each class.

22 K.B.N P.G COLLEGE


23 K.B.N P.G COLLEGE
Component diagram:

The components are:

 Customer
 Bank server
 User interface
 Account

A component diagram displays the structural relationship of components of a software


system these are mostly used when working with complex system that have many
components.

Components communicate with each other using interface the interface are linked
using the connectors.

The component diagram can show components dependencies between components and
the way in which they are connected to.

24 K.B.N P.G COLLEGE


25 K.B.N P.G COLLEGE
Deployment diagram:

 Passengers

 Railway server

 Bank database

 User interface are the nodes in deployment diagram.

A deployment diagram shows the hardware of your system and the software in that
hardware.

It is useful when your software in that hardware is deployment across multiple


machines with each having unique configuration.

It contains two types of nodes:

 Device node

 Processer node

26 K.B.N P.G COLLEGE


27 K.B.N P.G COLLEGE
Sequence diagram
The objects in sequence diagram are:

 Passenger
 Railway controller
 Railway database

Sequence diagram are in UML shows how objects interact with each other and the
order of these interaction occur.

It is important to note that they show the interaction for a particular scenario the
processes are represented vertically and interaction are shown as arrows.

28 K.B.N P.G COLLEGE


29 K.B.N P.G COLLEGE
Collaboration diagram
The specified objects are:

 Passenger
 Railway controller
 Railway database

These are very similar to activity diagram while activity diagram show sequence of the
processer collaboration overview sequence of diagram.

It is similar to sequence diagram but the focus is on message passed between the object
the same information can be represented using sequence diagram and different objects.

30 K.B.N P.G COLLEGE


31 K.B.N P.G COLLEGE
Activity diagram:

The specified objects are:

 Passenger
 Railway controller
 Railway database

Activity diagram represent workflows in a graphical way they can be used to describe
business workflow or the optional workflow of any component in a system sometimes
activity diagram are used as an alternative to state machine diagram.
Activity diagram are used to display the sequence of activities they are nothing but the
graphical representation of workflow of stepwise activity and actions.

32 K.B.N P.G COLLEGE


33 K.B.N P.G COLLEGE
State chart diagram:
State machine diagram are similar to activity diagram although notifications and usage
changes a bit they sometimes known as state chart diagram.
They are very useful to describe the behaviour of objects that act different according to
the state they are of the moment.

They are commonly used model the dynamic behaviour of classes.

AIM: To create a UML diagram of Online Book shop.

DESCRIPTION:

In the online book shop, the user may login to any website containing book shopping
and can perform the following operations like search for a particular book, select a

34 K.B.N P.G COLLEGE


book, adding a book to the cart, updating cart, giving feedback, checking out the
payment details etc.

The operations done by the admin are:

 Adding new Items to cart


 Modifying customer order
 Checking availability etc.

The bank server will be connected to the website to check the payment details.

35 K.B.N P.G COLLEGE


Use case diagram:
Actors:
 user
 admin
 visitor
 credit card company
Use cases:
 Logging into the website, selecting book, adding book to the cart.
 Updating the cart, giving feedback, payment.
 Updating items in the website, verifying customer details.
 Sending notification to admin etc.
Use case diagram gives a graphical overview of the actors involved in a system,
different functions needs by those actors and how these different functions are
interacted.
Use case diagram are the most known type of the behavioural UML diagrams.

36 K.B.N P.G COLLEGE


37 K.B.N P.G COLLEGE
Class diagram:

38 K.B.N P.G COLLEGE


The identified classes are:

 Customer

 Admin

 Books

 Credit card

Class diagram are arguably the most used UML diagram type. It is the main building
block of any object oriented solution. It shows the classes in a system, attributes and
operation of each class and the relationship between each class.

39 K.B.N P.G COLLEGE


Component diagram:
40 K.B.N P.G COLLEGE
The components are:

 Customer

 Admin

 Credit card

A component diagram displays the structural relationship of components of a software


system. There are mostly used when working with complex system. There are mostly
used when working with complex system. That has many components communicate
with each other using interfaces. The interfaces are using connectors.

A component diagram represents a modular part of a system that encapsulates its


contents.

The component diagram can show components, dependents between component and
the way in which they are connected to.

41 K.B.N P.G COLLEGE


Deployment diagram
The nodes in the deployment diagram are:
42 K.B.N P.G COLLEGE
 Customer
 Admin
 Books
 Credit card

a deployment diagram shows the hardware of your system and the software in the
hardware deployment diagram are useful which your software solution is deployed
across multiple machines with each unique configuration.

The deployment diagrams are represented using nodes. There are types of nodes:

 Device name
 Processor node.

43 K.B.N P.G COLLEGE


Sequence diagram:

The objects in the sequence diagram are:

 Customer object
44 K.B.N P.G COLLEGE
 Books object
 Admin object
 Credit card object

Sequence diagram in UML shows how object interact with each other and the order
those interaction occur. It is important to note them. Show the interaction for a
particular scenario. The process are represented vertically and interaction are shown as
arrows.

45 K.B.N P.G COLLEGE


Collaboration diagram:

The objects in the collaboration diagram are same as of sequence diagram they are:
46 K.B.N P.G COLLEGE
 Customer object

 Books object

 Admin object

 Credit card object

Collaboration diagram are very similar to activity diagram. While activity show a
sequence of process, collaboration overview sequence of diagram. It is similar to
sequence diagram but the focus is on messages passed between objects. The same
information can be represented using a sequence diagram and different objects.

47 K.B.N P.G COLLEGE


48 K.B.N P.G COLLEGE
Activity diagram:

The objects in the activity diagram are:

 Customer object
 Books object
 Admin object
 Credit card object

Activity diagram represent workflow in a graphical way. They can be used to describe
business workflow or the operational workflow of any component in a system.

The activity diagrams are used to display the sequence of activity. They are nothing
but the graphical representation of workflow of stepwise activities and actions.

49 K.B.N P.G COLLEGE


50 K.B.N P.G COLLEGE
State chart diagram:
State machine diagram are similar to activity diagram although notations and usage
change a bit. They are sometimes known as state diagram or state chart diagram as
well.
They are very useful to describe the behaviour of objects that act different according to
the state they are the moment.
They are most commonly used to model the dynamic behaviour of classes.

51 K.B.N P.G COLLEGE


AIM: To create a UML diagram of Banking system.

DESCRIPTION:

In the banking system, the customer will login to the specified bank server. If he is not
having account before then he will request for a new account. A customer having an
account can perform the following operation. Balance enquiry select transaction
(deposit amount). After selecting he can perform the transaction and finally logout
from his account. The bank server will verify the details, create new account maintain
account details and update account information.

52 K.B.N P.G COLLEGE


53 K.B.N P.G COLLEGE
Use case diagram:
Actors:
 Customer
 Bank server
Use case:
 Login, Logout
 Select language
 Enter details
 Perform transaction
 Update account database
 Terminate transaction
Use case diagram gives a graphical overview of the actors involved in a system.
Different functions needed by those actors and how these different functions are
interacted.
Use case diagram are the most known type of the behavioural UML diagram.

54 K.B.N P.G COLLEGE


55 K.B.N P.G COLLEGE
Class diagram:

The identified classes are:

 Customer

 Bank server

 User Interface

 Account

Class diagram are arguably the most use UML diagram type it is the main building box
of any object oriented solution. It shows that the classes in a system attributes and
operations of each classes and the relationship between each other.

56 K.B.N P.G COLLEGE


57 K.B.N P.G COLLEGE
Component diagram:

The components are:

 Customer

 Bank server

 User Interface

 Account

A component diagram displays the structural relationship of components of a software


system. These are mostly used when working with complex system. That has many
components. Components communicate with each other using interfaces. The
interfaces are linked using connectors.

A component diagram represents a modular part of a system that encapsulates the


contents.

58 K.B.N P.G COLLEGE


59 K.B.N P.G COLLEGE
Deployment diagram:

The nodes in the deployment diagram are:

 Customer
 Bank server
 User Interface

A deployment diagram shows the hardware of your system and the software in that
hardware. Deployment diagrams are useful when your software solution is deployed
across multiple machines with each having unique configuration.

The deployment diagrams are represents using. There are two types of nodes:

 Device node
 Processor node

60 K.B.N P.G COLLEGE


61 K.B.N P.G COLLEGE
Sequence diagram:

The objects in the sequence diagram are:

 Customer object
 Account object
 Bank server object

Sequence diagram in UML show how object interact with each other and the order
those interactions occur. It is important to note they show the interaction for particular
scenario. The processes are represented vertically and interactions are shown as
arrows.

62 K.B.N P.G COLLEGE


63 K.B.N P.G COLLEGE
Collaboration diagram:

The objects in the collaboration diagram are same as of sequence diagram. They are:

 Customer object

 Bank server object

 Account object

Collaboration diagram are very similar to activity diagram. While activity diagram
show a sequence of processes. Collaboration overview sequence diagram. It is similar
to sequence diagram but the focus is on message passed between object. The same
information can be represented using a sequence diagram are different objects.

64 K.B.N P.G COLLEGE


65 K.B.N P.G COLLEGE
Activity diagram:

The objects in the activity diagram are:

 Customer object
 Account object
 Bank server object

Activity diagram represents workflow in a graphical way. They can be used to


describe business workflow or the operational workflow of an component in a system.
Sometimes activity diagram are used as an alternative statement diagrams.

The activity diagrams are used to display the sequence of activities. They are nothing
the graphical representation of workflow of stepwise activities and actions.

66 K.B.N P.G COLLEGE


67 K.B.N P.G COLLEGE
State chart diagram:

State machine diagram are similar to activity diagram although notations and usage
change a bit. They are sometimes known as state diagram or state chart diagram as
well.
They are very useful to describe the behaviour of objects that act different according to
the state they are the moment.
They are most commonly used to model the dynamic behaviour of classes.

68 K.B.N P.G COLLEGE


Aim: To create a UML diagram of ATM Application

Description:

In this ATM Application, it mainly deals with the operations the client used to perform
on the ATM machine. In order to perform operations the client must contain a valid
ATM card with a valid PIN number.

The types of operation the client or card holder can perform on the given ATM
machine are balance enquiry, withdraw, deposit password change etc.

After performing the above mentioned operation the corresponding database


must be updated in the bank database

69 K.B.N P.G COLLEGE


70 K.B.N P.G COLLEGE
Use-Case Diagram:

Actors:

 Card Holder
 ATM machine
 Bank database

Use cases:

 Insert card, eject card


 Select language
 Enter pin
 Perform transaction (withdraw, deposit…)
 Update Account database
 Terminate transaction

Use case diagram gives a graphical overview of the actors involved in a system,
different functions needed by those actors and row these different functions are
interacted.

Use care diagrams are the most known type of behavioural UML diagram.

71 K.B.N P.G COLLEGE


72 K.B.N P.G COLLEGE
Class Diagram:

The identified classes are:

 Customer
 Bank server
 User Interface
 Account

Class diagrams are arguably the most used UML diagram type.it is the mainly
building blocks of any object oriented analysis.

It shoes the classes in a system, attributes and operations of each class and the
relationship between each class.

73 K.B.N P.G COLLEGE


74 K.B.N P.G COLLEGE
Component Diagram:

The components are:

 Customer
 Bank server
 User Interface
 Account

A component diagram displays the structural relationship of a software system. These


are mostly used when working with complex system that has many components.

Components communicate with each other using Interfaces and liked using connectors,
a component diagram represent a modular part of a system that encapsulates its
contents.

The component diagram can show the components, dependencies between components
and the way in which they are connected to.

75 K.B.N P.G COLLEGE


76 K.B.N P.G COLLEGE
Deployment diagram:

The nodes in the deployment diagram are:

 Customer
 Bank server
 User Interface

A deployment diagram shows the hardware of your system and the software in that
hardware. Deployment diagrams are useful when your software solution is deployed
across multiple machines with each having unique configuration.

The deployment diagrams are represents using. There are two types of nodes:

 Device node
 Processor node

77 K.B.N P.G COLLEGE


78 K.B.N P.G COLLEGE
Sequence diagram:

The objects in the sequence diagram are:

 Customer object
 Account object
 Bank server object

Sequence diagram in UML show how object interact with each other and the order
those interactions occur. It is important to note they show the interaction for particular
scenario. The processes are represented vertically and interactions are shown as
arrows.

79 K.B.N P.G COLLEGE


\
80 K.B.N P.G COLLEGE
Collaboration diagram:

The objects in the collaboration diagram are same as of sequence diagram. They are:

 Customer object

 Bank server object

 Account object

Collaboration diagram are very similar to activity diagram. While activity diagram
show a sequence of processes. Collaboration overview sequence diagram. It is similar
to sequence diagram but the focus is on message passed between object. The same
information can be represented using a sequence diagram are different objects.

The collaboration diagram describes the interaction among objects in terms of


sequence messages. These are also called as interaction diagrams.

81 K.B.N P.G COLLEGE


82 K.B.N P.G COLLEGE
Activity diagram:

The objects in the activity diagram are:

 Customer object
 Account object
 Bank server object

Activity diagram represents workflow in a graphical way. They can be used to


describe business workflow or the operational workflow of an component in a system.
Sometimes activity diagram are used as an alternative statement diagrams.

The activity diagrams are used to display the sequence of activities. They are nothing
the graphical representation of workflow of stepwise activities and actions.

83 K.B.N P.G COLLEGE


84 K.B.N P.G COLLEGE
State chart diagram:

State machine diagram are similar to activity diagram although notations and usage
change a bit. They are sometimes known as state diagram or state chart diagram as
well.
They are very useful to describe the behaviour of objects that act different according to
the state they are the moment.
They are most commonly used to model the dynamic behaviour of classes.

85 K.B.N P.G COLLEGE


Aim: To create a UML diagram of the Book Banking Registration.

Description:

This software is de

86 K.B.N P.G COLLEGE

You might also like