0% found this document useful (0 votes)
5 views23 pages

Cat Ooad

The document outlines various software development methodologies and design patterns, emphasizing agile practices and iterative development. It includes use case modeling, state machine diagrams, and collaboration diagrams to illustrate system interactions and behaviors. Additionally, it discusses principles such as cohesion, coupling, and polymorphism in the context of object-oriented design.
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)
5 views23 pages

Cat Ooad

The document outlines various software development methodologies and design patterns, emphasizing agile practices and iterative development. It includes use case modeling, state machine diagrams, and collaboration diagrams to illustrate system interactions and behaviors. Additionally, it discusses principles such as cohesion, coupling, and polymorphism in the context of object-oriented design.
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/ 23

CAT- I

21)
(0) UNIFLED PROE SS :
ancieeue anti, iteratiu, ee Case

doiuen and oumental deuelepmnt pnwns for slw


devslognent proao.
appooch Jo buitding, daploying ana
mainbinig slo.

(i) Teatie p
UP.

(1 )EIELA1DUE UP:
Gyanised into a Shart meiee, ed,
iteratioe.
argth, ooje te, Callec

need nany ilenatioms do prclucion.


’ the yo
This prouss Calleel duelapment.
Benys

Gi)Better roduhv
dey

kestig
Time.
Sterahene ane

Ttenaton Thme being


aore dima basel (ov) xed lengh.
bl wu ulommnded.

’ah iteraiom has its dauslopment plar


seek, He Bfeient uoe ib
’4 iteation byce do
not nanngfu.
Gi) AGE UP:
caqile daualopmat mathods sually apply
Ltenatine &euouherany daulopmnt.
-7 pratit eb hat enlouage agliy, rapd and lenlele

change. Communicah on.


paeb Hhat

Azlo's uDre:
’ wstom lolabarhon ugotahiom
>uepondng folleuing pun.
>upling slu Gmy hohensi douentahen.
Ponelples
to slatisty he Cws tomet
wigihent prioity
Sthrouh eandy and Continbus delleny

dlogen wst uete Jogtha


>business plaple
daity Haouglput ha yrojet.
Suo talnae daelepment.
>lontieus attentton to technial olellene 6good
dexigo.

2)
(6) usE CASE HODELEN :
n blu coueloement to desile Hha
-tech used
Hhe
un chonal Peguisemanks idanttyg
ntera chen bluu

e done.
ulthout tolusi on howy i t wll
e.
Shopig ysem uhe, ipko t, tmagdn
)Ators:
1. Cstor: A peosor ho nts to purchase item.
2. Aemin: Asys. aumnihten uho menage
roduet en atlouto. CHEVVr
Catalog and sn
ß)SConoio:
proct from he
A wstomn ants Jo unhase o
bnlie platon . Vhe wsomer Beanehet for u produet,
lamplete
adds t to Cant, nd proeds o chacle out Jo
He prhase

1. Prmany Aor:
Acor: letom
2. Groal suntul pusthase

Vieu kems
Hake purhas

(held ems to
wstom.
Cast cdmin

heccout
Delete teme
dn lat

Eit ilem
n Cart

Debolphon:
tPre-condiion:
The Cushom must ha acount and be gged in.
The produet ust le avulale in stock.

lstomo Vieu Hhe product


ho oducte nallyed aslde it o ast
- eelet
- ustomen poteede lofo chekout
Cnd alde
- he (allulatee hu Jotad pe
dislount i awailalle.
- hocusbpaymnt and Conflm acabrsse
tha
- order laed anl Consmahion Dauve.
k ALnate louw:

(a )ltss DIAoAM:

sinilan ttibutee, opeatons, melahonships ; bhaauior.

cstibes tyye of elyets


Banc
Ncme
code

add Banche )

get Brueke )
Yemove Branches

bpanh
braneh lode

add Acte)
Jemave a e )
nge At went_At

Min balante Enteret Hale

bote o openg
add uslonnert )
adel Cuyomnt)
Hemove u s l e r
Aenee lstomy

ust id
Name

Aldrese

22)
() oonATN HO DEL:
lonbphal model that ouprusento Hhe ual moldl

lant to
entitis, Hhin atteibutee, nelahienahips, bkhawos gluort

-uP dafins a Domain modl ha

ray lu be ute d n buseness Hodeling displine.


tyocts Hhat

n clomaln.
olyjecte
prop (or) charaLteish ah
2.Attrbute : Defe the

shou hos cnhhee


3. Relahenhip lAstuahone) :
ulatecl do each alleEKIWe cOrEOS oHENe000
aeher
0souated
uuth
ulerurls
Predute-
em
ine Order
Pales wtomn
(onsle thagrami
gocda. tuipt wth leaus lutomun 4.
nd
haaoy Poymsot
snsrdesy
ind pagment hu
and bale
prdts. the
Jins 2ala uoncls ylem 4.
ahsut tells and en
er. Wen
ats latin 2.
puhase to lor and Gcode
I.wtomen
uth
heekaut Pos louw Basne
AM
(Wos): Sal, lont
paticnt abaut y
bed
Coate usult nehetn
nunse)
wale foChel
r
huseC
dc) See
sioadmins
n
--- Petient
Caphar depatnent
re Patient
bed d
SYSTEM
AwAOEMENT PITAL
H PoS (a)
21)
CAT
ii) slate Hachine Diagrani Cantelled
Consulahon,

onsulaho)
aneld
St Taqihate dd chel tot
avadabltDr.availalalhy
Checkee Cons ulaion

Lonyed. etended

biagnio
Lnvoie.

Provided
kualhing or invoice.

noice isued
awoie Pagment
(Lauoite paud

stop.

Ci) Colabaahion Diagram:


I· falkee oppontmunt JE: Kleptioni's
Pp.T.tneas
himpatient
lhenmaMy
etontn appintnt
8.4-tymnt ble
d r e

la for

p avau
p p t

Dr

3 .
Tales

2 .

DoUoy cbassit Docor


21)
SER UAIEON:
(b) ApLNE Tc KEI PE
Ci') Beg. oliagram:
Cusome
Psorvahon
wstomun Flght batabae
Seanc Piyht
en ght
Pught.
login
nter deuls.

Seelet Sects Volidate deskasls

nates
make py mart ubeahen.

neheno onfbmata

G) State Haclne Diaypam: donict! fant


ntny

booking
VIu/ bbole heleet
Dhoose plales Sop
Cnoose Seaks
Choose hme
Ci) Colabhaion diaggheu
ram : Sect, Hme, agh

<b,polut thet

e s ed
r atabue

chel
3 . ved
e ata

Dalabase

22)
(a)
() Bridye pattn
Lrhnt: becsuple alsbashor foem the implemerthon.
implementahr o Vasy
*ppase i lou aluyhah'ore ad

ndeperdantly
*plesilby: high Herlilihy an d
bl alteaiern
Jallishes a bndge
implmntatiorn o allou ndpendent vaiaion.
*E: umote Conhod oporates diyt doiles.

Adapter ptern:
nto nstho
*Entent: Conuent inlanyaca
cliento rpet.
*papuse : mae nompible inlenjateb lompuhole.
lh a he
sulaion: Pisling dala
makh he clients byected htenyale.
antenfae Jo
adapler hat allous plug q one
ey: Pbun pleug
to ft nto ca aoket nothwn ype

22)
(a)
ii) 5DNIE rDN ÞATTEK:
of he Guaional dunlgn ptte
nstanee nal

point to it.
vids global
Goeate singeton inglane nd
Hi beme instne

nstane.

Paineples:
Amplemntation:
funglorn
Cienl ins tane i Simglutor
SinglaonC)
t inslanel): Singler
adu:
instane.
Suppant louen mamomy by wng slngle
dus-adv:
k Sul- clasiig Singlelorn Can be hmiey
glabal dependny.
22)
b)
OBSERvER PATERN:
used uhen
behaworal design paten
olycet ece Jo mang mulliple olyecte.
- t pattins poenotes a ane Jo meny chpendany
blu sulijeet and to olseuers.
loose loupling

hthen nonteng

luy Comganune [ notitis them


.S ubjet: mainalne a bst of olserens

: he uheathe Daha oljeet.

2. 0b sunwnb: Subile Jo hu subjet o tuetot pdales.


: ubul apf,
duskkopape
And
3. lonteleSubjeet : amplements he subjut dne
maintine Hhe stale.
' uhtu data.

4. Conele obseues :iplemuat Hha olseer ntuae


and dafine hau Jo updale.
:casea or mobiop dashepapp.

biagram
fobsen
Suljet uodate c
aHach Cobseen)

tuhee data |mbbile App


upolate ()
alteeh Cobse)
daabah l obsenen)

sets tate ()

Desletop APr
Publc Daehboand
updateey

- unempetad updates
2. Reabllhy -Dapendanty: obsanwns uly
3. Keub aluliy netty hem.
CAT-1
2)
(a)
GeASP:
- bunenal aporilliy Asyamunt Sluu ptnas.
ectve and mintll
dusign ehve
Slu syune.
GeAsP PENLTPLS:
G) Guator :
- Assign the Menp. to eate a oljet to a
cdase ane hen E heu Geate han

-ta : class- cwtom - order- olyete.

Gi) aafpligjomation bnfet:


Assig Hhe claso hat haa he ao.

y:0nder
Cii) Lou euplng:
- Aim dor asses Jo hae mini. deyendneies
rantane eesies.

- Aq: Aoid hauing one clase dapendent mang


athn classeb nstead alistrat.

hat the eyonsclilihes ululhin a

claso clasd nlted and lowsing.


V) lonoller:
- Assign Jhe nusp. handling bystem uento
00ainating actiities (anholle clse, promobnt
and anoil clatared dasseb.
clesse.
bnhaliged Conhal
(vi) Pue fabncahion:
- nhocucs e classs Jo fellll p

uitout Vedalny Cohesion and caupling poinuples


Cvi) ndnechen:
intanmiclatas Jo promote le nliliy
desiga.
inlerfaeb to
Coi) poymoyphism: wblige ihuane and

erale ulliple snplemntahons


Geator
bylmorp liam
GeASP
-Jiancon
Pineipleo Pune fabytahen
Conbo ler
Hgh coksion.

Implementhon moclil Lappng Deslgn ho locde )s


the desn molel
IM inioub Conuetirg
Hhat Hhe
wnto elutlle clie lode. This pross
stuchune

anb lato ina hu pning bng lanle.

Syo Jor Hepplny lesngn to lode


e,
2. 4tnbute-Aelde or Vaualib
oYahons -Funion / Hethoole
3. Hehode and
H. Au'aione g elatiens hpb - oliet oufenna
in wde
inheniJanee - inheiance
S: oenn alngahion
b. wse lase lonholler Case.

2)
c) DESTGN PATTERNs:
standasd toluHent

elurming probleme daiga.


These patene make s lu dleulopment more
Yint end mantelele
yps:

Gi) Shuchsl
Gii) behauiorl.

C) uahonal!
buated and
Tt tells hou dyjiuto e

andawet.
1yreo: nenee
# cingden : Ensuuo
a cla has onl ne

alestb.
Ond Preuides

+facany : baeates oijeto haut spfying the


mat clase.
* Abshact: reidee inlenface jo ortate
dependat Vasulleo.
families alaled
* Lulder: Constao comploa olyte slep-by -step.
Cii) stutanal rattenne
olyute an d lasse
how olyete
langen Auetnee.
oganisd ile
olyjeete alshacton fom
k Bnidge: bepratr
smplemantah'or
class dnto
* Adapter: anwks
chento bepeet.
anothe alyet.

DecOrate: Adde usponsllileey o olyjuts dynamially.


+
is Bhovaial pP:
hou oyeete lntaact
This gattbrn focus
anel Commniate.
hat hen
koleseen: dependenay
oleet changee, ahere ale notited.
lomnahd : Entapslatas uguest

olyeet.
* tenator: peudes a

cllechon
spenahane o sisilng
udnosßuweaee
SNOnNSNI

femily algorihms and


mallee Aem inleor hanqeale.

Benuito De:
)

2.Raintabilly
3. Salaleilihy
4. Cemnnicahen.

22)
o) TETNO STEATETES:
STEA TE
Tyes
GJnit Teshing

Cii) Syste u

iv) hie boe u


() laee boe

(v) Validaion u
Cui ) Aleplanle

lndiudual pte of he
tasting
e clss ehcla.
byten ns e
Each claso lenehor ib tyteel to t

"wo 009 -IVNNIH• '390) ONIAIENIINI WIA IVS.s


udnoußaeaee
SNOLNIISNT

-E: In Calulato1 Chse e tn tost melhode lke asldey


and Sub baelt).

i:
Joghen.
Cornm. blu di! module or cesses is
Smoolh.

Gi):
t
ppliahor

sepeeted.
Hhe

a onlne shagping abste.

- wer Loolee at inlennal woreng


the cde.
nyuis knouleoge ef th cde sbcne and tsts
- t
and loie.
Cond. ln loop to ensra

hulutes

Lithot

he Cocde.
lwoing at

vo 009 -IVNN•HO'90) NIAEENISNI Wø IVS,s


udnosbueie
SNOTLNIASNT

lvis:
- VT checke y he Bye Bolue Jhe acbual pob

neede.

eal-ye
ten inolucs testiny

Cvit) Acleplne Tastng:


e done by he ustomet
- t
Slw meete peetahens,

ive Jhe
Done tn a cht env'nment,
* Hpha Thing: oleuloper's site.
iue
* Bela lesting: Doru by Lnurenent.

22)

toe e that t behaeb ape cted.


lnlapsulahion, nheiane,
polymmo'hbn, alhach'on
- The Corretiusness

vO 009 -IVNNJHO J91T10) NINEINNWd ISs


kay Aore cto oo Ttly:
Enhu
tasting : Enns Hat indiudual classeo
# class
behane interdd, lesting Hein ethoda.

Tes,te inlera cbon blu olyeeko and

Complele ystem
end lo end banauo.
funchiorabt
Teent Cae frample ATM Focample
Case io a
- Test

test a parhuan feabwe or tneionalty


stepe
bytm.

Fe test lase.
t. Test Case ID: A unie adenitier for
2

tusted. mt lufore
Jhat st le
cediher
3. Pre londitinb:

lesting stanlo. Cose.


stepb to yelute t tet
H. Test eteps:
caud Buteet.
S. Fnpecte ol fesult:
ult: oeed ding sting
b. Aual

Enample: ATM Systm Test ase


[ t cae -|: Valid hdr au lal Amont.

dus aipon ; Venity ithdrael cuher


Prelondehene?
). ATM oprahonal
2. Wset hae a Valid daiit Can.

has tuffiiet badanca in Hhein ucount.


3. Wse
Test stepo:

2. lomet pir
3. seleet idawal.
a Uald dloc.

Ho baneacthn.
S. Consn

Cath.
1. ATN c'spensee
act balance.
2. Shous
iHdsauod Erceedlg Alont balame.
lest Caee 2:
let Ca,e Io

dus uphi
PreCondhBne
Test stepe

Tet Case 3: Lwalicl


le9t Cae Lb
cleo boipfion

Pre - Conole ens


Test stepno
fapeted seult.

You might also like