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

question fil(9 points)

a.) Given is th e following statement:"There is no need for architecture-it is alljust design". Do you agree (Yes/No)and briefly elaborate
on this statement. {3 points)

Po, f "/or'4 ag''te ber,t ne stth A',.L r', t,,, lnd,t'


" )'l:
eoA L,tP ,'"|
J fL,":,
ple
^r.) ra I / I

ho:E al l,+ Va',^ a!Chjr..t ! h".l

m
er as
+;r gla,"6{ &Ay,<s, L:Lc
"-l",le ,l yau ol." o.l.s,gu. yu .L,l\ ei.,.t,t

co
fv,-r gu* erill Aec:1n *.) J"<ir.ofe ", rao6 <tY i^ -'d.,* r,l: " t,, ",1\ pa'"I lL

eH w
o.
b.)Given is the following statement: "One ofthe key elements of agile development is to document software architecture and design."
rs e -
Do you asree (Yes/No) and j u stify briefly your decision. (3 points)
ou urc
tr]) *', ' lL a1':s 'i+[ StlnrA Vca,\Sx in adle +[a

ure des 96,^e *J*ols +;"t1 L,,ly uq..,/a +r" cl"i::),' ^'l
o

+L"
aC s

., o^d t\.,s *.{!.0J r uu-^l< 4: 1';;l'" l.'* s lo' t\^vei^ 5


v i y re

,J^
'^ goo A s"r'g o) I' rt^i{ccl ra'e 4^e t j {hi5 r'""!!.a/r
' ^'^d
'i^\r,lve c{o cu"^esr\ a\"-in }' d'{r -'t\ -h"t +L'' e*J uUe'r
ed d
ar stu

evrc\ ;ar{-,"
)
sh is
Th

c.)what is the difference between a muLti-tier and a layered architecture (3 points).

{v- 6a\,^ J,lIo"c^t. ,5 5la1t''uJ onrt^'i''i"


c.A^ W usrat *dfu,^ tl^ e '
5a^n t55\'- L;1" ('P"""li'1 syrl

*ull-\ir" nl ""< C^'" be J r" "-.4)


vrge
;;lz ^v
cL '"('

ef.l,e-s ^-) "yy!l:t!':.


\-
4o,, \ ,c, a",< r
,ll",tr1".\ tl' lY\ L". f c.Lc. r
2of10
https://www.coursehero.com/file/14815122/mid2sw-meth/
Question fi2 (16 pts)

Given is an elevator sYstem for an office building. The office blrilding has several elevators that move between floors in the building
There is one system computer, which controls the elevator system. The computer controts the openin&/closing of doors, moving th€
elevator from one floor to another one. Furthermore, ihe system computer reads various sensors to make sure that the elevator i:
working correctly. Users can open, close the elevator door and select the floor destlnation of the elevator. lanitorial staff can perforn
the same operations as the users and addition can also stop the elevatorwlth a key.
A technician is on duty and has the same privileges as thejanitorialstaff while using/maintaining an elevatorul?ddition he has atso
ability to have remote access to each elevator, lhrough the system computet Duflng remote access, he can iiiorm afftfre operations
(oper, close door, etc) ar belore and r aodfidr5ahe t5tem sl!.!us ", whrch checksrhestatus ofa etevalors in rl'g:f:!fl ,
Given is the followingsuccess scenario for the technician "check_system_status".

Technician is in his office.


System computer is working properly.
There are 3 elevators in the building.

m
er as
Main (success) scenario

co
1. Technician enters useGi.l

eH w
2. Technician enters password.
3.

o.
Technician selects one elevator .t the time tosee its current status.
4-
5.
rs e
A reportforeach elevator is credted loggingtbe sta-tus oJ tht elevator.
printerl
ou urc
After checkrng all 3 colE]uref(a sJmmary repo( ie printed on the taser
o. rechnrcran togs out ot the svstem.
o

All elevators are working properv.


aC s

Technician is logged out ofthe system.


v i y re

Based onthe above problem description, please provide the following:


a. A domain model (5 pts).
l'ooc{
ed d
ar stu

:ff,,e
r- L---',-
EuJ )t,.a
J ,\ tt 21 ___ *
sh is
Th

[-y.16,"1 orli
I ,I r-1
.
I #,l

rl
\"
I Ip'"S.* I

1-1,".6-lq1 ,'?;--
c\.c ,.it
.-'...-.*.'*-"-..''.''
,l-t /<i

'l'- ]
I

3 of 10
https://www.coursehero.com/file/14815122/mid2sw-meth/
b. A use case diagram. (4 ptt

i/
()
Zt;;;+,' 7ek^
{-
0se
gYAc'- ct*l'),t"-

o
.A <:;a7*s
;6^i]'nil
s-loff )

1t
l\
1"i,"rc i
( cc'

m
er as
co
eH w
c. Creale a system sequ en ce diagram for the provid ed technician scenario '?h eck-system,stotus" 13 plsJ

o.
rs e r6m
ou urc
\_=
6"r..tD tr
o
aC s

.'(L
v i y re

selecl rlt',{"&(-1
')e'"'r'" s ""t"'+o
ed d
ar stu

d. Which Architectura I Style would you suggestforthe elevator system? Pleasejustify brieflv vo! r solution (a pts)
sh is

i! e be*i G r yoce'sf covt\{oL be rause *1.,a '-r


Th

aiz ;,:.r lL^+, t',< wel.k


vrt^r')) \t );' '.

aEeia\ +L4"< ( ,.x' *.,"." ',1 a Cl-o.r ,eA


^1
*\,c i *."'o!n J' 4a br ,t, 'lt t: i'J i:. ilr
pto Ce,fi Cq o L
",\{

4of10
https://www.coursehero.com/file/14815122/mid2sw-meth/
Question #3 (12 points)

types of Web browsers, devices and operating systems to view the content- While the size ofthe application is modest by in
standards, it has to support potentially hundreds of concurrent, distributed useri

a.) For the overall architecture in above problem would pipes and filters be a good choice? Yes/No and justify br'eflyyour decision (3
points)

?iW - 6., r - fi,\.\.s is !,\dt ^ 1r"J CLric" lccage {j }L. i"tlc. q"{i
I {l{t' d"''\ nr '/
".j tlz +//c,". 1,,7r "t .,.J t^.{" r1 o .^. r {
v!a{.^v-g
tl- id.. !,11 d yn(. t.

m
er as
i\ +{^i s tyt+ 3-,

co
eH w
o.
itectural style would you sugg€st and why UustifyYour decision briefly).3 points
b.)What arch
rs e +l-.
* 3-4'* ^""[ lrr'l '*r'' .t Q
ou urc
!..,"'^\J 4"g1" '

c{\ o+ a^2"..* ,j l^" ':! a4 s ^^J il ; I o ^r|iUail \,',:;Jt 5


o

, | l^^l /..f at{ \ ,


' .l+,'
aC s

'.+

'.r. .. "
v i y re

4voiJ
\...'|1./
"i
ed d
ar stu

c.)tn orderto provide improved sysrem securlty forthe above problem, yo! ar€ asked to propose a new/rnodifythe archite€ture forthe
above problem. what architectural style woLrld you suggest? lustify brieflv yo{rr decision (3 points)
6<cvri*5 beok5<
-i
ur€ b\Ack \oorrl a"l" ilec{-'.4't d 'qt t3o9"
sh is

"",.^U. orur^rl 1l-


-{1"€. 4cc.l.r!3 i5 t"^i(o{ ata**al tne l\aca *-|'.tic {,'
Th

's
btock v"co\ i+ *+.
il
o[
\lt - Ft a,,
r

'l-.r-i-
d.)Woutd a btish/subscriber arch ite€tu re be a good choicefor problem (c.)- Yes/No lustify brieflyyour de€ision (3 points)?
pu ?

'y'1.t,
Vecausz *l^o* o* a-.
- o.v^ou^C..l *^/
c.!"?o'",'€ tl^o "nne
rntres{e4
",.,,tr\
\"e3, , i'{ &,rh ,-"k< ,{
EA\\L{ +. [."lte yo ce 95 eS

https://www.coursehero.com/file/14815122/mid2sw-meth/
5of10
Questlon *4 (12 pointsl
Given is the following description of a restaurant, which should be a simulated by a new standalone computer program,ln the system,
customers decidewhatfood they like to eat, orderthe food, eat, drinlg askfortheir bills and pay their bills. The waiters in the restaurant
take the orders, fdrward it to the chefand servethe initialmeal. They ako bringthe bills and clean thetable. The Cook preparesthe
order by co6kingthe mealand gettingdeserts ready.
a.)Create a usecase diagram forthe above problem {2 points)

5i""u la{c

f
k' (-oo tr
?
I &r

m
r).

er as
g",r1 v;\15 ,

co
a6i\&
+*?J"
eH w
;F-. r

o.
rs e
ou urc
erv€
b.)Create a domain model(4 pointsj
1^x
o
aC s
v i y re
ed d

\ l.J.-.ih I
ar stu
sh is

u'-c) ,o*j
i
Th

.,.,, a,le
;*i;.4
-i

cbak.

6 of10

https://www.coursehero.com/file/14815122/mid2sw-meth/
c.) what architectu ral stYle would be most applicablefor implementingthe above syste m? I ustify briefty your choice. (4 points)

! 54Xes{ f',eJ'-\v;c ^.chikd1"J 5\(. Vcause


ll'ae are o,[oL ! e"e,.tg i+ i5 eagy a+
^)
)t'r ju* ay.lnsuui (? i+ o"J o".z fnk.esk
a^ * l.'q^ t o .eg, sle, 6-u' 1-{ ,
v,,ak
" -,1,.

/)t
Lor*'

m
er as
co
d.)ldentify and describe some ofthe generalchallenges associated with the a rchitectu

eH w
ra I style used ih your answer in c.)? (2 points)

o.
rs e
d'u
*5 Ve
c4a16.g..1
ou urc
"J
01e 9rrg 1o
.hescnle +Le ere.*-
) o- ol v"t d."4 k,.,.
o

lPa.lciba r?
aC s

@,9 {. fake t*;slt a Ptocg,


v i y re

y,v.3 4a
ed d
ar stu
sh is
Th

7ofL0

https://www.coursehero.com/file/14815122/mid2sw-meth/
Question f5 (8 ptsl

Launched.in N"o_v_em bel 1995, R4DARSAT-1 provides Canada and the world with an operational radar satellite system capable of timely
delivery of large amounts of datal Equipped with a powerful synthetic aperture radar (SAR) instrument, it acquires images ofthe Earth
dav or night, in allweather and throuah-tloud cove., srnoke and haze.
It provides useful information to both commercial and scientific users in such fields as disaster management, interferometry, agriculture,
caftography, bydroloey, forestry, oceanogr.phy, ice studies and coastal moniioring.

What architecture style would be the most appropriate? Briefiyjustify your decision (include advantages and disadvantages of the
architectural style used.
/\Su *os\ attr.,p! i.al e avc\^i \cal 6"\ylq i6 block\oo"'J ,,..'
",.p
l"c-ut< *le'z otrt L"5e -*^or,' l. '':' J ,'"' 1L"+ "!g4hr*cl
ls\*c.. .- j / a[,lti',1 ,,.' (2"-1""""tr"\. ,./ ,lc- , ' v -. f*
'A\T o*cv; '.1./ i " \c ia. ' :,11---n U.1-;- , .r 1o"- \: uA ,n, / t .

ute rl'V:",4 '

m
Lla

er as
o ,-
.t,..,te." ..
,oo,^Vt3:,. c.*ol

co
Vl.',kLoa,J _.<<

eH w
t d;#'ae"{ .,,,l,.a(
..,\lo

' b"^" ':ilJ or kG(<


""r ,4"i^)a""ti"))-.,
a '=j5" lle,<bitrt, 1.<asl Jc

o.
rs e
+\,,J\v,4+)^\Lui'";; ,,"J",J,-l .1,. ',
ou urc
'-f' .t,."Jt., v:rrtte ia,(J tt^,
+7- alatafio-- ,r 6et,t,,\; ,o
+uc ,o.n
J,s4,;rJJ ,w.ere.. .ra\on ,-s c.-11.4 bre'rboa,/
--\\4(k\,{.J,, ,6::-'':l: ''. 3 'dt
o

r"er,J .{ fail,e ,( rh. \"r..1b".,.1 Al\c Ytd'( '"'J)'


l^.\ a\ ('^i* [*r rl . j _
question 6 (8 pts)
aC s

+L d6JG a,: *
Keep your answ€rs brief{2-3 sent€nces) ^\\ Clt :\-+' '
v i y re

a.) what is the purpose of a domain model? (4 pts) t.avi

J.,-,4,n "^,tJ. L ,s - .:otp9a,l^t.".. +.t--,,..H't th;a>


t ,^ 6 7/6,^a... p,,bln
ed d

tL.* ,ey*se.L o$ +btrecls n.J -...,1 k", t -'urr. ot1,,\,^.1",


-
ar stu

il ako sl^a ^L +l^z ,ela),,,>l'? bd uo'z ^ 'i'y.l . --"/


sh is
Th

b.) What h the purpose ofsoftware architectural styles? (4 pts)

t+. LV +, Jzsign , '.J o1,,4,^.'\ f,n . -L ol,p,.e.,


rh -1.""i"
1n )" *-/"e
0 c"-?o"e,J:, aal c.^qee1a"s

Q) -ToyJaor,l cx:S-facl< ,l clasj" "-


(3) 4".-o^\i6 co'^s+ft\^+ t % e/z 6uro ic,g.* ,:,." o-,.1) ,g!"i -,-iL o J,tak {
L^y( (
w(. I (!rr,. o 'A61 1 ), ,' L
I

8ofl0 \,/c?L'

https://www.coursehero.com/file/14815122/mid2sw-meth/
Question #7 (10 pts)
ptease note that for each ofthe ques|ons be ow it is possible to have 0..4 correct/false answers => You have to indicate for ceg!
answer (a-d) ifthey are correct or not

Qr.resiion 7.2: gatch oriented architectures

f,,ll\/ inrlp^pn.lpnt from a slobal context

Ea<r (rirFd f6r non Glllaoolicatlons


t lr fr". th" p"tt *hich ls no lonCer belng used n
"" "td,rlC"t,,r"ktyb

--7
_P

m
a. To enforce codine and design standards

er as
b. To orovide programming language specific implementation details
L-'/

co
lArp f rn.ridnal reduirements
t/

eH w
o.
rs e
^frh. ^hiad ^ripnrpd architecture
ou urc
a. Obje.t. Ue disttiluted on different processes and/orthreats t/.
b.
"*
Art"Inatlc"ll'r' tt'""ti2€s."h"s1"" of the classes U"-
v.-
o

c. Classes are completely decoupled from each othet


Typically there are no side'effects, with a side effect being: A uses B, B uses C, change to AwLllne,ver
aC s

/ lrl
l,/
v i y re

questlon
Questio /.4: Domain inde
ed d

a. Ciovides no potentlalfor reuse, since they software is specific to an organization h-.''./


ar stu

h Friminarp(rhphFed f.r anbli.ation soecific components a./'


"-D"sci6er
th" p"rtuf th"
"t"t'te.trre
wo'd p ocesgins applcotior r)
that can only be re used in the same tvpe ofapplication (e g'
?t ,-"
d. Should be avoided whenever possible V/ ,--=l
sh is
Th

7.5 rchitecture in its purestform:


False

a. Provides high coupling among the fiters /r-4


b. Requlres independence ofthe fiters L./
c ls ben suited for GUI and interactive applications L.z'
d. Requires to the use of shared variables and Blobal states

9ofL0
https://www.coursehero.com/file/14815122/mid2sw-meth/
m
er as
co
eH w
o.
rs e
ou urc
o
aC s
v i y re
ed d
ar stu
sh is
Th

'I

10 of 10
https://www.coursehero.com/file/14815122/mid2sw-meth/

Powered by TCPDF (www.tcpdf.org)

You might also like