KEMBAR78
Ooad Lab Exp PDF | PDF | Personal Identification Number | Databases
0% found this document useful (0 votes)
125 views25 pages

Ooad Lab Exp PDF

The document describes developing models for a library management system and an automatic teller machine (ATM) system using the Unified Modeling Language (UML). It discusses the functional requirements and basic concepts of each system. Diagrams that can be used with UML are listed, including use case diagrams, class diagrams, sequence diagrams, collaboration diagrams, state charts, components, and deployment diagrams. Examples of some of these diagrams are included for both the library management and ATM systems. The goal is to develop models for these systems using UML diagrams.

Uploaded by

raghu4220
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)
125 views25 pages

Ooad Lab Exp PDF

The document describes developing models for a library management system and an automatic teller machine (ATM) system using the Unified Modeling Language (UML). It discusses the functional requirements and basic concepts of each system. Diagrams that can be used with UML are listed, including use case diagrams, class diagrams, sequence diagrams, collaboration diagrams, state charts, components, and deployment diagrams. Examples of some of these diagrams are included for both the library management and ATM systems. The goal is to develop models for these systems using UML diagrams.

Uploaded by

raghu4220
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
You are on page 1/ 25

Object Oriented Analysis &

Design Lab
Exp.No. : 1
LIBRARY MANAGEMENT SYSTEM 2
Roll Number: Ur num here

Aim: To develop a model for Library Management System.

Problem Statement:
Develop a model for library management system which contains a Data base, Titles,
items in its inventory (like books, magazines, title name of books, and author of book),
permits restrict access to members, complete access to librarian, should keep track of the
borrowed items of each member, restrict members to borrow only one item at a time, should
permit renewal of items when required.

Functional Requirements:

Administrator: One who has complete access to the system and also manage items like
adding new items in to the database, deleting the damaged items from the data base.
Librarian: One who has access to the system, checking the transactions of the borrower
apply charges for overdue, damaged items and items lost.
Members: The one who has the limited access to the system like unrestricted access to view
titles of all the items available in the library, allow the member to search any item by
entering the book title or author name or subject name as a key word and allows them to
check the total list of items available for them.

Basic Concepts:
A model in the context of software development can be graphical, textual,
mathematical, or program code-based.
An important reason behind constructing a model is that it helps manage complexity.
Once the models of a system have been constructed, it can be used in different
purposes during software development which may include analysis, specification, code
generation, design and testing etc…
UML is a modeling language which is used to visualize, specify, construct, and
document the artifacts of a software system.
UML can be used to construct different types of diagrams which are as follows:
1. Usecase Diagram
2. Class Diagram
3. Object Diagram
4. Sequence Diagram
5. Collaboration Diagram
6. State chart Diagram
7. Component Diagram
8. Deployment Diagram
9. Activity Diagram
Exp.No. : 1
Roll Number: Ur num here
3

USECASE DIAGRAM:
It contains use cases and actors as shown in the following figure:
Exp.No. : 1
Roll Number: Ur num here
4

CLASS DIAGRAM: It contains classes, attributes, operations and responsibilities


as shown in the following diagram
Exp.No. : 1
Roll Number: Ur num here
5

SEQUENCE DIAGRAM: It consists of set of objects and their relationships,


which emphasizes the time ordering of messages as shown in the following figure:
Exp.No. : 1
Roll Number: Ur num here
6

COLLABORATION DIAGRAM: It also consists of set of objects and their


relationships which emphasizes the sequence of interactions over time as shown in the
following figure:
Exp.No. : 1
Roll Number: Ur num here
7

STATE CHART DIAGRAM: It shows a state machine consisting of states, transitions,


events, and activities as shown in the following figure:
Exp.No. : 1
Roll Number: Ur num here
8

COMPONENT DIAGRAM: It contains set of components and their relationships which


is represented as shown in the following figure:

DEPLOYMENT DIAGRAM: It contains nodes, interfaces and their relationships which


is represented as shown in the following figure:
Exp.No. : 1
Roll Number: Ur num here
9

ACTIVITY DIAGRAM: It contains activity states, action states, transitions and


objects and shows the flow from activity to activity which is represented as shown in
the following figure:

Result: - Hence developing a model for Library System is completed.


Exp.No. : 2
Roll Number: Ur num here
AUTOMATIC TELLER MACHINE 10

Aim: To design a model for ATM.

Problem Statement:
Develop a model for ATM which contains a database, user to draw the money from
the ATM, where the user will be logged through the pin number by inserting the ATM card,
administrator will have to maintain the transaction properly and provides options to choose
the type of transaction, allow the user to choose the required transaction, allow the user to
enter the amount to be drawn, checks whether the user make the transaction correctly or not,
Administrator will gives money to the user.

Functional Requirements:

User: The one who will have to make the transaction by inserting the card, entering
the pin number, who can choose the options to make a transaction, entering the
amount to be drawn, changing the pin number if necessary.

Administrator: The one who manages the database, who will perform the transaction
and returns money to the user, check the pin number entered by the user; check the
balance of the user, also checks the amount entered by the user is available or not and
update the details after the transaction is completed.

Basic Concepts:
A model in the context of software development can be graphical, textual,
mathematical, or program code-based.
An important reason behind constructing a model is that it helps manage complexity.
Once the models of a system have been constructed, it can be used in different
purposes during software development which may include analysis, specification, code
generation, design and testing etc…
UML is a modeling language which is used to visualize, specify, construct, and
document the artifacts of a software system.
UML can be used to construct different types of diagrams which are as follows:
1. Usecase Diagram
2. Class Diagram
3. Object Diagram
4. Sequence Diagram
5. Collaboration Diagram
6. State chart Diagram
7. Component Diagram
8. Deployment Diagram
9. Activity Diagram
Exp.No. : 2
Roll Number: Ur num here
11

USECASE DIAGRAM:
It contains use cases and actors as shown in the following figure:
Exp.No. : 2
Roll Number: Ur num here
12

CLASS DIAGRAM: It contains classes, attributes, operations and responsibilities as


shown in the following diagram:

The classes in the above diagram are user, machine and administrator.
The operations in the above diagram are entercard(), enterpin(), option(), enteramt(),
checkpin(), checkbal(), etc…
The attributes in the above diagram are name, pin, amt, servicenum, accnum.
Exp.No. : 2
Roll Number: Ur num here
13

SEQUENCE DIAGRAM: It consists of set of objects and their relationships,


which emphasizes the time ordering of messages as shown in the following figure:
Exp.No. : 2
Roll Number: Ur num here
14

COLLABORATION DIAGRAM: It also consists of set of objects and their


relationships which emphasizes the sequence of interactions over time as shown in the
following figure:
Exp.No. : 2
Roll Number: Ur num here
15

STATE CHART DIAGRAM: It shows a state machine consisting of states, transitions,


events, and activities as shown in the following figure:
Exp.No. : 2
Roll Number: Ur num here
16

COMPONENT DIAGRAM: It contains set of components and their relationships which


is represented as shown in the following figure:

DEPLOYMENT DIAGRAM: It contains nodes, interfaces and their relationships which


is represented as shown in the following figure:
Exp.No. : 2
Roll Number: Ur num here
17

ACTIVITY DIAGRAM: It contains activity states, action states, transitions and


objects and shows the flow from activity to activity which is represented as shown in
the following figure:

Result: - Hence developing a model for ATM is completed


Exp.No. : 3
RAILWAY RESERVATION SYSTEM 18
Roll Number: Ur num here

Aim: To Design the model for Railway Reservation.

Problem Statement:
Develop a model for railway reservation where the user has to reserve a ticket for a
station through railway reservation, user will enquire all the details of the train, enquire about
the reservation ticket, the user has to take the form and fill all the details in the registration
form, performs to submit the form to administrator through enquiry, administrator will check
the details of reservation, will have to perform the transaction, user will have to pay the money to
administrator on receiving of the ticket.

Functional Requirements:

User: The one who have complete access to reserve the ticket, enquires the
information of train name, timings, ticket, receives the information through enquiry,
user will ask the reservation form where the details of the train will be filled here, the
money will be paid to the operator, the details of available trains will be shown to the
user, allows the user to ask when the train arrives and the departures etc...

Administrator: The one who maintains the information of trains, checks the
reservation form whether it is correct or not, updates the information if any changes
had been takes place, allot the berth to the user etc…

Basic Concepts:
A model in the context of software development can be graphical, textual,
mathematical, or program code-based.
An important reason behind constructing a model is that it helps manage complexity.
Once the models of a system have been constructed, it can be used in different
purposes during software development which may include analysis, specification, code
generation, design and testing etc…
UML is a modeling language which is used to visualize, specify, construct, and
document the artifacts of a software system.
UML can be used to construct different types of diagrams which are as follows:
1. Usecase Diagram
2. Class Diagram
3. Object Diagram
4. Sequence Diagram
5. Collaboration Diagram
6. State chart Diagram
7. Component Diagram
8. Deployment Diagram
9. Activity Diagram
Exp.No. : 3
Roll Number: Ur num here
19

USECASE DIAGRAM:
It contains use cases and actors as shown in the following figure:
Exp.No. : 3
Roll Number: Ur num here
20

CLASS DIAGRAM: It contains classes, attributes, operations and responsibilities


as shown in the following diagram
Exp.No. : 3
Roll Number: Ur num here
21

SEQUENCE DIAGRAM: It consists of set of objects and their relationships,


which emphasizes the time ordering of messages as shown in the following figure:
Exp.No. : 3
Roll Number: Ur num here
22

COLLABORATION DIAGRAM: It also consists of set of objects and their


relationships which emphasizes the sequence of interactions over time as shown in the
following figure:
Exp.No. : 3
Roll Number: Ur num here
23

STATE CHART DIAGRAM: It shows a state machine consisting of states, transitions,


events, and activities as shown in the following figure:
Exp.No. : 3
Roll Number: Ur num here
24

COMPONENT DIAGRAM: It contains set of components and their relationships


which is represented as shown in the following figure:

DEPLOYMENT DIAGRAM: It contains nodes, interfaces and their relationships which


is represented as shown in the following figure:
Exp.No. : 3
Roll Number: Ur num here
25

ACTIVITY DIAGRAM: It contains activity states, action states, transitions and


objects and shows the flow from activity to activity which is represented as shown in
the following figure:

Result: Hence developing a model for Railway Reservation System is completed.

You might also like