0% found this document useful (0 votes)
1K views19 pages

Library Management System: Case Study 1

The document describes the UML diagrams for a library management system and an ATM system. For the library system, it includes use case, sequence, collaboration, and activity diagrams showing actions like creating a membership account, issuing and returning books. For the ATM system, it includes use case, sequence, and activity diagrams showing actions like withdrawing money, checking balances, and changing PIN numbers.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views19 pages

Library Management System: Case Study 1

The document describes the UML diagrams for a library management system and an ATM system. For the library system, it includes use case, sequence, collaboration, and activity diagrams showing actions like creating a membership account, issuing and returning books. For the ATM system, it includes use case, sequence, and activity diagrams showing actions like withdrawing money, checking balances, and changing PIN numbers.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 19

CASE STUDY 1

LIBRARY MANAGEMENT SYSTEM

LIBRARY MANAGEMENT SYSTEM

AIM :- To draw UML diagram for Library management system. DESCRIPTION:The Library Management System is designed & developed for a receipt and issuance of books in the library along with the students 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. Actors: 1.manager 2.librarion 3.member 4.bookkeeper

Usecase: 1.help 2.request for stock 3.controlling 4.create member account 5.close member account 6.issue membership 7.collecting books 8.renual book 9.return book 10.fine details

11.request for books 12.control 13.requesting books 14.help.

Control flow:

1. manager of the library help the librarian in all possible ways. 2.librarion requests the manager for the new stock. 3. manager looks after many control activities of the library. 4. librarian allows a new member to create an account. 5. librarian allows the member to close his account. 6. Librarian issues the membership for the member. 7.member collects the books he needed from librarian. 8.member renewal the books from the librarian. 9.member returns his books to the librarian. 10.member pays the fine to the librarian in case of any damage to book or late issuing. 11.librarion maintains the books with the help of bookkeeper.

USECASE DIAGRAM FOR LIBRARY MANAGMENT

BOOK FOUND MANAGER BOOK_KEEPER BOOK NOT AVAILABLE CONTROL CREATE MEMBER SHIP HELP FOR SEARCHING

REQUEST FOR BOOKS

ISSUE MEMBER ID

ISSUING BOOKS

MEMBER RENUE OF BOOKS LIBRARIAN

RETURN BOOKS

REFERENCE

FINE

CLOSE MEMBERSHIP

SEQUENCE DIAGRAM FOR LIBRARY- CREATE MEMBERSHIP


MEMBER LIBRARIAN MANAGER

request for membership

create account

issue membership

request for stock

granting stock

control on librarion

close membership account

COLLABORATION DIAGRAM FOR LIBRARY-MEMBERSHIP


MANAG ER

MEMBER

1: request for membership 2: create account 7: close membership account

4: request for stock

5: granting stock 6: control on librarion 3: issue membership LIBRARIAN

SEQUENCE DIAGRAM FOR LIBRARY-ISSUE OF BOOK


MEMBER enter into library LIBRARIAN CHECKING ACCOUNT

create membership

issue membership

request for book check id card

valid id card

issue the book

exit from the library

COLLABORATION DIAGRAM FOR LIBRARY - ISSUE BOOK

1: enter into library 2: create membership 4: request for book MEMBER 3: issue membership 7: issue the book 8: exit from the library

LIBRARIAN

6: valid id card 5: check id card

CHECKING ACCOUNT

SEQUENCE DIAGRAM FOR LIBRARY-RETURN THE BOOK


MEMBER enter into library LIBRARIAN CHECKING ACCOUNT

create membership

issue membership

request for book check id card

valid id card

take the book

exit from the library

COLLABORATION DIAGRAM FOR LIBRARY - RETURN THE BOOK

1: enter into library 2: create membership 4: request for book MEMBER 3: issue membership 7: take the book 8: exit from the library

LIBRARIAN

6: valid id card 5: check id card

CHECKING ACCOUNT

ACTIVITY DIAGRAM FOR LIBRARY MANAGEMENT MEMBER

Creates member ship account

Close member ship account

Request books

Collects books

Return books

ACTIVITY DIAGRAM FOR LIBRARY MANAGEMENT LIBRARIAN

Issue member ship

Renews the book

Gives information about fine details

Has control on book-keeper

CASE STUDY 2

ATM MODEL

ATM MODEL
Aim: To create a UML diagram of ATM application. Actors:
1.customer 2.system. 3.datebase.

Usecase:
1.enter into ATM 2.insert card 3.enter pin number 4.chek pin a) Correct b)in correct c) Enter correct pin 5.options a) Withdraw b) Balance enquiry c) Change pin d) Mobile recharging 6.exit.

Control flow:
1. Customer enters into ATM. 2. Customer inserts the card into the system. 3. Customer enters the pin number in the system.

4. System checks the pin number. if the pin number is correct it allows next operation ,if the pin number is incorrect then system asks the customer to enter correct pin number it is valid up to three times. 5.customer chooses correct option according to the transaction he wanted to perform. 6.customers withdraw his money a he wanted by entering the amount. 7.customer knows about the balance present in his account by selecting balance enquiry option. 8.customer enters the present pin code and asks the system for setting the new pin code. 9.customer enters the amount to be recharged in his mobile. 10.any transaction is performed by the customer is allowed by the system only after checking the transaction database of customer.

USE-CASE DIAGRAM FOR ATM

select options

enter amount user

select mode of payment

cheque for verification

selecting cash

controller

selecting cheque

cheque is provided to system

updating database cash is provided from system

provide postal cards

atm

paying telephone bills

provide recharge condition paying bill

paying bill for purchased items

Activity Diagram for ATM

enter in to atm center insert the card and take

atm asks the password

enter the password [password incorrect] [passwordcorrect] insert correct password enter the account type [current account]

[withdraw] [balanceenquary]

[savings account] [balanceenquary] [withdraw] enter the ammount [do not wants slip] press enter button take the slip and leave [slip wants]

enter ammount

press ente button

take the ammount [want'sslip]

the ammount will be take

[dont want slip]

[wants the slip]

[do not want slip]

SEQUENCE DIAGRAM FOR ATM WITHDRAW

:user

:controller

:atm

1.user is asked for amount

2.enter amount

3.user is asked for modes of payment

4.select modes of payment

5.selecting cheque() Sequence Diagra... 6.selecting cash()

Sequence Diagra...

You might also like