SE Practical1

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 45

BTCOL506:

Sof
twar
eEngi
neer
ingLabor
ator
y

MBE’
SCOLLEGEOFENGI
NEERI
NGAMBAJOGAI

DEPARTMENTOFCOMPUTERSCI
ENCEENGI
NEERI
NG

T.
Y.B.
Tech.
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

Li
stof
Exper
iment
s:
1.
Toper
for
mthesy
stemanal
ysi
s:Requi
rement
anal
ysi
s,
SRS.
(Bot
hFunct
ional
and
Nonf
unct
ional
requi
rement
s.For
aset
of10sampl
epr
obl
ems,
fr
omabookonSof
twar
e
Engi
neer
ingby
Raj
i
bMal
l
.)

2.
Toper
for
mthef
unct
ionor
ient
eddi
agr
am:
DFDandSt
ruct
uredchar
t.

3.
Toper
for
mtheuser
‘sv
iewanal
ysi
s:Usecasedi
agr
am.

4.
Todr
awt
hest
ruct
ural
vi
ewdi
agr
am:
Classdi
agr
am,
obj
ect
diagr
am.

5.
Todr
awt
hebehav
ior
alv
iewdi
agr
am:
Sequencedi
agr
am,
Col
l
abor
ati
ondi
agr
am.

6.
Todr
awt
hebehav
ior
alv
iewdi
agr
am:
Stat
e-char
tdi
agr
am,
Act
ivi
tydi
agr
am.

7.
Todr
awt
hei
mpl
ement
ati
onv
iewdi
agr
am:
Component
diagr
am.

8.
Todr
awt
heenv
ironment
alv
iewdi
agr
am:
Depl
oyment
diagr
am.

9.
Toper
for
mvar
ioust
est
ingusi
ngt
het
est
ingt
ool
uni
tt
est
ing,
i
ntegr
ati
ont
est
ing

CASETool
s

I
ntr
oduct
ion:
Caset
ool
sknownasComput
er-
aidedsof
twar
eengi
neer
ingt
ool
sisaki
ndof
component
-baseddev
elopment
whi
chal
l
owsi
tsuser
stor
api
dly
dev
elopi
nfor
mat
ion
sy
stems.
Themai
ngoal
ofcaset
echnol
ogy
ist
heaut
omat
ionof
theent
ir
einf
ormat
ion
sy
stemsdev
elopment
li
fecy
clepr
ocessusi
ngaset
ofi
ntegr
atedsof
twar
etool
s,
suchas
model
i
ng,
met
hodol
ogy
andaut
omat
iccodegener
ati
on.

Component
basedmanuf
act
uri
nghassev
eral
adv
ant
agesov
ercust
om
dev
elopment
.Themai
nadv
ant
agesar
etheav
ail
abi
l
ity
ofhi
ghqual
i
ty,
def
ect
free
pr
oduct
sat
lowcost
andat
afast
ert
ime.
Thepr
efabr
icat
edcomponent
sar
e
cust
omi
zedasper
ther
equi
rement
sof
thecust
omer
s.Thecomponent
susedar
epr
ebui
l
t,r
eady
-
t
est
edandaddv
alueanddi
ff
erent
iat
ionby
rapi
dcust
omi
zat
iont
othe
t
arget
edcust
omer
s.Howev
ert
hepr
oduct
sweget
fromcaset
ool
sar
eonl
yaskel
eton
of
thef
inal
product
requi
redandal
otof
progr
ammi
ngmust
bedoneby
handt
oget
a

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

f
ull
yfi
nished,
goodpr
oduct
.

Char
act
eri
sti
csof
CASE:
someof
thechar
act
eri
sti
csof
caset
ool
sthat
makei
tbet
ter
than
cust
omi
zeddev
elopment
AreI
ti
sagr
aphi
cor
ient
edt
ool
.

I
tsuppor
tsdecomposi
ti
onof
process.
Somet
ypi
cal
CASEt
ool
sar
e:Uni
fi
ed
Model
i
ngLanguage

Dat
amodel
i
ngt
ool
sandSour
cecodegener
ati
ont
ool
s

UNI
FIEDMODELI
NGLANGUAGE

I
ntr
oduct
ion:
Theuni
fi
edmodel
i
ngl
anguage(
UML)
isast
andar
dlanguagef
orwr
it
ing
sof
twar
ebl
uepr
int
s.TheUMLi
sal
anguagef
orVi
sual
i
zingSpeci
fyi
ngConst
ruct
ing
document
ing.
thear
ti
fact
sof
asof
twar
esy
stem:
UMLi
sal
anguaget
hat
prov
ides
v
ocabul
ary
andt
her
ulesf
orcombi
ngwor
dsi
nthat
vocabul
ary
for
thepur
poseofcommuni
cat
ion

Amodel
i
ngl
anguagei
sal
anguagewhosev
ocabul
ary
andr
ulesf
ocusont
he
concept
andphy
sical
repr
esent
ati
onof
asy
stem.
Vocabul
ary
andr
ulesof
alanguage
t
ell
ushowt
ocr
eat
eandr
eal
wel
l
for
medmodel
s,
but
they
don’
tt
ell
youwhat
model
y
oushoul
dcr
eat
eandwhenshoul
dcr
eat
ethem.

Vi
sual
i
zing:
TheUMLi
smor
ethanj
ust
abunchof
graphi
cal
symbol
s.I
nUMLeachsy
mbol
haswel
l
def
inedsemant
ics.
Int
hismanner
onedev
eloper
canwr
it
eamodel
i
ntheUML
andanot
her
dev
eloper
orev
enot
her
tool
scani
nter
pret
themodel
unambi
guousl
y.

Speci
fyi
ng:
UMLi
susedspeci
fyi
ngmeansbui
l
dingmodel
sthat
arepr
eci
se,
unambi
guous
andcompl
ete.
UMLaddr
essest
hespeci
fi
cat
ionof
all
thei
mpor
tant
anal
ysi
s,
desi
gnand
i
mpl
ement
ati
ondeci
sionst
hat
must
bemadei
ndev
elopi
nganddepl
oyi
ngasof
twar
e
i
ntensi
vesy
stem.

Const
ruct
ing:
UMLi
snot
avi
sual
progr
ammi
ngl
anguagebut
it
smodel
scanbedi
rect
ly
connect
edt
oav
ari
ety
ofpr
ogr
ammi
ngl
anguages.
Thi
smeanst
hat
it
ispossi
blet
omap
f
romamodel
i
ntheUMLt
oapr
ogr
ammi
ngl
anguagesuchasj
ava,
c++or
Visual
Basi
cor
ev
ent
otabl
esi
nar
elat
ional
dat
abaseor
theper
sist
ent
stor
eof
anobj
ect
-or
ient
ed
dat
abase.
Thi
smappi
ngper
mit
sfor
war
dengi
neer
ing.
Thegener
ati
onof
codef
romaUML
model
i
ntoapr
ogr
ammi
ngl
anguage.
Ther
ever
seengi
neer
ingi
sal
sopossi
bley
oucan

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

r
econst
ruct
amodel
fr
omani
mpl
ement
ati
onbacki
ntot
heUML.

Document
ing:
UMLi
sal
anguagef
orDocument
ing.
Asof
twar
eor
gani
zat
ionpr
oducesal
l
sor
tsof
art
if
act
sinaddi
ti
ont
orawexecut
abl
ecode.
Thesear
ti
fact
sincl
udeRequi
rement
s,
Ar
chi
tect
ure,
Desi
gn,
Sour
cecode,
Proj
ect
plans,
Test
,Pr
otot
ype,
andRel
ease.
Such
ar
ti
fact
sar
enot
onl
ythedel
i
ver
abl
esof
apr
oject
,t
hey
areal
socr
it
ical
i
ncont
rol
l
ing,
measur
ingandcommuni
cat
ingabout
asy
stemdur
ingi
tsdev
elopment
andaf
ter
it
sdepl
oyment
.

Concept
ual
model
oft
heUML:
Tounder
standt
heUML,
weneedt
ofor
maconcept
ual
model
oft
hel
anguageandt
hisr
equi
resl
ear
ningt
hreemaj
orel
ement
s.TheUMLBasi
c
Bui
l
dingBl
ocks.
TheRul
est
hat
dir
ect
howt
hosebui
l
dingbl
ocksmay
beput
toget
her
.
Somecommonmechani
smst
hat
appl
ythr
oughout
theUML.
AsUMLdescr
ibest
her
eal
t
imesy
stemsi
ti
sver
yimpor
tant
tomakeaconcept
ual
model
andt
henpr
oceedgr
adual
l
y.
Concept
ual
model
ofUMLcanbemast
eredby
lear
ningt
hef
oll
owi
ngt
hreemaj
orel
ement
s:

UMLbui
l
dingbl
ocks:
Rul
est
oconnect
thebui
l
dingbl
ocksCommonmechani
smsof
UML,
UMLbui
l
dingbl
ocks.
Thebui
l
dingbl
ocksof
UMLcanbedef
inedas:
Thi
ngs
Rel
ati
onshi
psDi
agr
ams

Thi
ngs:
Thi
ngsar
ethemost
impor
tant
bui
l
dingbl
ocksof
UML.
Thi
ngscanbe:
Str
uct
ural
behav
ior
al,
groupi
ng,
annot
ati
onal

St
ruct
ural
thi
ngs:
TheSt
ruct
ural
thi
ngsdef
inet
hest
ati
cpar
tof
themodel
.They
repr
esent
phy
sical
aconcept
ual
element
s.Fol
l
owi
ngar
ethebr
ief
descr
ipt
ionsof
thest
ruct
ural
t
hi Cl
ngs. ass:
Classr
epr
esent
sset
ofobj
ect
shav
ingsi
mil
arr
esponsi
bil
i
ties.

I
nter
face:
Int
erf
acedef
inesaset
ofoper
ati
onswhi
chspeci
fyt
her
esponsi
bil
i
tyof
acl
ass

Usecase:
Usecaser
epr
esent
saset
ofact
ionsper
for
medby
asy
stemf
oraspeci
fi
cgoal
.

Component
:Component
descr
ibesphy
sical
par
tof
asy
stem.

Node:
Anodecanbedef
inedasaphy
sical
element
that
exi
stsat
runt
ime.

Behav
ior
alt
hings:
Abehav
ior
alt
hingconsi
stsof
thedy
nami
cpar
tsof
UMLmodel
s.
Foll
owingar
ethebehavi
oralt
hings:
Int
eracti
on:
Inter
acti
onisdefi
nedasabehav
ior
that
consi
stsof
agr
oupof
messages

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

exchangedamongel
ement
stoaccompl
i
shaspeci
fi
ctask.

St
atemachi
ne:
Stat
emachi
nei
susef
ulwhent
hest
ateof
anobj
ect
ini
tsl
i
fecy
clei
s
i
mpor
tant
.I
tdef
inest
hesequenceof
stat
esanobj
ect
goest
hroughi
nresponset
o
ev
ent
s.Ev
ent
sar
eext
ernal
fact
orsr
esponsi
blef
orst
atechange.

Gr
oupi
ngt
hings:
Groupi
ngt
hingscanbedef
inedasamechani
smt
ogr
oupel
ement
sof
a
UMLmodel
toget
her
.Ther
eisonl
yonegr
oupi
ngt
hingav
ail
abl
e.

Package:
Packagei
stheonl
yonegr
oupi
ngt
hingav
ail
abl
efor
gat
her
ingst
ruct
ural
and
behav
ior
alt
hings.
Annot
ati
onal
thi
ngs:
Annot
ati
onal
thi
ngscanbedef
inedasamechani
smt
ocapt
ure
r
emar
ks,
descr
ipt
ions,
andcomment
sof
UMLmodel
element
s.Not
eist
heonl
yone
Annot
ati
onal
thi
ngav
ail
abl
e.Not
e:Anot
eisusedt
orender
comment
s,const
rai
ntset
c
of
anUMLel
ement
.

Rel
ati
onshi
psI
nUML:
Rel
ati
onshi
pisanot
her
most
impor
tant
bui
l
dingbl
ockof
UML.
It
showshowel
ement
sar
eassoci
atedwi
theachot
her
andt
hisassoci
ati
ondescr
ibest
he
f
unct
ional
i
tyof
anappl
i
cat
ion.
Ther
ear
efour
kindsof
rel
ati
onshi
psav
ail
abl
e.

Dependency
:Dependency
isar
elat
ionshi
pbet
weent
wot
hingsi
nwhi
chchangei
none
el
ement
alsoaf
fect
stheot
her
one.

Associ
ati
on:
Associ
ati
oni
sbasi
cal
l
yaset
ofl
i
nkst
hat
connect
sel
ement
sof
anUML
model
.I
tal
sodescr
ibeshowmany
obj
ect
sar
etaki
ngpar
ti
nthat
rel
ati
onshi
p.

Gener
ali
zat
ion:
Gener
ali
zat
ioncanbedef
inedasar
elat
ionshi
pwhi
chconnect
sa
speci
ali
zedel
ement
wit
hagener
ali
zedel
ement
.I
tbasi
cal
l
ydescr
ibesi
nher
it
ance
r
elat
ionshi
pint
hewor
ldof
obj
ect
s.

Real
i
zat
ion:
Real
i
zat
ioncanbedef
inedasar
elat
ionshi
pinwhi
cht
woel
ement
sar
e
connect
ed.
Oneel
ement
descr
ibessomer
esponsi
bil
i
tywhi
chi
snot
impl
ement
edandt
he
ot
her
onei
mpl
ement
sthem.
Thi
srel
ati
onshi
pexi
stsi
ncaseof
int
erf
aces.

UMLDi
agr
ams:
UMLdi
agr
amsar
etheul
ti
mat
eout
put
oft
heent
ir
edi
scussi
on.
All
the
el
ement
s,r
elat
ionshi
psar
eusedt
omakeacompl
eteUMLdi
agr
amandt
hedi
agr
am

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

r
epr
esent
ssy
stem.
Thev
isual
eff
ect
oft
heUMLdi
agr
ami
sthemost
impor
tant
par
tof
the
ent
ir
epr
ocess.
All
theot
her
element
sar
eusedt
omakei
tacompl
eteone.
UMLi
ncl
udes
t
hef
oll
owi
ngni
nedi
agr
amsandt
hedet
ail
sar
edescr
ibedi
nthef
oll
owi
ngCl
assdi
agr
am,
Obj
ect
diagr
am,
Usecasedi
agr
am,
sequencedi
agr
am,
Col
l
abor
ati
ondi
agr
amAct
ivi
ty
di
agr
am,
Stat
echar
tdi
agr
am,
Depl
oyment
diagr
am,
component
diagr
am

ARCHI
TECTUREOFUML

Any
real
wor
ldsy
stemi
susedby
dif
fer
ent
user
s.Theuser
scanbedev
eloper
s,t
est
ers,
busi
nesspeopl
e,
anal
yst
sandmany
mor
e.Sobef
oredesi
gni
ngasy
stemt
he
ar
chi
tect
urei
smadewi
thdi
ff
erent
per
spect
ivesi
nmi
nd.
Themost
impor
tant
par
ti
sto
v
isual
i
zet
hesy
stemf
romdi
ff
erent
viewer
’sper
spect
ive.
Thebet
ter
weunder
standt
he
bet
ter
wemaket
hesy
stem.
UMLpl
aysani
mpor
tant
rol
eindef
ini
ngdi
ff
erent
per
spect
ivesof
asy
stem.
Theseper
spect
ivesar
e:Desi
gnI
mpl
ement
ati
onPr
ocessDepl
oyment

Andt
hecent
rei
stheUseCasev
iewwhi
chconnect
sal
l
thesef
our
.AUsecase
r
epr
esent
sthef
unct
ional
i
tyof
thesy
stem.
Sot
heot
her
per
spect
ivesar
econnect
edwi
thusecase.

Desi
gnof
asy
stemconsi
stsof
classes,
i
nter
facesandcol
l
abor
ati
on.
UMLpr
ovi
des
cl
assdi
agr
am,
obj
ect
diagr
amt
osuppor
tthi
s.I
mpl
ement
ati
ondef
inest
hecomponent
s
assembl
edt
oget
her
tomakeacompl
etephy
sical
syst
em.
UMLcomponent
diagr
ami
s
usedt
osuppor
ti
mpl
ement
ati
onper
spect
ive.
Pr
ocessdef
inest
hef
lowof
thesy
stem.
Sot
hesameel
ement
sasusedi
nDesi
gnar
e
al
sousedt
osuppor
tthi
sper
spect
ive.
Depl
oyment
repr
esent
sthephy
sical
nodesof
thesy
stemt
hat
for
mst
hehar
dwar
e.UML
depl
oyment
diagr
ami
susedt
osuppor
tthi
sper
spect
ive.

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

EXPERI
MENTNO1:
Toper
for
mthesy
stemanal
ysi
s

Ai
m:Toper
for
mthesy
stemanal
ysi
s:Requi
rement
anal
ysi
s,
SRS.
(Bot
hfunct
ional
and
nonf
unct
ional
requi
rement
.f
oraset
of10sampl
epr
obl
em,
fr
omabookonsof
twar
e
engi
neer
ingby
Raj
i
bMal
l

Tool
s:
Googl
eChr
ome/
Any
Browser
s

STARUML
Window’s/ubunt
u
Obj
ect
ive:
Tol
earnbasi
cConcept
ofSof
twar
eEngi
neer
ing.

Pr
ocedur
e:
Sampl
efor
funct
ional
andnon-
funct
ional
requi
rement
=
1.
Wit
hdr
awcashf
romATM
2.
Hospi
tal
Management
Syst
em
3.
Libr
ary
Management
Syst
em
4.
Ment
car
eSy
stem
5.
Weat
her
Mappi
ngSy
stem
Funct
ional
requi
rement
=
Af
unct
ional
requi
rement
def
inesasy
stemor
it
scomponent
sit
speci
fi
es“
What
shoudbe
sof
twar
esy
stemdo-
?”
1.
Wit
hdr
awcashf
romATM
Sr
.no. Funct
ional
requi
rement Non- f
unct
ional
r
equi
rement

1 Wi
thdr
awcash Secur
it
yshoul
dbet
hei
r

2 Sel
ect
wit
hdr
awamount Donot
shar
epi
ncodewi
th

TYBTechCSE(
SE-
LabManual
) Page

Opt
ion any
one

3 Sel
ect
account
type Checkt
hepr
ivacy
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

4 Get
requi
redamount Checkt
hecamer
aar
ound
ATM

2.
Hospi
tal
management
syst
em
Sr.
no Funct
ional
requi
rement Non -
funct
ional
r
equi
rement

1 Addi
ngpat
ient Secur
it
y

2 Del
eti
ngpat
ient
ID Logi
nID

3 Addi
ngbedsav
ail
abl
eli
st passwor
d

4 I
nfor
mat
ionof
pat
ient St
aff
ri
ght
s

3.
Libr
arymanagement
syst
em
Sr.no Funct
ional
requi
rement Non -
funct
ional
r
equi
rement

1 Addnewmember
s usabi
l
ity

2 Remov
emember
s Accur
acy

3 Sy
stem cancal
cul
atesf
ine Av
ail
abi
l
ity

4 User
request
for
newbook Mai
ntai
nabi
l
ity

4.
Ment
car
eSy
stem
Sr
.no Funct
ional
requi
rement Non -
funct
ional
r
equi
rement

1 Def
inepr
oduct
feat
ures Def
inepr
oduct
proper
ti
es

2 Focusonuser
requi
rement Focusonuser
expect
ati
ons

3 What
thepr
oduct
does Howt
hepr
oduct
wor
k

4 Ext
ernal
i
nter
face usabi
l
ity

5.
Weat
her
mappi ngsy
stem
Sr
.no Functi
onalr
equi
rement Non-
funct
ional
requi
rement

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

1 Ext
ensi
ble Secur
it
y

2 Mai
ntai
nabl
e por
tabi
l
ity

3 Por
tabl
e scal
abi
l
ity

4 Systemprovidesfol
l
owing per
for
mance
parameterswindspeed.
.

Concl
usi
on:
Successf
ull
ycompl
etedRequi
rement
anal
ysi
s,
SRS.
(Bot
hfunct
ional
andnon
f
unct
ional
requi
rement
).

EXPERI
MENTNO2:
Toper
for
mthef
unct
ionor
ient
eddi
agr
am
Ai
m:Toper
for
mthef
unct
ionor
ient
eddi
agr
am:
DFDandst
ruct
uredchar
t

Tool
s:
Googl
eChr
ome/
Any
Browser
s

STARUML
Wi
ndow’
s/ubunt
u
Obj
ect
ive:
Tol
ear
nbasi
cConcept
ofSof
twar
eEngi
neer
ing.
Aut
omat
icTel
l
erMachi
ne

Descr
ipt
ionof
ATMSy
st Thesof
em: twar
etobedesi
gnedwi
l
lcont
rol
asi
mul
ated
aut
omat
edt
ell
ermachi
ne(
ATM)
hav
ingamagnet
icst
ri
per
eader
for
readi
ngan
ATMcar
d,acust
omer
consol
e(key
boar
danddi
spl
ay)
for
int
eract
ionwi
tht
he
cust
omer
,asl
otf
ordeposi
ti
ngenv
elopes,
adi
spenser
for
cash,
apr
int
erf
or
pr
int
ingcust
omer
recei
pts,
andakey
-oper
atedswi
tcht
oal
l
owanoper
ator
to
st
art
orst
opt
hemachi
ne.
TheATMwi
l
lcommuni
cat
ewi
tht
hebank’
scomput
er
ov
eranappr
opr
iat
ecommuni
cat
ionl
i
nk.
(Thesof
twar
eont
hel
att
eri
snot
par
t
of
ther
equi
rement
sfor
thi
spr
obl
em.
)TheATMwi
l
lser
viceonecust
omer
ata
t
ime.
Acust
omer
wil
l
ber
equi
redt
oinser
tanATMcar
dandent
eraper
sonal
i
dent
if
icat
ionnumber
(PI
N)–bot
hof
whi
chwi
l
lbesent
tot
hebankf
or
v
ali
dat
ionaspar
tof
eacht
ransact
ion.
Thecust
omer
wil
l
thenbeabl
etoper
for
m
oneor
mor
etr
ansact
ions.
Thecar
dwi
l
lber
etai
nedi
nthemachi
neunt
il
the

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

cust
omer
indi
cat
est
hat
he/
shedesi
resnof
urt
her
transact
ions,
atwhi
chpoi
nti
t
wi
l
lber
etur
ned–except
asnot
edbel
ow.

TheATMmust
beabl
etopr
ovi
det
hef
oll
owi
ngser
vicest
othecust
omer
:

1.
Acust
omer
must
beabl
etomakeacashwi
thdr
awal
fr
omany
sui
tabl
eaccount
l
i
nkedt
othecar
d.Appr
oval
must
beobt
ainedf
romt
hebankbef
orecashi
sdi
spensed.

2.
Acust
omer
must
beabl
etomakeadeposi
tt
oany
account
li
nkedt
othecar
d,
consi
sti
ngof
cashand/
orchecksi
nanenv
elope.
Thecust
omer
wil
l
ent
ert
he
amount
oft
hedeposi
ti
ntot
heATM,
subj
ect
tomanual
ver
if
icat
ionwhent
he
env
elopei
sremov
edf
romt
he

Machi
neby
anoper
ator
.Appr
oval
must
beobt
ainedf
romt
hebankbef
ore
phy
sical
l
yaccept
ingt
heenv
elope.
3.
Acust
omer
must
beabl
etomakeat
ransf
erof
money
bet
weenany
two
account
sli
nkedt
othecar
d.
4.
Acust
omer
must
beabl
etomakeabal
ancei
nqui
ryof
any
account
li
nkedt
othecar
d.

5.
Acust
omer
must
beabl
etoabor
tat
ransact
ioni
npr
ogr
essby
pressi
ngt
he
Cancel
key
inst
eadof
respondi
ngt
oar
equest
fromt
hemachi
ne.
TheATMwi
l
lcommuni
cat
eeacht
ransact
iont
othebankandobt
ainv
eri
fi
cat
iont
hat
it
wasal
l
owedby
thebank.
Ordi
nar
il
y,
atr
ansact
ionwi
l
lbeconsi
der
edcompl
eteby
the
bankoncei
thasbeenappr
oved.
Int
hecaseof
adeposi
t,
asecondmessagewi
l
lbesent
t
othebanki
ndi
cat
ingt
hat
thecust
omer
hasdeposi
tedt
heenv
elope.
(I
ft
hecust
omer
f
ail
stodeposi
tt
heenv
elopewi
thi
nthet
imeout
per
iod,
orpr
essescancel
i
nst
ead,
no
secondmessagewi
l
lbesent
tot
hebankandt
hedeposi
twi
l
lnot
becr
edi
tedt
othe
cust
omer
.)
If
thebankdet
ermi
nest
hat
thecust
omer
’sPI
Nisi
nval
i
d,t
hecust
omer
wil
l
ber
equi
redt
ore-
ent
ert
hePI
Nbef
oreat
ransact
ioncanpr
oceed.
If
thecust
omer
is
unabl
etosuccessf
ull
yent
ert
hePI
Naf
ter
thr
eet
ri
es,
thecar
dwi
l
lbeper
manent
ly
r
etai
nedby
themachi
ne,
andt
hecust
omer
wil
l
hav
etocont
act
thebankt
oget
it
back.
If
at
ransact
ionf
ail
sfor
any
reasonot
her
thanani
nval
i
dPI
N,t
heATMwi
l
ldi
spl
ayan
expl
anat
ionof
thepr
obl
em,
andwi
l
lthenaskt
hecust
omer
whet
her
he/
shewant
stodo
anot
her
transact
ion.
TheATMwi
l
lpr
ovi
det
hecust
omer
wit
hapr
int
edr
ecei
ptf
oreachsuccessf
ul
t
ransact
ion,
showi
ngt
hedat
e,t
ime,
andmachi
nel
ocat
ion,
typeof
transact
ion,
account
,
amount
,andendi
ng

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

andav
ail
abl
ebal
ance(
s)of
theaf
fect
edaccount
(“t
o”account
for
transf
ers)
.TheATM
wi
l
lhav
eakey
-oper
atedswi
tcht
hat
wil
l
all
owanoper
ator
tost
art
andst
opt
heser
vici
ng
of
cust
omer
s.Af
ter
tur
ningt
heswi
tcht
othe“
on”
posi
ti
on,
theoper
ator
wil
l
ber
equi
red
t
over
if
yandent
ert
het
otal
cashonhand.
Themachi
necanonl
ybet
urnedof
fwheni
ti
s
not
ser
vici
ngacust
omer
.Whent
heswi
tchi
smov
edt
othe“
off
”posi
ti
on,
themachi
ne
wi
l
lshut
down,
sot
hat
theoper
ator
may
remov
edeposi
tenv
elopesandr
eloadt
he
machi
newi
thcash,
blankr
ecei
pts,
etc.

Pr
ocedur
:
e

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

(
q1,
a,z0)and(
q1,
b,z0)

Concl
usi
on:
Successf
ull
ycompl
eteddesi
gnof
funct
ionor
ient
eddi
agr
am:
DFDand
St
ruct
uredchar
t
EXPERI
MENTNO3:
Toper
for
mtheuser
’sv
iewanal
ysi
s:UseCasedi
agr
am.

Ai
m:Toper
for
mthef
unct
ionor
ient
eddi
agr
amDFDandst
ruct
uredchar
t:
UseCase
di
agr
am.
Tool
s:
Googl
eChr
ome/
Any
Browser
s

STARUML
Wi
ndow’
s/ubunt
u

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

Obj
ect
ive:
Tol
ear
nbasi
cConcept
ofSof
twar
eEngi
neer
ing.

Pr
ocedur
e:

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

ALGORI
THM/ FLOWCHART/
PSEUDO CODE1:

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

checkpi
nno2:
pinv
ali
d/i
nval
i
d3:
checkaccount
4:
di
spl
ayst
atus,
5:checkamount
,6:
displ
ayst
atus,

7:
updat
eaccount
ATM ADMI
N

1.
STATEDi
agr St
am: at
echar
tdi
agr
ami
susedt
omodel
dynami
cnat
ure
of
asy
stem.
They
def
inedi
ff
erent
stat
esof
anobj
ect
dur
ingi
tsl
i
fet
ime.
Andt
hesest
atesar
echangedby
event
s.SoSt
atechar
tdi
agr
amsar
e
usef
ult
omodel
react
ivesy
stems.
React
ivesy
stemscanbedef
inedasa
sy
stemt
hat
respondst
oext
ernal
ori
nter
nal
event
s.St
atechar
tdi
agr
am
descr
ibest
hef
lowof
cont
rol
fr
omonest
atet
oanot
her
stat
e.St
atesar
e
def
inedasacondi
ti
oni
nwhi
chanobj
ect
exi
stsandi
tchangeswhen
someev
ent
ist
ri
gger
ed.
Sot
hemost
impor
tant
pur
poseof
Stat
echar
t
di
agr
ami
stomodel
l
ifet
imeof
anobj
ect
fromcr
eat
iont
oter
minat
ion.
St
atechar
tdi
agr
amsar
eal
sousedf
orf
orwar
dandr
ever
seengi
neer
ing
of
asy
stem.
But
themai
npur
posei
stomodel
react
ivesy
stem.
Fol
l
owi
ngar
ethemai
npur
posesof
usi
ngSt
atechar
tdi
agr
ams:
1.
Tomodel
dynami
caspect
ofasy
stem.

2.
Tomodel
l
ifet
imeof
areact
ivesy
stem.

3.
Todescr
ibedi
ff
erent
stat
esof
anobj
ect
dur
ingi
tsl
i
fet
ime.
4.
Def
ineast
atemachi
net
omodel
stat
esof
anobj
ect
.

Cont
ent
s:Si
mpl
yst
ateandcomposi
test
atesTr
ansi
ti
ons,
i
ncl
udi
ngev
ent
sand
act
ionsCommonuse,
they
areuset
omodel
thedy
nami
caspect
sof
asy
stem.
Ev
ent
order
edbehav
ior
ofany
kindof
obj
ect
s,t
omodel
react
iveobj
ect
s.

Todesi
gnandi
mpl
ement
Usecasedi
agr
amf
orATMSy
stem.

THEORY:
AUsecaseDi
agr
ami
sadi
agr
amt
hat
showsaset
ofUsecasesandact
orsand
t
hei
rr
elat
ionshi
ps.
Thesedi
agr
amsar
eusedt
omodel
thest
ati
cusecasev
iewof
a
sy
st Tomodel
em. asy
stemt
hemost
impor
tant
aspect
ist
ocapt
uret
hedy
nami
c

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

behav
ior
.Tocl
ari
fyabi
ti
ndet
ail
s,
dynami
cbehav
ior
meanst
hebehav
ior
oft
he
sy
stemwheni
ti
srunni
ng/
oper
ati
ng.
Soonl
yst
ati
cbehav
ior
isnot
suf
fi
cient
to
model
asy
stemr
ather
dynami
cbehav
ior
ismor
eimpor
tant
thanst
ati
cbehav
ior
.
I
nUMLt
her
ear
efi
vedi
agr
amsav
ail
abl
etomodel
dynami
cnat
ureandusecase
di
agr
ami
soneof
them.
Nowaswehav
etodi
scusst
hat
theusecasedi
agr
am
i
sdy
nami
cinnat
uret
her
eshoul
dbesomei
nter
nal
orext
ernal
fact
orsf
or
maki
ngt
hei
nter
act
ion.
Thesei
nter
nal
andext
ernal
agent
sar
eknownasact
ors.
Sousecasedi
agr
amsar
econsi
stsof
act
ors,
usecasesandt
hei
rr
elat
ionshi
ps.
Thedi
agr
ami
susedt
omodel
thesy
stem/
subsy
stemof
anappl
i
cat
ion.
Asi
ngl
e
usecasedi
agr
amcapt
uresapar
ti
cul
arf
unct
ional
i
tyof
asy
stem.
Sot
omodel
t
heent
ir
esy
stemnumber
sof
usecasedi
agr
amsar
eused.

Pur Thepur
pose: poseof
usecasedi
agr
ami
stocapt
uret
hedy
nami
caspect
ofa
sy
stem.
But
thi
sdef
ini
ti
oni
stoogener
ict
odescr
ibet
hepur
pose.
Becauseot
her
f
our
diagr
ams(
act
ivi
ty,
sequence,
col
l
abor
ati
onandSt
atechar
t)ar
eal
sohav
ing
t
hesamepur
pose.
Sowewi
l
ll
ooki
ntosomespeci
fi
cpur
posewhi
chwi
l
l
di
sti
ngui
shi
tf
romot
her
four
diagr
ams.
Usecasedi
agr
amsar
eusedt
ogat
her
t
her
equi
rement
sof
asy
stemi
ncl
udi
ngi
nter
nal
andext
ernal
i
nfl
uences.
These
r
equi
rement
sar
emost
lydesi
gnr
equi
rement
s.Sowhenasy
stemi
sanal
yzedt
o
gat
her
it
sfunct
ional
i
tiesusecasesar
epr
epar
edandact
orsar
eident
if
ied.
Soi
n
br
ief
,t
hepur
posesof
usecasedi
agr
amscanbeasf
oll
ows:

Usedt
ogat
her
requi
rement
sof
sy
stemUsedt
oget
anout
sidev
iewof
asy
stem.

I
dent
if
yext
ernal
andi
nter
nal
fact
orsi
nfl
uenci
ngt
he
sy
stem.
Showt
hei
nter
act
ingamongt
her
equi
rement
sar
eact
ors.

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

ALGORI
THM/
FLOWCHART/
PSEUDOCODE:

I
nfer
ences:

I
1.dent
if
icat
ionof
usecases.
2.
Ident
if
icat
ionof
act
ors.

Sampl
einput
:Act
or:
St
udent

Usecase: Logi
n

Wi
thdr
awal
UseCase

Awi
thdr
awal
tr
ansact
ionaskst
hecust
omer
tochooseat
ypeof
account
towi
thdr
aw
f
rom(
e.g.
checki
ng)
fromamenuof
possi
bleaccount
s,andt
ochooseadol
l
aramount
f
romamenuof
possi
bleamount
s.Thesy
stemv
eri
fi
est
hat
it
hassuf
fi
cient
money
on
handt
osat
isf
yther
equest
bef
oresendi
ngt
het
ransact
iont
othebank.
(I
fnot
,t
he
cust
omer
isi
nfor
medandaskedt
oent
eradi
ff
erent
amount
.)
If
thet
ransact
ioni
s
appr
ovedby
thebank,
theappr
opr
iat
eamount
ofcashi
sdi
spensedby
themachi
ne
bef
orei
ti
ssuesar
ecei
pt.
Awi
thdr
awal
tr
ansact
ioncanbecancel
l
edby
thecust
omer
pr
essi
ngt
heCancel
key
any
timepr
ior
tochoosi
ngt
hedol
l
aramount
.Deposi
tUseCase

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

Adeposi
tt
ransact
ionaskst
hecust
omer
tochooseat
ypeof
account
todeposi
tt
o(e.
g.
checki
ng)
fromamenuof
possi
bleaccount
s,andt
oty
pei
nadol
l
aramount
ont
he
key
boar
d.Thet
ransact
ioni
sini
ti
all
ysent
tot
hebankt
over
if
ythat
theATMcanaccept
adeposi
tf
romt
hiscust
omer
tot
hisaccount
.I
ft
het
ransact
ioni
sappr
oved,
the
machi
neaccept
sanenv
elopef
romt
hecust
omer
cont
aini
ngcashand/
orchecksbef
ore
i
ti
ssuesar
ecei
pt.
Oncet
heenv
elopehasbeenr
ecei
ved,
asecondmessagei
ssent
to
t
hebank,
toconf
ir
mthat
thebankcancr
edi
tt
hecust
omer
‟account
–cont
ingent
on
manual
ver
if
icat
ionof
thedeposi
tenv
elopecont
ent
sby
anoper
ator
lat
er.
Adeposi
tt
ransact
ioncanbecancel
l
edby
thecust
omer
pressi
ngt
heCancel
key
any
t
imepr
ior
toi
nser
ti
ngt
heenv
elopecont
aini
ngt
hedeposi
t.
Thet
ransact
ioni
s
aut
omat
ical
l
ycancel
l
edi
ft
hecust
omer
fai
l
stoi
nser
ttheenv
elopecont
aini
ngt
he
deposi
twi
thi
nar
easonabl
eper
iodof
ti
meaf
ter
bei
ngaskedt
odoso.
Tr
ansf
erUseCase:
Atr
ansf
ert
ransact
ionaskst
hecust
omer
tochooseat
ypeof
account
to
t
ransf
erf
rom(
e.g.
checki
ng)
fromamenuof
possi
bleaccount
s,t
ochooseadi
ff
erent
account
to
t
ransf
ert
o,andt
oty
pei
nadol
l
aramount
ont
hekey
boar
d.Nof
urt
her
act
ioni
srequi
redoncet
he
t
ransact
ioni
sappr
ovedby
thebankbef
orepr
int
ingt
her
ecei
pt.
Atr
ansf
ert
ransact
ioncanbe
cancel
l
edby
thecust
omer
pressi
ngt
heCancel
key
any
timepr
ior
toent
eri
ngadol
l
aramount
.

I
nqui
ryUseCase:
Ani
nqui
ryt
ransact
ionaskst
hecust
omer
tochooseat
ypeof
account
t
oinqui
reabout
fromamenuof
possi
bleaccount
s.Nof
urt
her
act
ioni
srequi
redoncet
he
t
ransact
ioni
sappr
ovedby
thebankbef
orepr
int
ingt
her
ecei
pt.
Ani
nqui
ryt
ransact
ion
canbecancel
l
edby
thecust
omer
pressi
ngt
heCancel
key
any
timepr
ior
tochoosi
ngt
he
account
toi
nqui
reabout
.

Val
i
dat
eUser Thi
usecase: susecasei
sfor
val
i
dat
etheuser
i.
echeckt
hepi
n
number
,whent
hebankr
epor
tst
hat
thecust
omer
’st
ransact
ioni
sdi
sappr
oved
duet
oani
nval
i
dPI
N.Thecust
omer
isr
equi
redt
ore-
ent
ert
hePI
Nandt
he
or
igi
nal
request
issent
tot
hebankagai
n.I
ft
hebanknowappr
ovest
he
t
ransact
ion,
ordi
sappr
ovesi
tf
orsomeot
her
reason,
theor
igi
nal
usecasei
s
cont
inued;
other
wiset
hepr
ocessof
re-
ent
eri
ngt
hePI
Nisr
epeat
ed.
Oncet
he
PI
Nissuccessf
ull
yre-
ent
ered.

I
ft
hecust
omer
fai
l
sthr
eet
imest
oent
ert
hecor
rect
PIN,
thecar
disper
manent
ly
r
etai
ned,
ascr
eeni
sdi
spl
ayedi
nfor
mingt
hecust
omer
oft
hisandsuggest
inghe/
she
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

TYBTechCSE(
SE-
LabManual
) Page

cont
act
thebank,
andt
heent
ir
ecust
omer
sessi
oni
sabor
ted.

Pr
int
Bil
l Thi
usecase: susecasei
sfor
pri
nti
ngcor
respondi
ngbi
l
laf
ter
t
ransact
ions(
wit
hdr
awor
deposi
t,
orbal
anceenqui
ry,
tr
ansf
er)
arecompl
eted.

Updat
eAccount
:Thi
susecasei
sfor
updat
ingcor
respondi
nguser
account
saf
ter
t
ransact
ions(
wit
hdr
awor
deposi
tor
transf
er)
arecompl
eted.

3.
INTERACTI
ONDI Wehav
AGRAMS: etwot
ypesof
int
eract
iondi
agr
amsi
nUML.
Onei
ssequencedi
agr
amandt
heot
her
isacol
l
abor
ati
ondi
agr
am.
The
sequencedi
agr
amcapt
urest
het
imesequenceof
messagef
lowf
romone
obj
ect
toanot
her
andt
hecol
l
abor
ati
ondi
agr
amdescr
ibest
heor
gani
zat
ion
of
obj
ect
sinasy
stemt
aki
ngpar
ti
nthemessagef
low.
Sot
hef
oll
owi
ngt
hingsar
etoi
dent
if
iedcl
ear
lybef
oredr
awi
ngt
hei
nter
act
iondi
agr
am:

1.
Obj
ect
staki
ngpar
ti
nthe

Pur
pose:
1Tocapt
uredy
nami
cbehav
ior
of a
sy
stem.
2)Todescr
ibet
hemessage f
low
i
nter
act
ion.
i
nthesy
stem.
3)Todescr
ibe st
ruct
ural
2.
Messagef
lowsamongt
heobj
ect
s. or
gani
zat
ionoft
he

3.
Thesequencei
nwhichthe obj
ect
s.4)
Todescr
ibei
nter
act
ionamong
messagesarefl
owing. obj
ect
s.
4.
Object
organi
zati
on.

Cont
ent
sof
aSequenceDi
agr Obj
am: ect
s,Focusof
cont
rol
,
MessagesLi
fel
i
neCont
ent
s.

Cont
ent
sof
aCol
l
abor
ati
onDi
agr Obj
am, ect
sLi
nksMessages
Concl
usi
on:
Successf
ull
ycompl
eteddesi
gnof
funct
ionor
ient
eddi
agr
amDFDand
st
ruct
uredchar
t:
UseCasedi
agr
am.

EXPERI
MENTNO4:
ToDr
awt
hest
ruct
ural
vi
ewdi
agr
am
TYBTechCSE(
SE-
LabManual
) Page

Ai
m:Todr
awt
hest
ruct
ural
vi
ewdi
agr
am:
Classdi
agr
am,
obj
ect
diagr
am.
Tool
s:

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

Googl
eChr
ome/
Any
Browser
s

STARUML
Wi
ndow’
s/ubunt
u
Obj
ect
ive:
Tol
ear
nbasi
cConcept
ofSof
twar
eEngi
neer
ing.

Pr
ocedur
e:
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

Cl
assdi
agr
amf
orATMSy
stemTheor
y:Thecl
assdi
agr
am
i
sast
ati
cdi
agr
am.
It
repr
esent
sthest
ati
cvi
ewof
an
appl
i
cat
ion.
Classdi
agr
ami
snot
onl
yusedf
orv
isual
i
zing,
descr
ibi
nganddocument
ingdi
ff
erent
aspect
sof
asy
stem
but
alsof
orconst
ruct
ingexecut
abl
ecodeof
thesof
twar
e
appl
i
cat
ion.
Thecl
assdi
agr
amdescr
ibest
heat
tri
but
esand
oper
ati
onsof
acl
assandal
sot
heconst
rai
ntsi
mposedon
t
hesy
stem.
Thecl
assdi
agr
amshowsacol
l
ect
ionof
cl
asses,
i
nter
faces,
associ
ati
ons,
col
l
abor
ati
onsand
const
rai
nts.
It
isal
soknownasast
ruct
ural
diagr
am.

Pur Thepur
pose: poseof
thecl
assdi
agr
ami
stomodel
thest
ati
cvi
ewof
an
appl
i
cat
ion.
Thecl
assdi
agr
amsar
etheonl
ydi
agr
amswhi
chcanbedi
rect
ly
mappedwi
thobj
ect
ori
ent
edl
anguagesandt
huswi
del
yusedat
thet
imeof
const
ruct
ion.
TheUMLdi
agr
amsl
i
keact
ivi
tydi
agr
am,
sequencedi
agr
amcan
onl
ygi
vet
hesequencef
lowof
theappl
i
cat
ionbut
classdi
agr
ami
sabi
t
di
ff
erent
.Soi
ti
sthemost
popul
arUMLdi
agr
ami
nthecoder
communi
ty.
Sot
he
pur
poseof
thecl
assdi
agr
amcanbesummar
izedas:
anal
ysi
sanddesi
gnof
the
TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

st
ati
cvi
ewof
anappl
i
cat
ion
Descr
iber
esponsi
bil
i
tiesof
asy
stembasef
orcomponent
anddepl
oyment
di
agr
amf
orwar
dandr
ever
seengi
neer
ing.

Cont
ent
s:Cl
assdi
agr
amscommonl
ycont
aint
hef
oll
owi
ngt
hings

Cl
assesI
nter
facesCol
l
abor
ati
ons

Dependency
,gener
ali
zat
ionandassoci
ati
onr
elat
ionshi
ps

ALGORI
THM/
FLOWCHART/
PSEUDOCODE:

I
nfer
ences:

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

1.
understandt
heconceptofcl
asses
2.
Ident
ify
classesandat
tri
butesandoper
ati
onsf
oracl
ass

3.modelt
heclassdiagramf ort
he
syst
emsampl einput:Class:BookBook,
Appli
cati
ons:Onlinet
ransact i
onOnli
nebanking
Conclusi
on:Successfull
ycompl eteddesi
gnofst
ruct
ural
vi
ewdi
agr
am:
Classdi
agr
am,
obj
ect
Di
agr
am

EXPERI
MENTNO5:
ToDr
awt
hebehav
ior
alv
iewDi
agr
amv
iewdi
agr
am.

Ai
m:Todr
awt
hebehav
ior
alv
iewDi
agr
amv
iewdi
agr
am:
Sequencedi
agr
am,
col
l
abor
ati
on
di
agr
am.
Tool
s:

Googl
eChr
ome/
Any
Browser
s
STARUML
Wi
ndow’
s/ubunt
u

Obj
ect
ive:
Tol
ear
nbasi
cConcept
ofSof
twar
eEngi
neer
ing.

Pr
ocedur
e:

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

ASequencedi
agr
ami
sani
nter
act
iondi
agr
amt
hat
emphasi
zest
het
imeor
der
ingof
messages.
Thi
sdi
agr
ami
susedt
oshowt
hedy
nami
cvi
ewof
asy
stem.

Sequencedi
agr
am:

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

Col
l
abor
ati
ondi
agr
am:

Concl
usi
on:
Successf
ull
ycompl
eteddesi
gnof
behav
ior
alv
iewDi
agr
amv
iewdi
agr
am
Sequencedi
agr
am,
col
l
abor
ati
ondi
agr
am.
:

EXPERI
MENTNO6:
ToDr
awt
heBehav
ior
alv
iewdi
agr
am

Ai
m:ToDr
awt
heBehav
ior
alv
iewdi
agr
am:
Stat
e-char
tDi
agr
am,
Act
ivi
tydi
agr
am

Tool
s:
Googl
eChr
ome/
Any
Browser
s

STARUML
Wi
ndow’
s/ubunt
u
TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

Obj
ect
ive:
Tol
ear
nbasi
cConcept
ofSof
twar
eEngi
neer
ing.

Pr
ocedur
e:

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

St
ate-
char
tDi
agr
am:

TYBTechCSE(
SE-
LabManual
) Page
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

Act
ivi
tydi
agr
am:
Act
ivi
tydi
agr
ami
sbasi
cal
l
yaf
lowchar
ttor
epr
esent
thef
lowf
ormone
act
ivi
tyt
oanot
her
.Theact
ivi
tycanbedescr
ibedasanoper
ati
onof
thesy
stem.
Sot
he
cont
rol
fl
owi
sdr
awnf
romoneoper
ati
ont
oanot
her
.Thi
sfl
owcanbesequent
ial
,
br
anchedor
concur
rent
.Act
ivi
tydi
agr
amsdeal
swi
thal
l
typeof
fl
owby
usi
ngel
ement
s
l
i
kef
ork,
j
oinet
c.

Cont
ent
s:I
nit
ial
/Fi
nal
Stat
e,Act
ivi
ty,
For
k&Joi
n,
Branch,
Swi
mlanes.

For
k:Af
orkr
epr
esent
sthespl
i
tti
ngof
asi
ngl
efl
owof
cont
rol
i
ntot
woor
mor
e
concur
rent
Flowof
cont
rol
.Af
orkmay
hav
eonei
ncomi
ngt
ransi
ti
onandt
woor
mor
eout
goi
ngt
ransi
ti
ons,
eachof
whi
chr
epr
esent
sani
ndependent
fl
owof
cont
rol
.Bel
owf
orkt
heact
ivi
ti
esassoci
atedwi
theachof
thesepat
hcont
inuesi
npar
all
el.

Joi
n:Aj
oinr
epr
esent
sthesy
nchr
oni
zat
ionof
twoor
mor
econcur
rent
fl
owsof
cont
rol
.Aj
oinmay
hav
etwoor
mor
eincomi
ngt
ransi
ti
onandoneout
goi
ng
t
ransi
ti
on.
Abov
ethej
oint
heact
ivi
ti
esassoci
atedwi
theachof
thesepat
hs
cont
inuesi
npar
all
el.

Br
anchi Abr
ng: anchspeci
fi
esal
ter
nat
epat
hst
akesbasedonsomeBool
ean
expr
essi
onBr
anchi
srepr
esent
edby
diamondBr
anchmay
hav
eonei
ncomi
ng
t
ransi
ti
onandt
woor
mor
eout
goi
ngoneoneachout
goi
ngt
ransi
ti
on,
youpl
ace
aBool
eanexpr
essi
onshoul
dn‟
tov
erl
apbut
they
shoul
dcov
eral
l
possi
bil
i
ties.

Swi
ml Swi
ane: mlanesar
eusef
ulwhenwemodel
wor
kfl
owsof
busi
ness
pr
ocessest
opar
ti
ti
ont
heact
ivi
tyst
atesonanact
ivi
tydi
agr
ami
ntogr
oups.
Eachgr
oupr
epr
esent
ingt
hebusi
nessor
gani
zat
ionr
esponsi
blef
ort
hose
act
ivi
ti
es,
thesegr
oupsar
ecal
l
edSwi
mlanes.

Act
ivi
tydi
agr
am:
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

EXPERI
MENTNO7:
Todr
awt
hei
mpl
ement
ati
onv
iewdi
agr
am.
Ai
m:Todr
awt
hei
mpl
ement
ati
onv
iewdi
agr
am:
Component
diagr
am

Tool
s:
Googl
eChr
ome/
Any
Browser
s

STARUML
Window’s/ubunt
u
Obj
ect
ive:
Tol
earnbasi
cConcept
ofSof
twar
eEngi
neer
ing.

Pr
ocedur
e:

COEA.
TY(
CSE)
. SEPage36
SUB:
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

COEA.
TY(
CSE)
. SEPage37
SUB:
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

Component
diagr
ams:
areusedt
omodel
phy
sical
aspect
sof
asy
stem.
Nowt
he
quest
ioni
swhat
aret
hesephy
sical
aspect
s?Phy
sical
aspect
sar
etheel
ement
s
l
i
keexecut
abl
es,
l
ibr
ari
es,
fi
les,
document
set
cwhi
chr
esi
desi
nanode.
So
component
diagr
amsar
eusedt
ovi
sual
i
zet
he
or
gani
zat
ionandr
elat
ionshi
psamongcomponent
sinasy
stem.
Thesedi
agr
ams
ar
eal
sousedt
omakeexecut
abl
esy
stems.
Pur Component
pose: diagr
amscanbedescr
ibedasast
ati
cimpl
ement
ati
on
v
iewof
asy
stem.
Stat
ici
mpl
ement
ati
onr
epr
esent
stheor
gani
zat
ionof
the
component
sat
apar
ti
cul
armoment
.

Bef
oredr
awi
ngacomponent
diagr
amt
hef
oll
owi
ngar
ti
fact
sar
etobei
dent
if
iedcl
ear
ly:

Fi
l
esusedi
nthesy
stem.
Libr
ari
esandot
her
art
if
act
srel
evant
tot
heappl
i
cat
ion.
Rel
ati
onshi
psamongt
hear
ti
fact
s.Nowaf
ter
ident
if
yingt
hear
ti
fact
sthe
f
oll
owi
ngpoi
ntsneedst
obef
oll
owed:
Useameani
ngf
ulnamet
oident
if
ythe
component
for
whi
cht
hedi
agr
ami
stobedr
awn.
Prepar
eament
all
ayout
bef
orepr
oduci
ngusi
ngt
ool
s.
Usenot
esf
orcl
ari
fyi
ngi
mpor
tant
poi
nts.
Nowt
heusageofcomponentdi
agr
amscanbedescri
bedas:
1.
Modelthecomponentsof
asyst
em.
2.Modeldatabaseschema.
3.Model
execut
abl
esof
anappl
i
cat
ion.
4.Model
syst
em’
ssour
cecode.

Component
Diagr
am:
Cont
ent
s:Component
s,I
nter
faces,
Rel
ati
onshi
ps

COEA.
TY(
CSE)
. SEPage38
SUB:
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

Concl
usi
on:
Successf
ull
ycompl
eteddesi
gni
mpl
ement
ati
onv
iewdi
agr
am:
Component
Di
agr
am

EXPERI
MENTNO8:
Todr
awt
heenv
ironment
alv
iewdi
agr
am.
Ai
m:Todr
awt
heenv
ironment
alv
iewdi
agr
am:
depl
oyment
diagr
am

Tool
s:
Googl
eChr
ome/
Any
Browser
s

STARUML
Window’s/ubunt
u
Obj
ect
ive:
Tol
earnbasi
cConcept
ofSof
twar
eEngi
neer
ing.

Pr
ocedur
e:

COEA.
TY(
CSE)
. SEPage39
SUB:
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

COEA.
TY(
CSE)
. SEPage40
SUB:
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

COEA.
TY(
CSE)
. SEPage41
SUB:
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

COEA.
TY(
CSE)
. SEPage42
SUB:
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

Depl
oyment
diagr
amsar
eusedt
ovi
sual
i
zet
het
opol
ogy
oft
hephy
sical
component
sof
asy
stemwher
ethesof
twar
ecomponent
sar
edepl
oyed.
So
depl
oyment
diagr
amsar
eusedt
odescr
ibet
hest
ati
cdepl
oyment
viewof
a
sy
stem.
Depl
oyment
diagr
amsconsi
stof
nodesandt
hei
rr
elat
ionshi
ps.

ThenameDepl
oyment
it
sel
fdescr
ibest
hepur
poseof
thedi
agr
am.
Depl
oyment
di
agr
amsar
eusedf
ordescr
ibi
ngt
hehar
dwar
ecomponent
swher
esof
twar
e
component
sar
edepl
oyed.
Component
diagr
amsanddepl
oyment
diagr
amsar
e
cl
osel
yrel
ated.
Component
diagr
amsar
eusedt
odescr
ibet
hecomponent
sand
depl
oyment
diagr
amsshowshowt
hey
aredepl
oyedi
nhar
dwar
e.

Depl
oyment
diagr
am:
Cont
ent
s:Nodes,
Dependency
&Associ
ati
onr
elat
ionshi
ps

COEA.
TY(
CSE)
. SEPage43
SUB:
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

Concl
usi
on:
Successf
ull
ycompl
eteddesi
gnof
env
ironment
alv
iewdi
agr
am
Depl
oyment
diagr
am

COEA.
TY(
CSE)
. SEPage44
SUB:
BTCOL506:
Sof
twar
eEngi
neer
ingLabor
ator
y

EXPERI
MENTNO9:
Toper
for
mvar
ioust
est
ingusi
ngt
het
est
ingt
ool
uni
tt
est
ing,
int
egrati
ont
est
in
.g

Ai
m:Toper
for
mvar
ioust
est
ingusi
ngt
het
est
ingt
ool
uni
tt
est
ing,
i
ntegr
ati
ont
est
ing.

Tool
s:
Googl
eChr
ome/
Any
Browser
s

STARUML
Window’s/ubunt
u
Obj
ect
ive:
Tol
earnbasi
cConcept
ofSof
twar
eEngi
neer
ing.

Pr
ocedur
e:

*
Not
e:y
etnot
addedst
epsf
oruni
tt
est
ingandi
ntegr
ati
ont
est
ing

Concl
usi
on:
Successf
ull
ycompl
eteddesi
gnof
funct
ionor
ient
eddi
agr
am

COEA.
TY(
CSE)
. SEPage45
SUB:

You might also like