You are on page 1of 13

System Analysisand Design &UML

Practical-6 To have State model design of system.

State diagram for the Chess.

Chess

Chack mate w
Ckwin
White's tum

Black moves White moves Draw

Chack mate
Biack
Black'sturn e win

State diagrams for phone line.

17
System Analysis and Design &UML

Phone line
on hook

Off hook

Timeout

Dial tone Time out

Digitin)
Digit(n) Waming
ime out

Invalid number
On hook Dialing Recorded message

Valid number

Busy tone Number bUsy

Trunk busy cConnectng


Fast tone
Routed

Ringing

Called phone answer

Connected

Called phone hangs up

Disconnected

State diagrams for the ATM.

18
System Analysis and Design & UML

ATM

withdraw money withdrw amount<bal] ehange amoun

Insert pin [Valid pin]} / withdraw loof


Authantication
Withdrawing

Insert pin lInvalid pin


]/Reject

Rejected Close

19
System Analysis and Design & UML
Practical-7 To have Use Case model
design of system
Use-case diagram for Library
Management System.

Library management System

Create accont

Delete an account

Librarian
Update stock)

Issue book
Staf

Return book

Student

Stock of book)

Use-case diagram for E-mail system

20
System Analysis and Design & UML

E-mail System

create a account

login
uses»

admin authentication

read mall
sOCial

primary

compose mail send music files

send photos send link


user

chats text chats


xtends»
viedos chats

add to cirlces

setings
mange account

privacy setting

logout

Use-case diagram for Online shopping


systemn.

21
System Analysis and Design & UML
Online shopping System

«uSes»

order now profile info

order tracking

buyer

feed back

update info

USeS»

order shipment K checkinventory

invoice

Seler
extends
add new item update inventory

payment update

22
SystemAnalysis and Design &UML

Practical-9 To have Activity model design of system.

Activity diagram for the library management system.

Enter in library

Check avaibility

if [available]
else

Make reservation Check user id

if [valid)
else

Can not issue book Issuebook


- -

Update id card

Conttio
Update book record
hoiCg

Leave ibrary

24
System Analysis and Design & UML

Activity diagram for stock ordering process.

Vanety order

Execute order

ifsuccess] elselfailure]

Send failure notice

Send confirmation
Debit ammountUpdate online portfolio

Setle order

Close order

25
System Analysis and Design & UML
Practical-10 To have Case study of real system.
Class diagram for Online library system

online library system payment


|-iubra:y rare: chaz APA3 tor amount: int
|-1ibrazy licence: int -accourt rbert int
get_oniine licrary_inta. (): çet ger_payzert_into. (}: vo14
display cndare library_ito. ( ro: -displey_payment_iate. (j: void

ibrary server Customer Library Item


8errer 1d: int -CuSComer name: cha:
erver p address: int
+1tem nare: cha
FCustome ID: LRt
errer are: cta 1er p:ice: ficat
9e custOrer _into. (0: void -get_i_ten info. ti * vo:d
get_sever into. () : void
11splay custore into. (): void -d8play 1it_iter_info. (): v04
spay erver_info. (): voi4

Books DVD
-beok rane: char
Magazine
dvd ame: char Tagazire zare: cha
|-book id: int
+book price: tloat dvd price: tloat Tagazire pice: float
çet drd info. (): vcid get ragazine_info. ): roid
+get book 1nfo. (): void d13play dvd anfo. (): vo1di3play _naçazine_info.
display _book info. (}: void (}: FO1

State diagram for Online library system.


OarT

26
SystemAnalysis and Design &UML
onl ine library

library site

creat an account

useruser ID
authantiation login
DVD
password

aceess library sever mangezine

Books
select
select Item

purchase item

pay bil

update customer account


details

logout

leave library site

Use-qase diagram for Online library system.

AcLM
27
System Analysis and Design & UML

online library system

online library page

create an acount

D or account no.

log in account

extend> > password


Iibrary server
access library server
facedeteton sequrity

select item
[book,dvd, etcd
CUstomer

purchaseitem

pay bill

0gout
senver admin

Seguence diagram for Online library system.

28
System Analysis and Design & UML

online libranY admin ibrary server Customer onlinelibrary

Creat online library

manage library server

Creat an account

loq in account

elect [ Book, DeD,Mangezine

Py tor purchasetem

I updatecustomer account

make receipt of Bill

L delievryto customer

update onlineitem stoke

log outaccount
update new [ book ,dvd,mangezine]

Event traces diagram for Online library system.

29
SystemAnalysis and Design &UML

Onlne lbrary

go to library site

create an account

login account

If fvalid passWord & 1D]


[Else

recheck account pass & 1DD) access online library

select item
[dvd,book,mangezine

purchase item issue item in server


leave online library slte

update account details


select other item

pay bill for item


takerecelpt

31

You might also like