Introduction to Software Engineering Concepts
Introduction to Software Engineering Concepts
• I 'i
LJNIT
- ··-- -- -- - --"---- -
Ititroduction. to Software En9ineerin9,
A Generic View of Process,
_________
......,__ Mode(s _
Process _______
( SYLLABUS )
·
Introduction to Software Engin Hring: Tl1e Evolving Role of Software, Changing Nature of Software,
Software Myths.
·
A Generic View of Proceu-• S0 ft wore Engmeerlng • A Layered Technology, A Process Framework,
The Capoblllty Maturity Model Integration (CMMI). · .-..
Procen Models: The Waterfall Model; Spiral Model ond Aglle Methodology.
( LEARNING OBJECTIVE S )
✓ Evolution of Software
Engineering Is the establishment and application of sound engineering principles for obtaining
economically feasible and reliable ·s oftware that can run efflctently on any real-time machine.
Softwa~e Engi~eerlng consists of various software process models for the development of
software. A software process Is a set of activities th~t are performed in developing software.
There are various software process models that are followed to ease development of software.
Some common models are Wate~all model, Spiral model and Prototyping model.
.
• • •
'
. •
i'
'' -
mf· I'. • •
~
r
"• <on, ;si, of of Process. Process Models 3
' Wh · 1. ~ 1hc c I ·
'(i) • arc used litt d · ·
1.1.1 The fvolvtng Role of ~ r e _ ere • vu Uhon pa1tcrn Jone'/
Tho where !lcgmcnt de term ines th
Slntc machi • l'5~gnmg pn,gram like now chnns. finite
Finite s1· l ncs lik_e NFA, DFA. PDA. Turing machine.
Q1 · Define software. Explal~ the evolving role of software. is
from ~ l~ich lhc client request o: m_a rkct place which ·p;~t:achmc is u,;cd for perfo~ing an action
(ii) Why l!I ti <lone? tnincd. state d ia cs thc rcsuh and changes its slate. W h ile
Answer :
1c w t1y, segment dcierrnine!I lhe
'I') mach",neg . r:u ns arc U'led for recording the behaviour or
Definitions of So'"'•an- errors, fo1lurc!I and the ncec!l!la ~ r~ason!I for 2. s
and recovery. · ry or improving · tructure Oriented Mt1hodoltJgy
.· In KCncrnl km1.s. s~llworL·. cnn he dcfinL•d n:-: on org1t0izcd set ofinstrocti(lns ll1cse 1 1
desired result by cons,dcrmg vunous processes ond furn; lions. in!l-lrnclions de liver lhe (iii) Whal arc the rcqu iremcnt!I'/ Ptoccd~~/;; ; urc oriented mcthodol~gy makes use of
n h t 5 cg
IC w a
The•• pproach to dc;clop fonct1ons or proccdure5•
~1_is an_o~uni7.ed scl of instnictions capahlc of accepting inruts. proces:-:cs the~, 11nd deliver rncm !lpecifics the dc!I· d
· "'~rocellure arc nothing hut the instnJClions which
. le!II plnn, interface, U!«.:r manual ;., •gnl Ocu~cn1
the result in th arc writt b
10
1?1'.01 functions . A~art frum thi:-:. it rcfo~ 1('1 the records (say software mnnuals) \l.•hich help and guide the uscr!l t c
process. " he P,OJCCI/ from sta~~ y p~ogrammcr th~t guid.cs lh~ computer
ellicic_ntly deal w ith n . It ii, now-11-d,.,ys Jdh•crcd in the form o f a package offering
code. mstallotions implcm~ntatitln manunls. opcrali(lns system manuals.
the design documents sou 0
• rec
(M -When it is rcrformcd1
Th~ when segment dclermint:s at Which
~he charac1~~!:~"~ tu~;1 '!u~~;;cl
1
~ ~~:;r~t~c:::: :
Softwan' Evolullon . improvcmcnt!I. There are three clemcot!I such as
of~1mc necessary tests like component test~:~ !Cqucnce, sclcctinn. Iteration.
Modem sollware act as a vehicle to transmit a product. es11m~I~, acceptance test arc lo be carried ~ut. {I) Sequence: Sequence refers to the order in which
(v) 1-low 11 1s performed? instructions arc implemented.
Role of Softwa"" H a \lchlde In Product Tnn11mlnlon
The -~ow scg":1e~t specirics the method of . (b) Stlectlon:Tiw:rearcdiffercntsc\e<;tion stakments
S01\warc as a vehicle has o.,-rtain rcsrons ibilities. They arc. rew.ntmg. redesigning, redrawing and codin the like if else conditional suatements as program
( i) project. g (c) • reacts upon lhc choice of selection.
Controlling various Ol"Cfilting sys1cms.
(vi) By whom it is performed? Iteration: Uge of repctilive set of instruclions
(ii) C reating and managing programs such as. software tools, software environments
etc. and loops results into the developmems of J1,1s1
(iii)
The ' by whom' segment specifics lhe person who · building block of procedural programming. The
Delivering information.
is invo!vcd in the particular process/project or main program calls the procedures which paskS
Role of Software In De-livery of a Product part of II.The person can be engineer/client/user. 1hc appropriate parameters as required. Structure
Q2. Explain about evaluaUon of software •n- oriented methodology makes use of various
A s a product. software performs the: following tuks.
glneering methodok>gle s. notations like Data Flow Diagrams (DFD). data
(i)
(ii)
Transmilting computer data which is a part of computer hardware.
Delivering the computer data that is a part of computer networks accessiblt: by a
local hardware. AMWer :
(Model Paper-I, Ql(e) l~ .-21{R11), Q1 f•I I
llatch-21tR11), 01(bl)
!::::~ c::,i:~:::fo~·f:~t!:7c:~:~~ii~
0
well suited for all the projects. It is preferable
_ . A_n intcrcsling feature o f computer software is its location independence as ii is basica Software engineering methodologies refers in small memory requirements and high speed
mfonm1t1on. Trans forming information involves. lly used to transform to group of procedures which are performed from systems like embedded systems and scripts.
(a) Creation of infonna1ion initial d e velopme nt phase till the end phase in 3. Data Structv.re Oriented Mclhodology
10f\ware d evelopine.nt process. These methodologies Data structure oriented methodology is generally
(b) Management of information • emerged with many complexities and advancements used for designing data structure. It was evolved by
(c) Modification of information in programmiQg techno logies. Some of the software Michael Jackson in 1hc year 1970 which describes
methodologic;s arc as follows, · how functionality get along with real world entities.
(d) Display of information. J. · Exploratory Methodoloey It specifics real world ac1ions. arranging of actions.
With the above features. it can be said that today's sonwa'rc gives more emphasis on the 1
delivery ofinf(?rm&t~ori. Explo ratory methodology is adopted for ;:~: ~-s~~na"rt;:; c~;;~grtm;:=~ ~: :v~~!c:
Over the period of time. liOftwarc has made a suious impact in the field of software. developing those software wherein requirements arc by categorizing into two steps.
unclear in the beginning of development. This style is
Impact of Software in the-Field of Computen canicd out in step by step process i.e., by expenncnting Slepl : It describes what arc the spedficalion!I.
(i) Performance of hardware has improved. and exploring. · Slepl: h describes how the implementation is perfonncd.
(ii)
(iii)
Memory size of compulef" has increased.
Improvement in storage capacity of·the computer.
It is only good for developing softwares which
perfonns· test research hypothesis as it hicks reliability.
real ti~ !~!~~~~:'o c~:n:~ : = ~~
programming a::; it foe~ more on actions and less
s::::;;
extensibility and maintainability. Errors arc identifi~d on attributes. Although this methodology ap~an to be
(iv) Availability of latest and exciting input and output dcvi~s. in the final product testing. Thercfoie it is proble~a~~c good for shaping real world _scenarios but rums out to
(v) Deve lo pment of different computer architectw:cs. to modify every time. It is very laborious to_mamtam be complex and difficult 10 undentand.
because of the absence of proper docu~cntauon.
The tleXJbility of software systems is one of the reasons of software being incorporated . It makes use o f unstructured programmin~ or 4. Object Oriented Methodology
in large and complex
systems. Making c hanges to the hardware is expensive once: ii is manufactured. Ho design heuristics for writing program which emphasizes Objrtt oril!ntcd methodology focuses more on
wever, changes to the software
can be made at any time during or after the system deve lopment. on g lo bal data items. Some o f the unstructured wing data instcuJ of functions ~cul world en_t11ics are
le \ languagt:S gcnt"rully tn:atcd as objects. Objects possc:ss mg same
Few software systi:ms are devdopc:d as complew.ly 11(..'W systems and their updates a.nd
maintenance are continuous. programming longua_g ~ are BASIC, 1.ow~ v~mands or l"eatwcs arc fom 1c:J into a class. They include m tlho<ls
Software evolution j:, an evolutio nary process where the software is periodically chang~ or assembly co ntaming sequence ot co od and properties.
{>Ver its life.lime in response to _ Stalemc:nts like labels", Go'fo. State oriented .m ~Is
l__ _
the changmg requtremenl.s
u.-nt-ONI! JO(IRNflL FOR ENQINl!l!RIN Q STIJDl!Nn
WARIIING. x....-.-,,1 ., of 11111 - - I C-&\L-Al ly.a fNOll-y la UAIIEII ' - Ll&Al ,....-.... SPEc:TRIJ~ ~ _ -
·
-~, · e]!Y ,---
. ,v-
AO) .
• Introdu ction to Softwar e Englnee ring, 5
SOFTW ARE ENGINE ERING fJNTU-H YDERAB 1 · AGeneric View of Process Process Models
tJ,.IT · · uncr,i from '
4 For insrnncc. coni-idcr 1h,e h•~r~wurc. m~11ufnc
1tuin ;,..----; "ihc idea l curve. soflwnrc innmlly , biolo8Y to :1u1ornu1cd munufoc l uring and
a lso
rriccdurc in v.hich ccrtntn d1gt1nl _e 1re1111ry
iii 10 ~ ;cpcetcd dcfc c l~. llul as_~oflw are cine, n,,1 get
afft.-ch..-d
I•) Mt"thocb: Ml"lhods n.·for-.1ngrnupofint-lmCtic1!1'- ,
. kctct1c, cn1:1I ch:ui[Lc, th:n of fn,m au11, motive s1rc,;1 analy,;is to s pace s hutLlc
w hich can t-.c c."Xl-CUlt-d h)' c1hjl-ct i1sclf. (il"ncmlly f,uilt . The rrocc'-~ ~,ar1s hy_drnwm~ n~111 """,h difnat ic _or other cnv1romn 111 orhira l dy mimic, . Now. advance d upplica1
ions
I
cat:h ohjt."'CIS poi.o;cs!:- it" own g roup nfmcthN
IS. nnd nnaly,in g whdhcr 1hc !tl\'Cll d esig n 1s
sMis fyiti
lhing_!
\VI I I
r
:trd WftrC.. It cu~cs <own n a_ ~lea< 5uccc,,lhc idcJI
rnlc hy hkc C'AD/ C/\M. S PS<i. M/\TI.J\ IJS. etc.•
hccn develope d.
have
(■)
(()()IJ)and Ohjtx:t Om.-ntc.·d Analy-.1!- ((klA).
Objrct Orlt'n fl'd A n ■ l~·icls (OOA ): Thii.
n.•n,;ftJ\lc foc ts and very lc~i. new foc ts. IJ111 !his
ihc cn~c Jurinp. the sollwarl~ Jcwlopr nc nt. I lere,
lhc
10
rved ;11 1hc cur ve. Now, cffor1, are applied
~ Jcfeels nnd hc11c e. lhc spike ~omc'{ clown 10 a poi:
10 nullif, highly 1nph M1carc d wch ba,;cd-so flwarc !hill
,_,;-~~~- ,~- - ·- T~ , ·~ .
Answe r : of
~ust. etc., ac1 as barrier to its prolon 8 cd success causin~ Elabor ate on the cha nging nature in two sets. One of ·1hc sets ineluJ es fi le
Seftwa tt aspects of s oftware in d etail. man ugemcnt u t ilities. compi lers. editors
c1c.•
. . 11 to wear out steadily. Now, analy,-,e the same
. _F or answer refer Unit- I, Page No. 2 QI 'topic. lhe software in lhe followin g c urve. · lllatch-17( R1l). Q2(bJ and other sci indud..:s drivers. o pcr.11ing system.
• • Answer :
Dcflmtmns of Software. sullware e tc . The sy!ncm software
· Spikes d ue to high network ing
.
C barae1er isUcs o(Sofrw a tt Followin g a re the broad categQrie s of software belongin g 10 category -I can casily be applied
10
w hich
often referred as applicat io ns of soflware quite complex anJ Jelcrmin is tic opplica1io ns
. On
OR
No\tlJDec.•16(RU). Qt(a))
Software evolu1ion is an evolutionary proces:s
where software is continuously ch:inged over its lifetime .. Fff<lb1ck System Law software caused many failures in the year 1989 like.
(i) 22 fml crashes look place by wire UH-6
in ICSJ>OllSt to changing requiremenlS. This PfOCess is The evolution process of an E-typc system
What la legacy aoftw11re? Explain briefly carried by 'change' and is perfonncd when, helicopter ·
comprises of feedback systems with multilevel
Ila Impact in IOftware engiMering. (ii) Numerous patients died to the malfuncnomng of
(i) The errors identified are corrcc1ed. multiloop. muhiagent feature. It is necessary t~
hospitaJ computers.
_ ...,..__,11111,~ C121•1 (ii) The software bccom,:s adaptable 10 new compui. have such feedback systems for improving the _
OR performance of the software. 4 Us■ bilily and Reus■ blllry
ing environment. ' · ·
What typo of ctianges is made to legacy Usabiliry is defined as a process for softw:ll'C
(iii) The application =ngincering is perfonned. Q7. What are the challenges of software en-
~ 1111 exhibits poar quality? development tha1 helps to easily undenaand tht user
glnffring?
Answer : Thc following irnportan1 laws are defined, so., needs and obtains direct user "feedback in .:>verall
10 gc1 • brief description abou1 the unified theory fer Answer: ....,21(R11~ Q1(b) dcvelopmct?-t of life cycle.. It ensures the srra1egy of
l.qacy Son..,. · software e~olution. · : , software systems !hat satisfies the: need of user in various
. Some of the challenges of software engineering
~ Soiiwan, an I>< defined as an old soft- I. Co■lil ■iag Ch11c, Law· arc u follows,
environment in orderto reduce costs and complc.,uic:s.
w_an: d<vclop,:d in lh< pasL This soiiwar, is still b<ing Softwuc engineering focuses on using usability
used ~ tbr pn:Si,!m en as it pcrfonns essc:ntiaJ business
The E-<ype S)'S1an softwar, lhal evolved ovenimc I. engineering approaches. Reusa bility is an imponant
_ Problem Underst1Ddln1
must be continoousty adap1ed so as 10 make them characteristic or a high quality sollwa.rc. It is d e ~ as
aclJ\' Uics. h indud~ procedures v.·bich arr no
mA)
longo- .~levam Ill lilt lllt'\VCr computing en\'ironment. unplcmcnt in ml world computing environmem. Thcobjeclivesorairnoflhcproblcmwxlcmanding degrtt 10 which sofiwnre modules or work product con
The S)'Slem is capable of mee1ing lhe cuslom· is to know and wxlerstand the requiremcnlS of the clients b(uscd in matt than one computing progr:un orsolhvarc.
As busmos.s ""IWl<IDCIIIS are dynamic. lh< legacy soft-
rrs ~cquirements and satisfying them to tht and users as the client and user; may be completely Now-a-days re~ ofexisting solt\\-are has become very
" -~ S)l'tem WldaJo ~ modifications These
awar:c of the new systems ~ui~ments. Similarly even popular in software industry and institu1ionaJ hU5iru:ss.
moo,fications mal<, the softwu, adaptabk lo new di, mwmum enen1 only ,i f lhe syslcm undergoes•
conttnuous modi~cation. software engineers may not have complete informllion But tru!re are many challenges faced by reuse bU51ntSS
bwmcSS rcquirc!menl5 and to makt it i n ~ b k "with ·
tM current com puring cm irorunen,15_ 2.
la<rus!ac Compluity Law !, of all application domain. The main cause of problem
between software engineers and customers is lack of
like an3Jysis of domain knowledge, devdopmenl of
reusable library. in1egn11ion of reusable comp,.,nentS. h
Th~~ IC"gacy softv.·arc sySkms ~ becomillg During lh<evolµtion process ofan E-1ype si•slem communication. Thus, it is necessary for an engineer to has got many b1:ndits if system.llic .ipprollCh is w:ed.
pmblmiatJc m lacy:c- organizauoru bee.a~ of lMir high sofiwm, lht lrvel ofcomplexity increases when make to explain the: requirements dearly to the cU5tomer R~US3bility ts mainly useJ ror increasmg productivity.
cost mam~ and due to the dJfflculties and risks : fDCaSurtsart used for reducing or maintaining even if they known them. quality and fl!liabili~ within !l softw:ue.
WAMl•G: Xoru/l'ktoeopri1111 of tili, hOli is I CNIIIIAl ■ct. .., _ , . . ·' SPECT1t(IP1 flLUN-ONE Jo«JRNflL fOR ENGINEERIN G STUDENTS
- llilty II LIABLE to lie■ LEGAL proco■diop.
_ ., ,- -- _ ·- •//.:.,v~ - . tion lo Software Englneen 9.
111111~~==:;;..--~ ENGINEERING iJNTU -HYDERABAOI
1)1'411-1 • n
1 troduc
.
ng, A Generic View of Proce ss, Proce ss
09. Define software. Expla in In
Models
detail about
differ
~~~ ent softwa
::~;; ;;;; re l
,::;;.--; cu.
::;;;,omer Myth, . softwa re myths .
- -- - - - - - -- - ;s~o~F~T~W . ;A~ 1
brlef about
rn R~E ~~~
es. •• These are the myths behcved by customers
8- - - r ..
! D1scu•1nd their conse quenc
myths Nov.1Dee.•l6(R1l) 1(techni
cal gro~p. '."arkel ing/sale s departm ent) Answe JanJFo b.-23(R18), 02(•1
5. Ch,nJ e and Malnt,nanrr • Ql(1) il'lfern' I to an organ11..atron.
Change and mninlcnnncc arc the major fac.:u~rs
in eil<rna
ot ,• (I): •n,e writing of programs can b
be started by Softwar,
h ncss OR
the development of a sofl••r< project i.e.. ents as "" ~r"dering only a genera I sraIcmen1 of o jective. The For answer rcf<er Unit-I, Page No. 2, QI. Topic:
change in the 1od11vs· world. the requiremI h "'
.
for lhc
ang · Dlacul mint
u m1n1gand era my
th•
their
about
effect
softw
on
•re
the '°"' "' ,'
details can
b fill
e 1 '
d 11
a er. Definition of Softwa re.
devclopmenlofsoflwaresupportingthcma sock 1·, not d I op other b' · s So
p:_vc titlon- ...,rformance H well ai
on
ance tas ' ,.111y: General o Jectrvc .statement that convey ,- can ' ftwar, Myl •
h
But call)'ing out change and mainten ii become s ... ".
JI meanin g and that m,slead s .the custom . •~
simple because aflcrpcrfonninganychangc,
i•
f h . 8
k 0 -rall
.... outco m•. ) 'flCOJTec I .
ere 15 a continu ous mleract ion For answer refer Unil~I, Page No. 8, Q •
asto ·~ 1 disaste r. I t
ncccssarythatthcsoft~istestcdscvcrclysochange s ~ °"'1 ftv,lt: ~ Mytlu 10 1
a develo per then only ii is
it reliable. Besides this if there exists some in
tetd O I custom er and . h
Moy un■•11{A18), cu
/J b<lwee guous
rHTuiremcnt of softwatt then i1 maf lead to c_h
1he ·-,
a_n_ge ible 10 generate requirements t at are unambi
and mainten ance ac1tv1ti es Answe r : rsland able.
in order things also chanie ~und<
effort S<>Rworr Myths
offors flexibility but they consume mon: human rs re
1
~ (II): Software is flexible therefore any changes 10
10 perform ioftwan: Myths 1 n, the belie th_a1 sofiwa odated.
and cost. Therefore the challenge hen: is nwan: prac1111 oners ha ~ytproject requirements can be easily accomm
8nd 50 · ·
changes with reduced cost and high n:liability. used for it These belic~c, the proJCC 1 require ments change very
010. What do you mean by softw
are_
-■r■bllltv_ and Prottss M1furitv,
oce ss ,,IIIY' re_
R. managers, cuSIO ~erst•· · . Softwa
aboutsoftwan:a1ou ,..pr 11 ing on the engin eerin g? Expla in the softw
are
6· ,- l years of.pro~ rammi ng (requc:ntlY whose 1mp~ct can .vary depend
are continu ing over .severa s occur in
Software development processes art nothing rc my th5 are cons,~cred ·as time at which they are introduced. If change engin eering layers.
d culture . Today. soAwa ment then the
but the procedural rules whicb needs to be followe ed ..resulls in 11,e early stages of the software develop OR
in the a misconcep1ioa.: ~hich when follow cost is less. Whereas, if the)' occur at the
later stages,
while dcveloping..a software. h can "be repeated ed
m<ntof simiwty pcofpro jcctsthc n:byinc reasing ' disastro us cfTccL · '
tftell the cost is high. What are the advan tages of laye,
develop MH•e•mtnt Myt~• 1 -Papo,4, 03(•11
th< productivity and qu,lily of soflware. In \Pity. addition, it I. 19<:hnok>gy?
Hence ). Practttlontr's My!bs ·
also maintains consistent quality and producti These arc the myths believed by softwa
re
cepcions believed Fol>.-22(R11J, Q2(bl I llly-11{tU51, 02!•)1
thk is the reason of soflwa~ organization emphasizing rs who arc respons ible for impr&ving q_uality and .'
1 • Practitioner's myths arc miscon
improt·c s manage by ~y software practitioners. OR
on panicularapplka1ion domain. Rcpc:1tahility
nccd controllin~ budgets.
maturity, because maturity comes from cxptrie
tic Myth (I): A book of standar ds and Rroced ures· I
lhal , Mytll(l):..Thejob ofsofiware practiiioners
is done when
ng it in the' OeflM softw are englnffr1111J.
=~~'. ,:~tic soflw arede ve11~m'.~~ S)~t~m~7 they complete writing a·prograi;n and executi
.cs dcfinesJhe W3Y,!lf devef!>Pin@ a.NRwarc
is w(ljcient to . • •
WO[k:ing environment.
! (Rl/,iO llly Ta,iic: 3iil l-.,, ._i~
- .... apt"'-- '' mimmize.,-comp c,...y anu maxtmi rcquirc_ments ofthe"J)COple.
~ meet the softwa re -J-19 (R11 ), p1(1)
mamienancc ftexibrl,ty ds: it Rfflfty:,.The actuaf work or effort of the
: ..Though there exists a book ot standar OR
• 7. . Esttm1tton tnd Pl1nnl1 g Rullty 1 · pactitionerdoesnots toponc ethepro gram·g elsexec uted
~ are sofhn tre engill ffrtng layers T~
reaSQns.
Cost cstimatiOn call be evalua1cd with 1hc
use cannot be used because of the following f bu1 instead it initiates when the software Is
delivered to
(LDC), ftw do hive the knowle dge
~lfiE~~~l
like Line, Of are practiti onm not
of estimation ttchniou , es (i) So • dtc<:UStomer.
_
C ode
TL•~ts{I ·\ J.
l"ffcct 1he producl'!i qualily are 1ikely lo
.
~~r::,:v7·:~:.~::~~:·::~!;,~'quwl;tyby ·
to bc_.add~sc: d during this fo1meworlc
~u,r ~ t of rnourcc , software schedule
arc risks.
s
~-- . J. ~ : : ; o oue1s1obcdcvclopede1<.
de mmg an_ ort amzmg the activities ~ded •
At managl "mcnt level. u.sually the softwa assure qunhty o f soflware . lo the develope r is done with analyzin th~
~ Framcworit acti\-ty n custome r requirement spccificaiions. Lhe gthird
t:n@inc cring proce s s is applied in I -'· formal Tec:hnlu l Reviews
reg ula ting a n d Software c........,.ema action n. I
I fni~or k activity will be modellin g.
a
control ling the a.ctivin n of 50 n....·arc ('ll'Ojcc
dcfi~ platform with which.. the user
ttthntca l ac1h; 1ics during sofN.-are project
can a It also
implem ent
dcvelop mcnl
,._.-
T.sk_•"•I~- - - ~
{
\
This act_ivily lrics to eliminat e enors L"I qu--kty
as possible so that. they don' t effect the ""
activitie s. It is done by evaluati on o (
other·
UIUa. UMLdi. agnms
project in the fonn of ar-e
Here.
used to represent the
architect
developers and the custome r to ure. _ThLS helps
gam ·an msight·
ach 1.n ·c theeAp cctcd goal!!., ensure a h igh
- I work of the end product.
dev eloped rroducts etc.
qualit} in the · ngi,ocl'W1
Soft+.A·an:e gac:tWJn n.n I 5,
products o r software engineer ing.
Softwar e Meuur cme"its -
.
0 11 . Explaln - . - . r e proces s
framew ork.
which includes definite number ofsoftwar
actions applica ble in driving a 'specifi
enginee ring applicat ions. Each of these
e enginee ring
c softwar e .
i a critci;ia for software components reuse.
-> It also obtains reusable components bY.
develop ing the desired methods.
includes.
1. Artifact s
product
.,._°',""'
(b) Umbrel la Actlvlt la of Sotrwa re Proces■ Framew
~ 71,p/c: a-.1<: ,.__,liiiiiliiiri
-- .....:,
~-' _.
1bcrc arc ~igbt umbrella activitie s of a software
ork
I
followin g work products..
(a} Models
the inordcr1 0canyou ttbc acti,.•ityacconling.lY,
fromtbis. tbcyattu sed asraw artifa.:t sto~dop
other anifact, such as software arc;:bncct
Apan
oll,nQ with wt-II d1.·linc.-d rondiu,,ns. cush,nwr n:quin•m1,.•n1 !l)'lt'1.' ilk11tiun only. E•plaln CMMI model with a neat •ketch.
Eumplt: ri"r us~ cnn µnin C\"1"4:tnTcnt n,"\.'CS.." (11) K,•l11th·rly Snu1II •nd Shn11lr l•n1Jcct! 1,,111¥1" t
10 a nuu.·hin,-s i.e., they cnn 1,,pin RI the snml.'.' A tMk srt mny JIITt.·r from n s mull•Rlmplc .,.i,IIIIY Maturity Model (CMM) -JDoc.. 11(R1l). 0:11•>
llmt and can J'lr'Ollucc seven tnmsacttons per pmjt.·,·I hl n lnrgt.·..,·11mpkx prnjccl. Following is II tn5k C Capability Mnturity M0<k:I (l:MM) isn .
dd I matunty frnmework
.....,,..
081l('ISCC('ll1th•. st'! for !lmull•simpk 1nojcct, if cushuncr requirement
S(lCcilknlion is th1..• sol\wnrc cn}!.inccrin~ uction.
the n,1"8&cmc_nl nn . _eve opmcnt orlhc organizational work for s1r:11cgy that ~ocusc" on con1inuously improving
t((luircmcnL41 l~r bu1l<~m~ t~c soflwarc process. It pro-...ides an cv cc:. ~MM pmv,dc~ the urvani:,..011ion wi1h 1he basic
The- r,·arlr cnn h\.' ddin1."<I ns a r('n,,n or List nil the cush1mcrs (lo whom lhc projcc1 is lo ..,.,-UCCS, to P highly d1sc1plmed developmental pr:ictice This h. oluu~nary p.11h from an in.:ons1stent orijani7..alionnl
i-takrholdc~ lluu un<k.T lnkc tht• prcw..'t'ss din..'Ctl)' be dcliwn.·Jl. ~(die ioRwnrc process. · clps to improve lhe knowlcJgc •·t•ills anri Jc\/elopmcnt
or indira·tly. The: CXJ'l('nisc people arc consiJcl\.-d Ci.lthcrthcsl' cmitomcrs_along wi~h lhc developers. c_,.i,iUty Maturity Model lnt•~ratloo (CMMI)
ll~ rcrfL"CI in $Orne or all the activiti~ lll'C'J1.-d CMMI is o model used by variou:i organi:,at' .
ltwi1c cnch o f 1heso customers lo reveal lhi.:ir
for th<- Pl"\ll'C'SS C);l"CUtion. On the ·othl-f hand thi: dcYf&opmcnl ofsofiwnrc, product or service. · ions 10 improv(' iheir procc~s while minimizing the risks in the
)ltRk<"hoh.k~ roll- is 10 achi(."Vt project ~mi Is such \'is ion of projccl (the way the product should be .
n:,. s('lf\wan..· tester. qualit)' checker etc. , dcvclopcd) 11lc sotlwnrc development organi1..a1ions can be k .
. mcla•modcl, ThiS meta daia is go db ra~ cd depending on the quality of produclS tht:y dcvdop
Tools and Ttthnoloizy Develop a lisl of n.-quircmcnts.
1 : : r e needed to be sa1isficd by the org:~~=tio! ccnam sc:1 -~f syst~ms and sollwarc c~~incering capnbiliti~s.
Tools and tcchnolo&>· oflef$ h.-chnical suppon to Smt th1,.•se rL"quircmcnts uccorJing to their lo remnin on this track, each or anizai' .• as t~y atuun \/anous levels or capah1hty as wdl as matunly.
pri,,rilies, Hrftee1 • odel . . g 100 is rtquircd to develop a process model. b.1sed 1hc guidelines of
technique which can bC" uSl-d for C.lrrying out the •
capability motunly m mlcgration, The model is given below.
ac1ivi1il."lii. It will help people in dc1cnnining Lhc ❖ Mnrk thL" unccn:1in areas.
solution for the is~ues. For in51ancc CASE tools (b) Lari:• and Complu Softwart Projrds
hetr,s in so~ ••re dcvcl<>t'lfflml. FORTRAN is
lflhc Jlrojl-ct is lnrge~CMnplcx, and the customer
well suitl.-d for dc11.-nnining scientific problems.
requircmcnls spccifictHions is considered 10 he the
6. Me-lltod or Ttthnique- ·•••·······•·········· ·· ·-···--·-·-··-··-····-· · ··-·· ·----
sot\warc engineering u.ction then the tt1sk set would
Mcthod or technique rdcrs 10 the approach optc.-d include 'the following tasks,
for carrymg and the la.~ks with the help of tools ❖ List all the customers.
ond tcchnOlogies. For instance. ObjL-ct Oriented
❖ Instead of gathering them together, invite them
-Analysis (OOA), bin•ry search Cle.
7. Relo11onshlp separately to gr.ssp their vision of project.
❖ Build the requirement Jist for each user.
Rclatiom;hip refers 10 I.hr link lha1 exist between
❖ Refinc·thcse requirements.
the activities. h helps in the cxecu1ion ofactivities
in st:quenti.:il manner. When: in the output is ❖ Aller refining, suitnbly develop a final list of
used u input for the subst:quent activity. For requirements.
instance, debugging activity is performed after ❖ Provide ~is lisl wi1h suitable priorities depending
error detection.
I.
on lhc quality Of deployment. o· Project Requrcrr,:r<s Mcas111:.-.nB Coofigintion Proa:ss ....
Ot-i-■iutioaol SCnctore plaming m:magemc~ . and anafySB management proc.luc:1 QA
Sort and guther 1hem sequentially, so that they
Organi1'.ational structure refers to the team which can be applied accordingly.
should he manag~ and communicated at the time - P r o c t :ssA.n:a
❖ Prepare a list or constraints which are ~bable
or software development. All the team members when the product is being dt.-ployed. Fifln:G,.......,..,tllo,.,_A,..C.,-litf s.-it
have their ~-pecific ro&es and responsibilities. This
❖ Finally end up the session by finding the methods The above figure is also n:fcned as a continuo11s model. Herc. 1he proct!SS area is plotted against the standard
type orstructure leads 10 succcssfuJ development
or product for ex.ample. team lcadcr managc=s and which remain useful in validating systems. 1
kvcls, rangin~ from I to 5. However level ·o· is also conskkretl to ri:.-pttsent the lowest of all. Eai.:h le, d and their
controls 1hc work flow of activities which are equivalent values is cxprl!SSCd ~low. As a custoJMr, it is pttt~roble that ~1 ~~ani:t.ntion belongs to CMMI level 5
1.2.3 The Capability · Maturri', which indicatl!S that it is successful in terms of providing services and sausfymg cus1omcrs.
alloned 10 t:ach individual.
Q13. Deline• task aeL U1t the entitles of task
. Model lnt. .ratlon (CMMI) j
Ltvtl O : lncomplfl•
fft for the following, Q14. Whatls CMMI? Explain about CMMllevell.
(•) Relatively amall and simple projects At 1his level, there are two possibili1ies.
I - Paper~, Q2(b) I JanJFab.•2:l(R1 I), Q:l(b))
(b) Large and complex aoftwaq projects. OR 0) The process 1m:u (along.t-11.'< is) is~ pcrfonn'--<l.
Answer : (ii) The process aren bus not itehievcJ th< targl!ts set by CMMI for lc,·cl 1's t.:upllbility.
Give an overview of capability Maturity
TukS.t Model Integration , Which level 111
Levtl I : Perlorn,rd
A tas.k set is usually a collect.ion of tasks to be: organizatlon, a, • customer you would
applied in order to obtu.in the n:quin:d output from the prefer and why?. • · o.c...11(R11), 0:11•1 (i) The laslt.s Spl4Cilied by the CMMI at ~ f f i level ha~c ht.-en at.:hiewJ.
software t:nginctring action. (ii) The: work tasks required in d~vdupi.ng a given W\)rk pro<lui.:l an.: $cl.
OR
· 1 Cll'ullAl
WARIINIG: Xor11/Pllotoc•yl11 If 1Ma Nil• SPlCTRUH flLL-111-0NE JOCIRNflL FOR ENGINEERING STUDENTS
.., IC!. Al,- flttll4 l"llty It UAllE t1 ,_ LEGAL proctNiop.
z& t • •
i'\-~ -- - · · ., ·" ~~ 'vJniir1mr~
_>:14
:_'.":""_ _ _ _ _ _ _ _ _ _ _
Lt•,·cl 2: J\1111111c,·«1
:-
(1)
(11)
__;
9001 .
c v.,,,,, of Process, Process Models
\Ill)
"11h lh,· l"\f'll' t 1,111,m, 1\I ,1qJ,11111al11m
Ill... dl·\d,., ,.,, l!l\111\\.· J Ill ,h,· !'1•"-'llll!
IIH h,l\l'
111. ,l,1h.
OR
Write about proces s assess rnent.
1/;.rt,·, (Jri/_1 7;,,,ic r ,r>i't•., ., Al(C'S fl/h ',U)
(t,cinl :o anufRctured). !lyslcms as well a~ services dcl: 2
OOO Sla~ard 10 reach quality peaks in tc:TTM oril,
9()()1 : 2000 specific , the qu,lity m,n;g, ,vcrtd
k1P"'cot along with the eu.§tomer's Hli!lfaction.men
hy II.
t requirements for a given orpni1J11ion ~eking
producL1
--
~ Caf'lt,ilifY 1rdutccl'Ul"'e, mk'r111Ccs .;u,d .:i>ffloonc-nb-
~ '4.-.dcl """i..,,.,.._,. 1CMl.lll ao !ht ham of ~
Sott-:att design ~ 15 XI 1tcnlJ\.(" rnx.;:--. ..
......,_ ~!""•ri.: G,.,.Js 1s.:;1 and !ht.- rdal<d Sr<-¼ (b) e-.n..... of pro,id~ """""""' tits, an, 11
..,._-t..-.. 1SPl r,qwrrJ for proja.'1 pl.tnning. Requir<m<nt Ami) sis Phase. • through • h1ch~qu1.r~;!!cnl5 J'-'\Cumc-:H •:,; R,;; "
~formtd to ~l!fl Jroun-:'L
Coa>ale pro/<'<1 ~ •hd is - oflh< (c) Assi~ r,:sponsibilities to <><h md t\'ffY
•proi...~.c as F«dlls:~ m::a,.tbcftarrl:hftc, l. lapt,anta da aad l au Tad-c PM-.,
">Orunil Oft • project.
""',..,~-..i;
@O&l
..
1'1,d,/li,m it,po.:,ri. :~--
n.,..,._.,,.,,,_.....
-
(d) Pro, i.l< lninifl8 to""' p,,.,pl, in\'Ol\-.d in Design Plw, ln thi:s phase. Jielua.l co..lr lS Jc-\cll'.'r,oj ~m~ .a
di< proja.t ; ~ .____...::;'-T---,-- _ -:--...""'_. ~
--_-.. ~ ~ t \ : is,Jl._'lft ..b :.bc ~'U tS .Jc-\..:."~"\J
$pc:A:fn"" "' iorcod!,aaJ -as lollo,,-s,
l <) C ~ ~ L .cacb tmitarcom ~ m tr tS n:srcd ~o.il, ti.iu..11~ SUi...h
I. l'N;,<tC-l ioe •! ,-------:- --:-~""'1 1"1 • .-
ldmnfy sul;diold,rs tlw :u-t nttdcd for l:CSbDI tl allcd uml k:Sllng. ll cr~u.."'e\ dut :nJ..'\tmum
1, 1 - . . ., th<pn,_,,,:t,a,pc. (0 lmpl<m<nl:lbOO aod Utur ~ .-!-•·• moa .ardcla::a:i .anJ cnurc .:NC i:, total h~ :'-',k"" tn~
1t,1 E.sum.ai,.,. of wl attribulcs ud • ort
pn>lX1
projta ~ .,......,.. at'2 and include
them in it.
Testing pi-
~C<!WII paths., dx .:ootrol =
t<1 ~ ofhic- ~cit afdtt proj«t. t&) ~(oaitoriag and controlling of wo rk -&. Tadac~
1d1 C"""""" tir C"1IDIOOo of dfon and 000t pro.:b:u.
E,........,.,of. .orkproduru in,.objccti,-.
Tcstin& Plw< TdUDj i:s • mJ.jor l~ U \ It~ ior ,\lft"'-.lrC
of, _ ~ (b) dc:-\:c:lopmalt .in,J !l5 m..tm ftn.." tK'O u. 1" .kt«t ~~ .......
l. l'nj,,cr ,,_ 0.....,..- "'Yso tlw Ult) .-lbat to tbt d<scriptioa cm>n tm.1 0.."\.."'16 , ruJc ~ o . . ~ a -..•rt-.~ Dur.n~
fai C-U.o<'lw i!,:,;mt!~o (lbtpn,;,a_ of tht pro.-=. d i e ~ llk.~ ~ Jina.J.~Sti J0J ~~ Jci1i:;,.'l.
1• 1 ~ o l r w o flbt,..,;..,_ m Ano..h@ i.-.,:1.._1 0""-;.,.-tht the OUl'p,ll n:sults tn lhc form ~f ~e,,n..:tl ..k..'-...1."nC'flb
Jc I ~ of• om - piao. snrus of th, proja.t v.bcrcti. for th(.:..,~ phl..ic:. th< """t;w _.. .1 ...•mr....:..-r
IJ1 Lial>or. o( JIN:,CCI - .... l. 0-..t, 0 D<iafd , _ ~ Hen,..~ ~ Dul 1..-.,J~ ~~l aT\.•f'S J\tr:t~
U'aQ,;m of a JlWD tba: and\.a tkills md This~ goal iac:ftldcs N'U gmttic- practioes. ~taiot~Ph l5lt coJ.tog t-ut .iJso Jci~t c ~ th.11 \K.:ttr Jt:Im~ :he:
l ~i
!ff'-..,... olc:sd,Jpmcnf ph.lics. 5_...___..,.ucn,I). c~..,..,
,o
"-la:,<Ocal cdf;w ,,..,;..,_
o.-a- ..-~-- pla - (1) Thtl!"ll<ricgoaiilsd[
,..., Diflanat ~ . w-a ~ Lita
fl'Ur Jufc:n:ru ~ p.:s \'.ti !ic,M_g th.ll .:...m ~ ~:.-r.ncJ ~'fl
~• ~ . , .·p:.. hl' •pnlJ<Cl. (b) Gab,,-iMJr maoon~unp ro,"Clllall 5'.}IT\liJtt.it\C~ L
m !ht softv.,n, process_ Cyda
OR
Explain the ove,;,,... of unified procHs model. Tni1111~ion
.
Fl1ura: Dlffe,Nt " " - of UlliliN p
~ ·
- •rv)
.
Pt._-.111
t'R<!lb'Onb,'lbpkcn., t.hilj/;d/>wicn, Motldj
Answer : ' I ~ ~ - -- . . .~ . ---.-Fiwo6-1tso"--,ActMtln
Feb,-22("11), Q,f't
~ "!!le .........~lllo!!!J · - '. .
(I)
The v arious software development ~,css models arc ns follows,
\\'•rerf•U Model
·a:t1. 01--:u••. In <let.all •bout Waterfli_N rw....-.•..-...
C... Papw.&, Q)(a) I .Ja;,.1Feb.-2)(R11), Q2(bl) •
For answer refer Unit-I, Page No. 19, Q2 I. . OIi
Write • ahort nota o n - - • modti_-
(ll) lncnmHt•I Process Mod~b
AMflr:
The incremental model divides its software development process inlo certuio ~umbe~ o f increm ents. f.lCh
incrcrncnt compri~ o f five phases of waterfall model. At 1he end ofeach i~rement, an effcc1tve module ofa &i'ltn I · W~terf•il Mod•I Sep.-21(R111. Q2(bl
software is developed. · ·
·Watcrfal~ ~~cl re,;1;;,":t,one of_the ~ t strateg~ ever applied. in the development ofa software. lt is also
Following figure depicts the overview of incremental model. !· knoWI\ u ~la,Jic _ife eye . ti, wtnch d1vuics the cntm: software development process into ~vc main ph~-s.
FoUowing 1s the d1agrammat1caJ representation of waterfall model.
i I·
J1
j Conarrucuon
I F...,,.__,._I_ Oepbymtnl
The waterfall model was proposed with feedback loops. However. most of the orsanizations avoid 1h~
r....., ....,_,_ _,1..,_a111- loops. Thus this model ·is a1so called Linear Sequential Model.
cuo Evolutionary Process Models I. Commu ■lcatton or Rtqulnae■ts PUie
For answer refer Unit-I, Page No. 23, Q25. In the first phase, the customer requirements~ rcuicvcd 10 gcncr.rite customer n:qui~mcnts _spccitication.
.Hence, all the stakeholdcn (or the end users) arc c:illcd and ~ir vision abou1 the end produc11s wquu1.-J/collcc1cJ
(iv) The Unltl<d Proc... Modd and_llocwnen1cd.
Unified Process or Rational Unified Process model ~oven five main phases, lberc arc two important facts about this phase i.e.,
I. Inception 2. Elabontion (a) Project initiation and .(b) Rtquitt:mc:nts pthcring.
3. Construction 4. Transition apd 2..
s. 'I, An•~• ls or Plaanl~c PII•~ . d 'scd The main addrnsablc: il!luc:s in this phase ore us tbllows:
Production. In this phase, the entire J)l'OJCCl SU'llCgy lS ev1 .
. .. ,.. (a) The entire project schcdult is cstim.:ncd. ·
These five phases arc bound to framework activities which remain common to,;1lmost all o lder softw.e
development processes. Following is a diagrammatic ovcrv~ of unified process along with the five generic softwart (b) A thorough analysis ofrcsour« rcquin:ments is mad c.
develo pment activities. ' · (c) Nu~bcr of pc:opJc involved io the project is d-=tcrmined.
la• Cllllllll act. A - _ , _ ..Uty ta UABU ta ;ace lEGAL ,,........ . (d) Durntion and c:<p..-ctcd cost oflM project Ott estimated.
.WARMl•G: XoreJ</Pbetoc-,yi"I of ..la -
· -.ur, SPECTftUH fill-IN-ONE 'OORNfll FOR ENGINEERING STUDENTS
-,. I~~-., • ' . • -'--= 7 6..'"\. . rlilillili\~~ ~&:r'
2;;:
:
0;_~_ _ _ _ _ _ _ _ _ _ _ __;s::;O
::;FTW
~.:,:A
;::R
~E:.E
::;;N
:;.G
:;.t_N_EE
_R_I_N_G_IJ_N_T_u_-H
_v_o..;e..;
R;;,
AB:::A~DI "~
!llf•1 : lntroducl ion to Software Engineen
·~ ng, A Generic Vi
~~
Thl.!n:forc . the mam rocu., or th1'- phase n:n1e.in.11; <'n. iew of Process, Process Models
21
(i) Est,mati('ln Cu,n.1~11,1: C(Xt
Oc1t-rmmc nhjcn1v""
Iii) Sch..- Julin~ and ttlt~UIVC!I
oon!llnlml!'I
{i1i) Trad.mg.
3. M odclin,t rha.st'
In th1 ..: pha.._"-C. lTh.' -..-ntirc project ~«.-nano which was anab7cd
in the second ph35(' i~ m,xkllcd diagrammntic..illy.
To do so. the UML diagrams are used. Moddin~ n..-mains imp.,r111.
nt for ~ucccssful comrlction of the project. lne
1,,·o imponan1 a.spe,:ts nf thn, pha.1;c are. \I ,
(a) An:il ysb and
(b) 0.:.i!1", I
4. Conslruc- tion Phu~
llus i!- u$ua\l~ the coding phase of the s,,fh,·at'(;. Htff.
e~h component of the software is coded and is
I
suitabl), mtcgr:ncd. O°"-r the coJmg pan is cflmrktcd . the
most important acthi11c-; performed dunng this phase
arc.
entire so0ware is thoroughly tested. Hence, the two !I IV Quadrant
(a) C()(i.ing and
i
(b ) Tcstmg. I
S. lnploym~ nt Ph•~ I
This is the final pha~ m whteh the software is usually
delivered to the end users for its effeetin
implemen tation. Later. feedback 15 collected from the USCTS.
h modified_ Hence. the imponant activities im ol\·00 in this
lfthe software fails to meet the~ requirements, it \
pha.w arc.
ta) Perfect delivery
(bl Suppon 1 Oe-.ck,p. ~enfy
(c) fo:dbacl:s . DC:a•k-.d product
Though the above software development process looked quite F;.,.rr. Slafll of Spiral M-
straight f~·ard, it is now rarely used. Even
the organiza1ion.s.. which rcman-.ed loya l to this strategy,
s tarted raising serious objections, which added to its failure. Thc four sectors (stages) are as follows,
Probkm1 Encounte red in \\ atufall :\lodel
(1) Objtet Setting: Specific objectives for the phase of lhe
Following are the few factors or problems, cncoun~ project are defined. Cnnstr.unts on the process
d b)' the organizati ons implementing this model. and on the product arc identified and a detailed managanc:nt plan
i. Customer s art: involved only during the customer requireme • Alternativ e strategies, depending on .the risk, may be planned.
is dra\lt1l up. Projcct nsks ~ i<kntifo:d..
nt phase. If the customer addresses dissatisfaction
after delivering the project. it imposes higher cost to the organizati
on. The customers howcvc-rdo not describe (I) Risk AsH.ssmt nt and Reduction: f0t each of the identified
their requirements in just one stroke. projc:ct risks. a detailed analysis ts carried out.
S1eps are.taken to reduce the risk. For example, ifthctt is
2. It requires patience: fro m the customer bc:causc, a working a risk tlw 1hc: ~wremen ts arc inappropru.Lc• .i
,·crsion of the projecl is made available to the prototype system may be developed.
customer.; la.Le during the project life span. Hence, identificat
ion of a major problem would lead to disastrous
rcsulu.. (II) Development and Validation: Aftcrthc riskevaluation.adcvc
lopmcntmodd forth.:system ,s thfflcho5cn..
3. This i!i. a time consumin g process and leads 10 confusions for example, if user interface risks arc dominant. an appropriate
among project members. Such projects cannot be de:vc:lopmenl modd might be cvoluti ~·
trul) i.:stcd or debugged. prototypin g. If safety risks are the m·ain considcra#,ion... dc"·clopme
nt based on.formal transformauons nu~
· be the mos1 appropriat e and so on. The waterfall model may
be.the most appropriate de\·clopmcnt model
1.3.2 Spiral llodel if the main identified risk is subsystem integration..
Q22. Explain spiral model with a neat sketch. What can you
(h) Plaaning: 1he project is reviewed and a decision is made whether 10 continue
v.;m. a further loop of the
say about the software that is being spiral. If it is 'clecidcd to continue, plans are drawn up for
develope d or maintained as you move outward along lhc next ~ of lhc proj'-"CL
the spiral p....,..s llow? While de veloping the software. the: software" toun progttsscs
Answer : around the sp~ The fu5t U'3Ck in the spin!
(llodlltf Paper-I, Q:J(b) I Nov.-15(R13), Q2(b)) pYU the development of producl specification. The consecutiv
Spiral M1,CS,i e tracks around the spiral lS ~ to ~te proto'? pc
Mlile ~ i n g through each track. In planning region.. the prog:ramm<
rs makes.somie :idJUSUnents m thi: proJccl
l1k: 5piral modd for software engineerin g includes the features plan. And lastly.·dcpcnding upon the customet rtq\!in:ment. cost
ofclassic life cycle and prototyping with an and scheduk adjustments 3fe maJI!..
added .advantage of clemcnt•risk aru,.Jys1s. h provides
a framework for the design of software production process Advantaces
with due Cl,n~1dcrat1on of nsk IC\·cls that m,1y incur
while dcs1gmffg. 1nc spiral model can be used as a reference
for c ~mg 1he final ck\.clopmenl model. l. ~t ~h st.age, the set of requirements can~ changed
tkpcndin~ on~ requirement.
R.ls.b in software prod~ion may cruic problc:ms in its
development and can effect the product quality.
2 Identification and rc:ctifica1ion or risks can be done at earl) 5
ug~.
11\C~ n~ks ffi411y rci.ult m th.: failure of lhc ~fl ware
Opt:ration or expt,-nsiYe softw.&1e rework_ Spiral model identifies Disadvantages
and el1minato lht:St high risk problems. I. The product is developed based .
~pir.11 model i.s cyclic with each spiral cycle consisting of 00 the commWUC.ilion done w,th cus1oml."f. Thu.", improJ>',-r commumo uon
four st...ges. Each stage is represente d by one may result in an indlicicnt product.
q~ranr of <..artesian d121gram. The radiw. of the spirJI shows
the cos1of the process, While the angular dimehsion
dcootc\ tllC progres1 m the dt:velopmcnJ proecss. 2. 1ne product can be 5ucccssfully obtaintd if propa ri.sl ~mtnt
is f.Joni:.
WARNING: X0<111Pbetocopyi"I of tllil looolr is• CIIIMINAL oct. SPECTRU'1 flU-IN-ONE JO(JltNflL FOR EN<IINEERIN<I
Any- faun• pihy is UABU Ill f1e1 LEGAL proc••in91. STUDENTS
f
I
------- , , ., ·,1 ,,
nee
ll TW ARE ENGINEERING fJNTU•HYDERAa~o, 1 • 1n1roitucllon lo Software•E
SOF --- l)Nlf• ' nng, A Ge,.,,ic View Ip p Mod t
0 23. What ts a procHs modol7 Explain about Mtthod of r f'f'totnllnJ
..,.,.
1,..c, of Protntypln2
•
Mmlcl O'lltr W•terr ~
• 11 I 1ndtl
o rocess , rocess es 23
prototyping model In delall. 1~ , 1111, ping ('n,iblc!I 1hr dcvcln~r lo cre111(' .1 A ·r he prn1otypc Models g,vc II pro1otypc lhat
Ann,•r :
,,r
nw~kl 1hr.!1t1t\wnrc 1hnt mu!II hr hmh. l l1e fllO(itl (i) I interactive dialogue~ for thccusiome l~ n ~ u.,cd In 1lluscratc inpu1dma formats, messages. rc~rts
..:im tl\~C' ,,nc ,,f1hr thl"C'C' fnrm!I, "~jc,ns 10 the cuslomcr and for gaining a~ Lo; is D \'aluablc mcchani'im for explaining various proccs~mg
r......._. ~too.-t ~: Wn1erfn ll Model. tter 0 ndtrstand1ng of the customer's needs. This is not possible
\1) A 1'1()l'fl"'>h~)1l<' urf'C-~n,'.-d "'.® cl thnt depicts
A r'f''"'~~ nw'(ld i:i- " :-<'.'1,,f phll"'e$ 1hn•nt1-h "h1d1 hun,nn-11111chinc inlcrnctk,n m" h~m1 thAt _enab"' The prototype cxr lorci. technical isimcs in the . . ,. .
11 l'"'l'-''1,· an l"C' <'\l.'\' ul,-J ,, i1h h'" \'\,)r,1. hiti.h 1.1nAlily flntl th,· u!lcr 10 unJcrslnnJ htiw !luch 111tcrnct1on Wilt {ill sny, the rcsprinsc lime of 8 device co ~ OJ)osc:d produ~t. ORcn. n ma~or des1~ dcc1S1on will depend
\\ Uh.),," ,·,,·k hnt(', h r"" H~ ~u idc-hn~s t\'lr It,,. \k·• on, tolypc may he lhc best, o r onl w nlro er or the r flk 1cncy of a sorting algonthm. In these cases.
:,r
' "'"'•'rm<"tlt II ('f\ll\'\." I \ '('l'l('fall~. ('\'<'ry' flt\"lje'.'\.~I~~
\Ii)
O\.' C\lr,
A wmldng prolotyre thnl , implement!! s~rnt
11
pro , I 1·ssues
icchmcn ••
in lhc pro-"d
r ,.,.. prodyuct.ay
10
rtsolvt the 1o;s uc. The waterfall model does not explore the
A f"'rtt,· ul:u rn,·<'~ m\'11.kl $11i111hlt" fo, i1i: n-qun,•m<'nlit !IU\l!le l of the func1ion n:qu1n:d for the dcs1rtc1
anJ ,,,1•0,lrain1,.., S,,nl<'llmo. thC' ,~ J«ll\>(":t ,,f I rn,"11:~$ ,:1011PI< .
!lt..l llwa rt or
m.\Jc-1t::\n l"<" ,·h:v,.._"<'J JcrmJll'\ll, Of''" the ,·hAl"3\·mi$1i~ The process of s~slcm dc.velopmcnt begins wilh the im1ial requucmcnu laid by 1M users and customers.
<'f 1hc- l"''J" '' · C h..,"S10,. • t-c-ncr f"\"}\"('SS mN<'I ii: ''Cf)' (iii) An existing 11ro~ram th111 performs pan ~ •II ceording to these rcqu1rcmcnts, scv~ral alternatives arc derived which can be KCCS5Cd directly by customers and
cm,,·u,I ~t~\fl" ,k,'('~in.g a ~•tl""A~ ~YS1ffll, of the functions dcJircd. The features w1IJ be
~ -Customers and ~scr fi~al_ly decide from the various altema1ivcs and agree upon a particular allcmative whtCh
• improved in.the new development elTon.
rn,,.i,-ptna Moo<'! . (hen passed for d~sign. Simil~r to !he rtquirtmcnts and output given by developers. designs arc also cxploccd
• Prolt>1yping begins with requirements galhtting, ~ the final design 1s chosen wuh consuhation ror customer.
•4. rn"t,fN~T'(' i~a r...~L~up or mOOcl ofa 50fh.\'3rc Developer and customer meet and define the_oveT'III
r n'xlu..·t. In crotra.,110 a simulati,"' nl\l<kl. • pro101ypc .,,.,.back> . , .
objecti\'CS for the softwnrc. Klcnrify whatever rcqu1~~T'ICl1s;
i""'"'JX'l"31~rom~l'<i: (\f thc ac-tual product ~'flially. llrt' known and outline areas when: further dtfimll~ l$ 1· n,c c ustomer seeks for 11 quick working version with rew fut.es. However. prototyping model needs that the
a J'f\~Ol)'J'C c.~hit,it:- limitcd functtonal cap:1bili1ics. low · system is rebuih and high quality is maintained.
mandatory. A "quick design" then occurs. The qutck.
rdil'lt,ilil) and inrfficimt rcrformancc. While developing the prolotype, the developers compromise the implementation for its quick work~g.
design focuses on a rq,rescntation of those as~ or ' 2-
RH.« '11 ~ for Ot,'flftf»ta« Pretotypt the software that will be visible to the user (e.g., mpt< However, many times these compromises cannot be retained when protocype start working thereby lading
approaches and output formats). The quick design leads to to inaccurate design.
ThcrT a'"" sc,·cra.l ~•sons for developing a
pn.,tot)-,-.c. One imrorw,1 reason is to illustrate input data
the construction ofa pro(Ol)'J)C. The prototype is evaluated Q24. compare and contrast between Wllelfall model and spiral model with neat diagrams.
fonn.1ts. ~ reports and interactive dWogucs for by the customer/user and is used to refine requirements
A,11wer • 0.C..-11(1"11). mt•)
the.- cusiomcr. This is a vah.1.1b~ mechanism forc,q>la.ining
,"fflOU..: process~ options to tht customer and for gaining
a hc"'ttcr undersl3ndi~ of the customer's needs.
for the software to be developed_ A process of iteration
occurs as the prot0type is ..turned" to satisfy the needs or
the customer alont with enabling the developer to better
- W1terf1II Model Spiral Model
undffltand about what needs lo be done. I. The flow from one phase to another phase is in I. The How from one phase to another phase is in
Tht second reason for implementing a prototype
is to explore technical issues in the proposed product.
------, linear fashion.
2.. Changes ar,: very difficult to implemenL
itcta1ions (spirals).
2. Changes can be implemented easily.
O ften a major design decision will depend on. say, the
3. Fixing of errors is difficult l. Fixing of errors is relatively easy.
response time ofa device controller or the efficiency of
a JOrtin8 algorithm. In these cases. a prototype may M 4. Easy to understand and adapt. 4. Relatively difficult to understand and adapt.
the hcst.. or the only way to resolve the issoc. 5. 'Risk management is difficult. 5. Better nsk managemcnL
The third reason for developing a prototype is in 6. Suitable for applicati~ns that need development 6. Suirable for component based development.
situations where the phased model ofanalysis ➔ design from scrntch.
➔ implementation is not appropriate. The phased model 7. It is used for small scale systems. 7. It is used for huge scale systems.
is applicable ..i.<hen it is possible to write a reasonably 8. It is economical to adopt. 8. \t is expcnsi,·e to adopt.
.comple1e set of specifications for a software product 9. Dia:nm
Ncualiofied 9. Dl11ram
at the ~giMing of the life cycle. Sometimes it is not
possible 10 define the produc1 without some exploratory for answer refer Unit-I, Page No. 19, Q21. Figure: For answer refer Unit-I. Page No. 21. Q!2.
.. devclopmcnL \\'bile sornttimes n lS not clear how to Phases of Waterfall Model. Figun:: Stag-cs of Spiro Model.
procctd with the next cnhanccment to the system, unol
Q25. Explain ·1n detail about Evolutionary proc"" mocleL
(he current version is implemented and evaluated. The
(; ..-22(11l11}, azt•l J ....,_tl(llt1Sl, Ql(b))
approach of exploratory development is often used to Answer:
develop algorithms 10 play chess, solve maze problems
and to accomplish other tasks that rcqujrc simulation of .lftlMttonary Process Modtl vdo a hi h quality software itl!mtivcly or incn:ment~lly. lt
in~Jligcnt bchaviow-. However prototyping is DQI limited The evolutionary process model t~n~ to de ..~ of !vc'l\lpm.:nt. Th~rc lire two common e-volut1onary
10 theR si1uations. is used lo highlight the flexibility, ext(flSlhlhty and'¥'"..
p,occss models discussed below.
The nature and extent of prototyPing to be
pcnormed on a panicular software project i/depcndent I. Prototyping Model ·
on the na1ure of the project. Nr-w versions ofthe existing ' ,, Q2l Topic: Prollll} plOg Mood.
For answer refer Unu-1. PagC' No. --· '
product can mosi likely be developed using the phased
life--cycJe mod~J with little or no proo>typing. 2, Spiral Mod•I
• r .r1••• 20 Q~2
For answer refor ~njt:l! Page No.. • - · ENTS
WAIIIHG: X••Jt/Pltot-yiDt of did - ii a CllllllAl ect An,- foullll ~ ii ~IAllf to I • lf&Al ,..........
·-1 r I OCIRNflL fOR ENGINEERING STU
SPECTR011 flU-IN-ONE J
WWW
24
.,~;; ,_ <;,P jp-t~ .~ ~
1 3 3
SOFTWARE ENGINEERIN0
(JNTU
·HYO ~
~-1: introduction to Soltwar~ e...... .
llfll'' ~·-·--· - ·-- ·~ ..,.11eeri11g.A ~ LllUJiWl,~{l ¼}/.)J
~,
• · Aglle Method ology
26
z;;RY SHORT Q U ~ ~ Praoess. Praoess Models 25
Q · What Is aglle7 List the methods and princlplH of 1glle. ~ - - ~ ~ = S T I O N s ~- - - -
Answer :
oenn• the term software an~ H SOLUT IONS (VSQS)
g1.
---
Model P•~r-l, Ql(lll •o~rt
~,,..,,,, ' tnvlne.t1ng.
Agile
crnphasi,.x m is· 0 1~roJl'Cl
·
~onngcn~cn1 ml·thodol~gy that mnkcs use of short dcvclup1~lcnt cycles
~~In gcner~I lcrm~_. software .is rcrcrrcd a1
um\) on C('ln11nuou~ 1mprcwcmcnt m tht dcvclopmc-nt of" rmtluct/~crv
cRllcd 'sprinb'
,cc. 10
Jl·v ·I Ag~lc "'?:,. rn_t.'-teally <k.·,:ig?l\.-d for SC\RWl\rc indu:ri:try. Rlrt to..lny allilc is v<fl eompulmg device deliver, 11,c de . an "'&ani,...i ll<l r·
hdng used in JiOl'rrt1t inclw1trici; fo, lhc • Il
tx·i~ 1°PnlC.nt ~I 1_tw1r l'':"lucL" And services. ('s nttilc mcth\xlo\ogy ii; highly rt EnJlnttrlnR sired rc~ult b o imrtructions h' h
cmCicnt Ami cnllnbomlivc in nature, it ii , YCOft!idering v . w re when citc\.'.utcd by means of
g ttr,phrd m indu'itnt!.( such as constructiro. finance. maticcting. ndvn1i5ing etc. s,11"1 . anous PfOtcssc, and functions.
Soflwarc cngi~cring ii. defined a.,e5tabli"i..___ _
Tr-jdilionnlly. o wntcrfall appn.1ach was u!led for lengthy projects whcttin
'"l'l'"""d lo b,:. d f d I · L - the customer rc4uircmcnb . ~omicRII rcns,ble and r<liablc sonw .···-and•Jll)lication
.
J. • c inc car Y In Inc pt"OJl"Cl • •
and the rcqmrcmcnt s do not chnngc thcrcnRcr. Dul. II 1s • ar, 1ft · arc th.at can run ffic.
1
. l "' m m,my !i-llua1mns, it ii. not pos!-ihlc 1ri define all the requirements nt the ol\rn obscrvtti ~ Wh•t ar• the char1cterl1Uc1 Of IUooA...,._ ofSOOnd engmccnng princi~I~ for obtaining
stan of the project u many rc,1uircin1:nb .... c icntl on an rul-rimc machine
. --.....,.7
:~:ticmc~~ ch:mgr ln~l."f due to cha~lging technology and competition. However,
m.'Ct.:s:,.n~ ch11ng1..-s to lhc l'\.."'qturemcnls. but requires a lot ofdft1c and cost
1hc tmdilional waterfall model can ,.,,,.,,., ' . .
=~n,
rcqutn.-d. These dOOicalcd groups meet a limited set of rcquin:mcnts and deliver 1. Customizable Software
the results in a series of"Rdcasci"
~~~ ~ 2. ..Softwnrc Doesn't Wear Out"
.
Some oft.he popular methods of agile arc, 3. "Software is Devel d or En inttred· it is
I. Scrum • Write ahort notH on any two ~ rcd
in the Cla.~soc:.al Sens,"
03
2, Extn·me rrogrnmming (XP) AfttWtr:
3. L<:an Development The two sofiwarc applications arc u follows.
4. Agile Modeling (a) · Appll<~ti9n Softwart
5. Rational Unified Pr~s (RUP) Applicalio? software usually resides on a sinale System which is ~ pable of satisfying
,eqwremcnts and involves managemcntftcchnical decision making. only businns
6. Dynamic S)'Slems Development Method (DSDM)
(II). Netsourclng
7. Crystal Clear
, . With an unprcdic~ablc growth of lhc internet, the software enginec~ arc
R. Rapid Product Development (RPD). now forced 10 look. forward
· for the development of simple as well as more sophisticated softwares so 1h11.
it is the c:nd user who can uak.c
. larger benefits from such applications, as internet in today's worki.
. These methods have their own unique •PP,lications and clements. However, is not only ac:ttng like: 11n engine bu1also as
pnnc1plcs. they arc based on the Agile the n)ajor source for obtoihing large volumes of data.
,
Agile PrlnciplH , 04- Wh•~ Is legacy software?
The various Agile principles arc as follo~. ~wer : lllodl,l...,.,.._ Q11b)
I. Emph-.1lzt m~n o~ Customer Value: It involves· employing the business Legacy Software can be de~ncd as an okl software developed in the put. This software
driven prioritization or' IS still bcmg u."k!'d
requirements and features. iJ ~ present era as it perfonns essential business activities. It may include procedure whlch arc no longer relevant
2.
.
Iterative and Incrementa l Dtllnry: It involves providing vlluc to the
. in the newer computing environment .(5 businc5:s requimncnts are dynamic. the legacy
sof\w~ :i)<slcm undergo
customer by "Chunking" project continuou! modifications so as to make the software adaptable 10 the new busm<SS
delivery into small increments. rcquircmcnlS imd to make 11
. inleroperable with the current computing environments.
3. E~perimen tation and AdaptadN : 11 involves early testing ofassumptions
and building working constraints QI. U.t ind define the varioul IIOftwlre mytl,a.
to seek fC1:dback from customer and refining the requirements of the product.
4. S.lf-Organ lzatlon: Team members &hould moke a decision among themselves
.' Answer·,
rquding who should do
the work and what work should be done. The three sollwnn: myths on:.
·
5. C ontinuou, Improveme nt: Team should reflect, learn and embrace (I) Maaagemen t Myths: These: Qrt them~ believed by !l>fiw~ nw.n&lcn who
the change, thereby work infonns the o.n: rc::,pons1bk for improving
plan. quality and controlling budg1..'IS. ,
ths
(Ul. C•1tomer Myths:~ ~ urc the my bcrte vtd by•customaS •
who can cithl:r b.: intL-mal ltc:clum:ol group,
marketing/sales depnnment) or c::ticmal to an orgiuuzanon. ·
• • • • • • ' OfM.'1: 1ions believed by RlWl) sot\wtm: pruc1111oocrs.
(W) Practitioner ~, Myths: Practti.ioncr s m)1hs arc ml.SI: p
. · WARNING: Xoroa/Ploe!KIIYiftr of tllilllllll.lo a CIIIMIIAL NI. A■yNO ININI
.,.illy II LIAILE 111- LEGAL ..- . SPEcntUM 'flLL-llf-ON E JOCIRNflL rv
-
..
lflCIINEERING STUDENn
06.
An,wu :
- -
~- ----------~~=~~=.;.;....-'---;;.:;::::.::!!
26
11w: fh -c generic pn,:,ccss framcy,ffl activities useful in developing several project, are given below,
~ -fRE
-
1
. 1ntrod"1ion to Software l;IJqJ
L)lil'!:,..;--~
. NTLY A_SKeo···Q
·Oesr
oefine software. Explain the evoi .
'.
.., ...._~, ~~~\illlllilll\JL~ ~~'TT
,
~_.AGeneroc v,..,, f
IONS
. 0 Process Process Models
27
I'~
I. C ommunication
,..,...,:
Q1 • Vtng role of software.
CMM pro..-idc:s various advantages to the development of50ft~ process, even though some of the diaad,. Fm' answer refer t.:nil- 1. Page ~,.,. -t fJJ
nntages ofCMM model arise in the ckvclopmcnt of software process. They arc as follows,
a,. ElabOrate on the changing nature of software in detail.
I. The- CMM model docs not aJlov.· risk analysis and management as the: key process areas. Whereas. the risk
management is a proccs.s thal helps to identify the potential risks in the software development process. ,.,,...., : 1~ 17(R1l}. 02fb/j NovJOec..t~R1ll, Q21a )I
lbe CMM model docs not cooccntra1e on product dcvelopmeni. nather it concentrates on project m.anagernai for an~,.c. rc r\!, Lml .. Page~,,. S. ( ).i.
-."hich docs noc allow an orpnintion to utilize the technologies such as structured methods, prototypinc
l.
QS;
md toots for Slalic amlysis.
The CMM model has complicated rules and procecturcs for small orpnizalions.
What Is - . . Dev■lopment Life Cycle?
--er :
Q5. What is a legacy software? Explain.
(Oec...19(R16), 01 (• 1 I H<rt.1Dec:Al(R16J.
Aaswe.r : QI. Describe the various software myths. (F~.-22IA11). 0 1(• 1 ! ~ J 1 - .1t1R111. 02 1
. . . .,.,.... Q1(1it Ii
Softwan: Development Life Cycle (SDLC) rcfeo to the overall process involved in the software dtvclop- Ano••: 0.C.-H(.P.111. Olfbl I lllareh-171R13). 0 31bl 1 ~m.c.,..1!(RU}. 03t• ll
mcot. h invotvc:s fin phases namely,
1 for.answer refer Uni1-f. Pagc :,..o. 1'. (ft.
I R,qun-emcna Analysis Phase 1
a,. Whit are software engineering layers?
2. Design~
Answer : (Jan.Jhb.-23{R18j, 01f•I I Fltb.-22fR11}, 0'21bJ I lby/ ~ 91R16}. 011• 1I lib'f-1MR1i t. Q2J a ll
). tmplancntat_.,., and Uni1 Tes1ing
Fo, answer refer Uni1-I. Page ~o. 9. ()Ill.
4. Telling Phase
QI. Explain the software process framework. ~\
-II
s. Dq,loymcnl Phase
G. - P h a s e.
Answer: oic,,,.JOK.-17<R1'l , 02tb11 ,..,r;11-,7 tR1l). 0 -:1b1 1~ --154.R11}. ~ • ll :I 3
for answ er , c ftr U ni1-I. Page l\o W. f) I I. ~
QI. - ■nl the -■nt■gft of pn,lot)'plng . . - t over ...-i?
A,os,nr: QI, What Is CMMI? Explain about CMMI 1.-.els.
The adv..._ of pn,wtypins model av..- w-611 model ..-c as follow,. Answer :
/11 The,.,._ Models &iv•• p<OIOlypC lb■I can be UICd Jo ilhmmc input data formats, mcuages, rq,ons fl')r aM·w cr r.: fcr Unn-1. P~c :,..o. I!. CJJ-1
and inlaactive dialogues for the customen. This it a valuaMc rnocbanism for explaining various prt'.JCeUinc 010. What la Software Development Lif• Cycle?
opt,i,ons, IO the c::uslOmtr" and for aainina a bcuff understanding oflht tullOmer'• needs. This is not po,.1iblc
~
io w...,uiJ Modd. Answer : ,....,.,atA1Sl 01,., t -..,c:h-171AHI Q:]1• 11
/ 1i1 The prototype cxpJo,es 1CchmcaJ iNuos in the proposed product. Often, a major design dcci,.,., willdepa,d For an\wcr refer Umt-1. P:tt~t' ' '' I~. IJ l'J
c,n, tay, the rnpon:,c time af • device controller or the efficiency of a 10r1in1 algorithm. Jn thc,c cua. 0
a prUIOtype may be the best, or onJy, way to resolve the Wue. The waicrfall model docs not explore the Q11 . Explain Software d eVetopment process models.
o,,cbnical ....... ., the propoocd product. js.,p -211R II}. OlJ•J I lb~21lA1a,. 011• 1 l F"eo -221R11/, O,(bt)
Answer: