0% found this document useful (0 votes)
22 views17 pages

Ilovepdf Merged

Uploaded by

mahmoudnasser290
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)
22 views17 pages

Ilovepdf Merged

Uploaded by

mahmoudnasser290
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/ 17

F T

F
T

T
T

F
F
T

T
F
T

T
T
T

T
T
T
F

a) Communication, Planning, Modeling, Construction, and Deployment.


b) User: uses the final system
Buyer: pays for the system
Admin: manage the final system
Developer: wries the code

F
NF
NF
F
F

NF

Waterfall

Agile Iterative

Rational unified process


T
F

T F
T
T

T
T
T
F
T

T F
T
T
F

T
T
T
F
F

F
F
T

T
F
F

T
T
F
T
T

T
T
T
F
F

F
Facul
tyofComput
ersandI
nfor
mat
ionTechnol
ogy Year
:2016-2017(
spr
ing
Semester)

Cour
seName:
Sof
twar
eEngi
neer
ing(
1) Fi
nal
-Ter
m Exam

Cour
secode:SWE204 Ti
meal
l
owed:3hr
s

I
nst
ruct
or:
Dr.Manal
Shoman Mar
ks:
50

AnswerThef
oll
owi
ngquest
ions
Quest
ion1[
10PT]
Chooset
her
ightanswer

1.Whatar
ethefourpri
ncipl
esofObj ect-
Ori
ent
ati
on?
a.Abstr
acti
on,encapsulat
ion,pol
ymorphism,modul ar
ity
b.Abstr
acti
on,poly
mor phi
sm, modular
ity
, hi
erar
chy
c.Encapsul
ati
on,poly
mor phism,hi
erar
chy ,modular
ity
d.Abstr
acti
on,encapsulat
ion,modular
it
y,hier
archy

2.TheUMLisalanguagefor…
a.Vi
suali
zing,
speci
fyi
ng,const
ruct
ing,documenti
ngthear
tefactsofasof
twar
esy stem
b.Vi
suali
zing,
modeli
ng,constr
ucti
ng,documenti
ngtheart
efactsofasoft
waresystem
c.Vi
suali
zi
ng,documenti
ng,modeli
ng,encapsul
ati
ngtheart
efactsofasoft
waresystem
d.Vi
suali
zing,
modeli
ng,constr
ucti
ng,encapsul
ati
ngthear
tefactsofasof
twar
esy stem

3.Whi
chofthefoll
owingsi sNOTaUMLdi
agr
am?
a.Componentdi agram
b.Stat
e-chartdiagram
c.Deploymentdi agram
d.Broadcastdiagram

4.Whi
chofthefoll
owi
ngi
sNOTachar
act
eri
sti
cofanobj
ect
?
a.I
denti
ty
b.Behavi
our
c.Acti
on
d.Stat
e

5.Encapsul
ati
onisalsoknownas…
a.I
nfor
mationhidi
ng
b.I
nter
facemanagement
c.Pol
ymorphism
d.Aggr
egation

1
6.Acl
assisadescri
ptionofasetofobjectsthatsharet
hesame…
a.Att
ri
butes,behaviourandoperati
ons
b.I
denti
ty,behaviourandstat
e
c.Att
ri
butes,operati
onsandrelati
onshi
ps
d.Rel
ati
onshi ps,
operati
onsandmul ti
pli
cit
y

7.Whi
chstat
ementi
scorrect(true)?
a.Acl
assi
sanencapsul ati
onofanobject
b.Acl
assrepr
esent sthehierar
chyofanobject
c.Acl
assi
sani nstanceofanobj ect
d.Acl
assi
sanabst ractdefi
nit
ionofanobj
ect

8.Asubcl
assi
nheri
tsisparents’…
a.Att
ri
butes,l
inks
b.Att
ri
butes,operat
ions
c.Att
ri
butes,
oper at
ions,rel
ati
onshi
ps
d.Rel
ati
onships,operati
ons,li
nks

9.I
nuse-
casemodel,anactorrepresents…
a.Arol
ethatahuman, hardwaredevice,oranot
hersystem canplay
b.Thesameusert hatcanper f
orm severalact
s
c.Aphysi
caluserregardlessofit
srole
d.Aphysi
calsyst
em orahar dwaredev i
cetogetherwi
thit
si nt
erf
aces

10.Whi
chofthefoll
owingsentencesi sincor
rect(fal
se)?
a.Thedescr i
pti
onofuse- casesissuff
ici
entf orf
indi
nganaly
sisclassesandt hei
robj
ect
s
b.Thereshouldbeatleastoneboundar yobjectforeachact
or/use-casepai
r
c.Therei
sonecont rolclassperuse-case
d.Enti
tyobjectsi
denti
fiedbyexami ni
ngt henounsandnounphr asesinuse-cases

11.Whi
chofthefoll
owingsent encesiscorrect(t
rue)
?
a.Ther
ei snorestri
ctiononmul ti
pleassoci
ati
onsbetweenthesametwocl asses
b.Therecanbemul tipleassoci
ationsbetweenthesamet woclasses,buttheyshoul
d
r
epresentdif
ferentr ol
es
c.Mult
ipl
eassoci ati
onsbet weenthesamet woclassesi
snotall
owed
d.Mult
ipleassociati
onsbet weenthesamet woclassesmustbeaggregatedtoone

12TheUMLi sal anguagefor


(a)Visual
izi
ng,speci
fyi
ng,constr
ucti
ng,documenti
ngtheart
if
actsofasoft
waresystem
(b)Vi
suali
zing,modeli
ng,const
ructi
ng,documenti
ngtheart
if
actsofasoft
waresystem
(c)Vi
suali
zing,documenti
ng,modeli
ng,encapsul
ati
ngtheart
if
actsofasoft
waresystem
(d)Vi
suali
zing,modeli
ng,const
ructi
ng,encapsul
ati
ngthear
ti
factsofasof
twaresystem

2
13.Anal
ysismodelsdepictsof
twar
einwhi
cht
hreer
epresent
ati
ons?
A)ar
chi
tectur
e,i
nter
face,component B)cost,
risk,schedul
e
C)i
nfor
mat i
on,f
unct
ion,behavi
or D)Noneoft heabove

14.Processi
s?
a).Thewayinwhi
chweproducesoft
ware b)
.Thewayi
nwhichweproducegood
softwar
e
c).Thewayinwhi
chwedeli
veraproductt
ocust
omer
s d)
.Noneofot
hers

15.Theent i
tyr
elati
onshi
pdiagr
am
a.depict
srelat
ionshi
psbetweendataobj
ect
s b.depi
ctsfunct
ionst
hattr
ansfor
mt hedat
a
fl
ow
c.i
ndicateshowdat aaret
ransf
ormedbythesy
stem d.indi
catessy
stem r
eacti
onsto
exter
nalevents

16.Cl
assr esponsi
bil
it
iesar
edef
inedby
a.i
tsatt
ri
but esonly b.i
tscol
laborat
ors
c.i
tsoperationsonl
y d.bothit
sattr
ibut
esandoper
ati
ons

17.I
fa“ st
udentsignsupf
oracour semodul
e,
”whi
cht
ypeofrel
ati
onshi
pwoul
dyouuset
omodel
therel
ati
onshipbetweent
hetwo?
A.general
izat
ion B.associat
ion C.aggr
egati
on
D.subsett
ing E.vague

18.The_ __
__rel
ati
onshi
pinusecasesall
owsusecasestosuppor
ttheconceptofi
nher
it
ance.
a.Associat
ion b.Incl
ude c.Ext
end
d.Generali
zat
ion e.A&C

19Thei ncr
ement al
model ofsoftwar
edev elopmentis
a)Areasonableapproachwhenr equi
rement sarewelldefi
ned.
b)Agoodappr oachwhenawor ki
ngcorepr oductisr
equi r
edquickly.
c)Thebestapproachtousef orproj
ectswithlargedevelopmentt eams.
d)Arevolut
ionar
ymodel thati
snotusedf orcommer cialproducts.

20Divi
deacompl exsy
stem i
ntosmall,sel
f-
cont
ainedpiecesthatcanbemanagedindependent
ly.
Howisitcal
led?
a)Abst
racti
on b)Modul
ari
ty c)Encapsul
ation d)
Hier
archy

3
Quest
ion2[
10PT]
Ci
rcl
eTi
fthest
atementi
str
ue,
Fift
hest
atementi
sfal
se
1. Act
orsar
eusedt
orepr
esentsomeone/
somet
hingout
sidet
hesy
stem i
nter
act
ingwi
tht
he
sy
stem.
2. Themai
nbui
l
dingbl
ocksofacl
assdi
agr
am ar
ether
elat
ionshi
psbet
weenent
it
ies
3. ADFDcapt
urest
heor
deri
nwhi
cht
hepr
ocesses(
bubbl
es)oper
ate.
4. Ascompar
edt
otheWat
erf
all
model
appr
oach,
rapi
dpr
otot
ypi
ngappr
oacht
osof
twar
e
dev
elopmenti
smor
eli
kel
ytor
esul
tinasy
stem t
hatt
rul
ymeet
sthecl
i
ent
'sneeds.
5. Est
abl
i
shi
ngbehav
ior
,dat
a,andi
nfor
mat
ionf
lowmodel
sty
pical
l
ydur
ingi
nfor
mat
ioncapt
ure
i
spar
toft
her
equi
rement
sanal
ysi
sact
ivi
ty.
6. Thespi
ral
model
isaschedul
e-dr
ivenpr
ocessmodel
.

7. Ev
olut
ionar
ypr
otot
ypi
ngi
srecommendedf
orsy
stemst
hathandl
elar
gev
olumesofdat
a.
8. Obj
ectdi
agr
am i
sjustanot
hernamef
orcl
assdi
agr
am;
theybot
hshowt
hesamei
nfor
mat
ion.
9. Thedat
afl
owdi
agr
am mustbeaugment
edbydescr
ipt
ivet
exti
nor
dert
odescr
ibet
he
f
unct
ional
requi
rement
sforasof
twar
epr
oduct
.
10. Adat
afowdi
l agr
am i
saf
unct
ion-
ori
ent
edsy
stem model
.
11. Use-
casescanpr
ovi
deusef
uli
nputi
ntot
hedesi
gnofbl
ack-
boxandst
ate-
basedt
est
sofOO
sof
twar
e.
12. Pr
otot
ypescanpr
ovet
hatt
het
echnol
ogycandowhati
tissupposedt
odo.
13. Benef
itofi
ter
atat
ivemodel
ist
hathi
ghr
iski
ssuesar
eaddr
essedear
li
er.
14. Usual
l
ywei
dent
if
yact
orsf
rom nounsandusecasesf
rom v
erbs.
15. I
tisi
mpossi
blef
orasubcl
asst
oinher
itf
rom mor
ethanonesuper
class.
16. Aggr
egat
ionr
elat
ionshi
pscanbeusef
ulf
orbot
haggr
egat
ionanddecomposi
ti
on.
17. Thef
ir
stst
epoft
hespi
ral
dev
elopmentmodel
ist
oimpl
ementasi
mpl
esubsetoft
heov
eral
l
pr
obl
em.
18. Ont
heav
erage,
thecostofdev
elopi
ngasof
twar
esy
stem i
smor
ethant
hecostofmai
ntai
ning
t
hesy
stem
19. Maj
orcaseofpr
ojectf
ail
ureswi
l
lconsi
stsofchangi
ngr
equi
rement
sandi
ncompl
ete
r
equi
rement
s.
20. Thei
ter
ati
vemodel
tri
est
oev
aluat
edi
ff
erental
ter
nat
ivesbasedonobj
ect
ivesandconst
rai
nts

4
F
T
T

T
T
T
T

F F
T

T
T
T

T
T
F

a) Communucation, Planning, Modeling, Construction, and deployment. b) User:uses the final system
Buyer: Pays for the system
Admin: manage the final system
Developer: writes the code

F
NF
NF
NF

3
1
2

4
4-a) usecase is a sequence of transactions in a system whose task is to yield a measurable value to an
individual actor of the system.
actors are types of users of the system - role of someone who uses the system
usecase is a description of what the system must do, not of how it should do it

tc1: Valid input: 5 (expected output: 25)


Valid inputs: integers between 1 and 100 tc2: Valid input: 10 (expected output: 100)
Invalid inputs: less than 1 tc3: Invalid input: -5 (expected output: Error message)
Invalid inputs: integers greater than 100 tc4: Invalid input: 200 (expected output: Error message

Class: Set of objects that shares the same attributes, operations, relationships
Attribute: kind of data that an object might contain
Operation: implementation of a service tha can be requested from any object

You might also like