Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0%
(1)
0% found this document useful (1 vote)
1K views
360 pages
7th Sem Sunstar
Uploaded by
Hassan Imam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save 7th Sem Sunstar For Later
0%
0% found this document useful, undefined
100%
, undefined
Embed
Share
Print
Report
0%
(1)
0% found this document useful (1 vote)
1K views
360 pages
7th Sem Sunstar
Uploaded by
Hassan Imam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save 7th Sem Sunstar For Later
0%
0% found this document useful, undefined
100%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 360
Search
Fullscreen
As Per V.T.U Syilabus ALL-IN-ONE SUNSTAR EXAM SCANNER B.E. 7! SEMESTER CSE / ISE (PREVIOUS EXAM PAPERS SOLVED) f and Desigue~ g Systems e Web housing and Data Mining Java and J2EE C# Programming and .Net < | AurHored By A TEAM OF EXPERTS | S,ese 0 94 sonng tm ononceg SUSINIIG] VEVIAHSELYOINGA TB Z-aoetuve SNOLINIOS BS 4g pasodio) SEINHGOLES ONRIGANIONG TIV OL CHLVOICUG Ijecug (Wuso 99) 61 ¢'Hh: pos saded 0001 : se1do9 30 ON siomny 1 4 pousnama pu 8 vt JQ} WANNVOS WW" i 7 - s1ojeBung SoysHGN| Ae &q puowmny 0 LA AST / ASO “TE UeCONTENTS | Object Oriented Modeling and Design 1-150 > June/July 2011 1-31 > December 2011 32-47 June/July 2012 48-56 > December 2012 57-84 > June/July 2013 85-96 > Dee.2013 /Jan.2014 97-08 > June/July 2014 Los = 132 > Deo.2014 /Jan.2015 113 - 12 > jumesFuty 2015 2 - 126 > Dec.2015 /Jan.2016 127-135 > June/July 2016 136 - 142, 4 & Dec.2016 / Jan.2017 > SunedHuly 2017 2. _ Embedded Computing Systems 7 > Sune/fuly 2014 = 12h > December 2011 * 25-42 June / uly 2012 3-54 > December 2012. 64 D June/July 2013 76 D Dev.2013 / Jan.2014 99 > June/July 2014 100-158, > Dev.2014/ Jan.2015 119-131 > ‘June/July 2015 132-145 Dec.2015 /Tan.2016 146 - 156 D June/Fuly 2016 157-165 D Deo.2016 / Jan.2017 166-197stl- zz let- ptt 901 +01 - 86 16-48 98-18 08 1L OL $9 £9-8F helt 91 StI-T OR- LL Sede 04-69 89-29 99-59 49-79 19-85 ig-es Is- or Shove &€-02 6I-F Lez uer / 9107790 910g Aimgrauny sioz'wer / srog'seq S10z AIngrouny stocwer / 1072¢q Floz™r | e107 290 sto sing Zt0z 1equiss9q T10z 29quiaoagy oz Stngtmy unig Bq pur SuIsnoyaEA WEG Sloe wes / $1070 €10z Atngoumg loz eer y e107 980 Trog Aang young 1107 sequisoaqy Tog AImgoung O1Oz sequaa0aq, 10g aung - dey AAAAAAAAAAA AAAAAAAAAAAA 9 O8-— STUDISAG Wi eULLOFUy “S z01- $6 F616 06-48 98 8 8 oR 1e oL-s9 r9-19 09 PS gor ip or- ez TOE-T ost te 800 - $61 61 LRT Sin 191 est spt Prt £21 9e1 SOT POL = 16 06> LL 94-65 3S OP al Osc-T L102 9102 Singjaumng stored S1oz Angjauny Sloe eer proves 102 Aingany plozwer ys stoz sq, £10 Aingyat chor squ922¢ coz Foz sequiagagy yaung young sto aanjsaqpay iandioz paoueapy j L102 Aingyaung Lroz wes / 910g 9107 sloz wer / loz $107 Aingoump ploc eer / eroz9eq E107 Aingjoung Z10% saqueD9¢] cloz Aine / ung Moz soquiacagq Toz ngoung GPM 9H) SupunuesBory AAAAAAAAAAAA AAAAAAALAAAASAio SUNSTAR EXAM SCANNER 7TH SEM. B.E. CS/IS OBJECT _ OREENTNED MODELING AND DESIGN (Previous Papers Solved) > > > > > > > > > > > >nag axe sung © ‘i290 seys0 wos uapp ‘SEER snod a a a 91 sey Burpipap 220% soiouli puw uoppoyda 's20p pu st wofyo UE 1eYM UO sesND0y SUN, “sf ass Uo sndo] uoNsENSgy :MORSENSAY —“T ‘oUOHE OO ‘ayqysuonss pu 2yqpssyh sono} 2q plnoys aoyovsd SusesuEua azEAyOS npary so asequiep ‘aBenduel semroused v ows) usisap sso a PI pu s2ssepp ay saresEA Siow StmeUaZ Wieishs 349 22M 05 P padojaa3 soja yaeo. sargypo8}e pure armonans eiep s! uBisop ssep Jo sn29j au. (01 Burpsoo02 papout sisi ‘0 sap sppe suBisop Sse UE + Uy seed uSysap waisig“¢ ile oy Jo sved 2p im porseyar s29fG0 jopow sssyeue a 51 wIshy pur ‘wget > HDSOp v Japowl wleatop ‘sued Z uop > yeisqu asi20ud ‘9512009 v 1 pK sou] 300 "Op 3g WHOISKS s9sn 40 sskqeue ssoutsng tata suiBoq mrouidofasap ateanjog stondaouos wares “y sas BuLwoHop ‘afojopomons OO u pee sdsox0> 00 noop iain aplnoud ose uBisopw ssa or post Uo Senne BuguruerBoud v at uoy ‘vei ogre ‘dzou00 won rondo: (00 "wonewau2ydws pueusisap usuidop2anct OO (sxe on) {s9no1f: OO axe eH pre
PORE POMBO PHL posse kum ~ 03 Suey “BE Tawa (ae ‘oedinos SUSI KAS A3a, Ans Sequence such as timing out while dialing or getting busy + The UML motation fora state diagram is a pentagonal tag in the upper lift curves, The with in the rectangle At the start of a cal, phone in removed fioin the hook, it emits & of digits + Uponentry of a valid numb pioper destination, plone system tres to connect the call and route Refer Q.2. of December 2012 for diagram. B VILSEM BE. CSS rectangles constituer the lat ts tame in a small s and wansitions fe lephone line is idte. When the me and can accept the dialing ion can occur. When the ca vutten put on hook again, K causes a transition from any state t Idle (10 Marks) Diatfore ovsoued Fig: Nested states for a phos ar Exam Scanner Objeot Oriented Modeling aed Design June/July 2011 9 ity and share behavior model -a single transition fiora from each state t Idle, All the original states exce he occurrence of event outlook: in any nested st replaces ue nested states te name label the outer contou states, Thus Active in composite state with regard to nested: Dialing, ‘We may nest states to anarbitrary depth, A nested state receives theo: joses the nested es. imeout, diagram level agra 3.b. Explain use case and sequence model, with exemple. buy a beverage displays the amount depsuns. jauraninbat aye says empe soy agen s| won ssegerep pur apo> Gurummersord ow! wsIsap am 2yqeuoure are op Jo wononpord pazurBio 2uy 19) seq ¥ sopiaodd ssnoxd woudojaap a1083}0g ‘satieys yuamudopasacy 21940 S990 SHY (@rxreon -uopsouoo worsis por maqarnan ssacoxd ane 8p pen jo sunsar uodar - 3 pood Aedeip ‘voReajunaaoo smnassur | nosop {appro aoa sapie ke dsIp awagoo> | “wonemuyuos isonbog, T9pHO SEI {pany A124) ‘ayep sseqaand H ~~ oqopnod feds ‘seuruiauindD aITD9s worsna AsaA} way sau was HON HONS ¢ sous 7] sonns2g ums “OUR [eIUOZUOY & Aq aBessow yova pue suy mien wot Bucue soe 49 eouenbas ay pute UonseioN Ue UF steamed aap swoys weer souanbs eus0yu oMoy rod skye Arorununuod 91ND $0% ur sBoj 20cr uno) d “po soy uaip pur *y200s 315 409 opto ww s20etd “wbarsKs sayox9 ypers suTto Ue YUN 10 Bo} so0q] UNor. saTeN 2529 asn say se yons “uinsts 4° YouNaex9 Je|NoRIed au0 SuMp smao0 eq suaKa Jo souanbas e st OUTROS y : onus, ‘suesBurp souenbas ‘orreuans :sjapour aouanbas Jo spuny 2 rSfopoyy aouanbag, ‘Palosut a9 0) Cououl Jj Bumrea st aayDeWI UL: NOREPUOD 3809, 824 ON Aevow wapunest ir 110e Am aung -udysoq pun anopopy pameug 12190 SUSI HANGS TIA Olitis to be done and riot hon Problem scope, what is needed, Apy needs, tural and business implemented ication context, ie rasannsccsis Tom ating et ri 3 chaining: Help wie master the new application deployment. Plae the application in capacity planning. the td and cus ver from legacy applications, Implementation: Maintenance:. p:eserve the log term viability of the application Platform, Hardware specs, software libraries Interface standards. Development lifecycle: 4.0, Describe domain analysis, with an example of ATM. (10 Marks) } Ans: Domain analysis is concerned with devising a precise, concise, understandable and ‘The water approach perform the software development stages in righ eas correct model for seal world. The domain analysis focuses on understanding the sequence wirn no backtracking real-world essence of e problem. An ATM appliction is used fo as an example to 2. Terative De-etopment understand the different siages of domain analysis. Hiuatote Tesble Develop the aucleus of a stem ~ analyzing, designing, Tr consists of following stags: lemen.13 and delivering working code, We ean add protection and behaviors Domain class model ine Domain state model System, Dom Deve asc concep Domain elas model ‘There are sor. way’ to ‘The doriain class for ATM application is constructed with the following steps: 1. New fy + Find the classes: Find ¢ 2 Stream! " oF generalize the way a system works Examination of the concepts in ATM problem statement 3 on perfor tas ‘ Networking, Cashier, mm, Bank, Bank Computer, “ccouat, som 5 previously assigned to ‘Transaction, Cashier ion Daca, Central Computer, i mash Card, User, Cash, Receipt, System, Recordingkeeping Provision, Security ‘om: Automate anal procs Prosar, Aces, Gat Catone coe ing + Combine functionality from different system + Keeping the right clases: Discard the unnecessary and ineortectctsses ‘est Look for analogies in other problem dom Habe achat 1) Customer and user ace redundant. Ret as it is more descriptive i) Cost is outside the scope of the ATM software. So discasd i 1s) Recondingheepiig Piskisiow i Welle T handled by transection iv) Account Data is underspecified. So it is wetted as asuribute and not \) Some tenrative classes are realy implementation constructs. Transaction Log is simply set of transact + Preparing a data dictionary: Data dictionary for ATM classes are prepared. Example as checking or savings, A customer cea hhold more than one account, ii) Bank: A financial jnstitation that holds accouat for customers and issues cash cards authorizing access to accounts over the ATM network ionship among all the classes, Like Cash , Bank holds Accounts, ATM interacts with the User are identified, ‘Sunstar Exam Seansatnunas os anisung dung uny sass : syste pu ve nae ue spay wip uONDe se suiLOHIOd UERSKS JL] a ysodap se yons lwoysoesmen ss2908 ouere waz 2tp sv Uns ‘sunosDe ae sj vIMp Jeu! saptaoad wiaashg saumMose LDH suone pu syunosoe 430811 © ]qoyexe sayee pue sasn sep so Auapy ay SoUsTARISA ALLY *MOISS9s ayeRRUE RLY aX 40 wesfiexp ase ayy seal atts sj pa490Vq st uNOTe aypo9 ssa0e¥papuadsng 3th poaore spesespyian ssuIsMD} taPIpiare "(epios9s nq sau 249 Aq posopeypasop “es2008 JeUNLOL JO} ped tunon2e 20y s2tuIg "S8I9 yoo soy soles amp 181] “saves Fpury « vnoa2e te jo arwsuo spuadap N LV Ue 30; arwadondde ay soaoo ssauisng unvodu ue st mmaany saves ys se88eP UteWOP ANNUDPT « otra ofa pen paronasuoo s uopeonde PUY soy POU amas wetop a, pow amg ue Woct Jostoo sspnpsuy adeyped syueg -W_Ly “tones Seyped stop saBeyovd ou sosse Suydoaey « Wor Densqe Jo aAat amp Sema « Er 909 amp c= marsh aMp sasn songe a ets Ana ayses sopn) nse op Bupa “Eg {jueg Yaworsny soy ug suups Jo rowioisn> pue sya oq 2q Avi Uosiad summoned + adeeN FLY ‘oss Buyssren 30 au - sox p sured ss2098 a0e3y Spm ssonay Bune) « eet 7H vonmigtayse> so2nesuas vorNgénug '¥ pa¥ Wonaisianse3 tog to parowa st uonsesusyyspesea povwsosse aun va oy &n ‘Burges ates acy posse OWES 2 HAUL. “(Usp don) sas qs aidan on sane Umea pads {4 10 (a wonog) sxe sscns ¥ on ssse Buse yo soads® dounnen 9 SOURIUDUTOUMUBY LA SMU « iF OL ssep yenW fe yt cut st vouenyédy 1 Steg suds uopeaudle PTY 4 sew soft Doane pl ssa) mura Gog Buspar szosou Rareg pozuainduoo wos o aseANos HEC saidurexg WLW Sup pu wappa a seaop ron sows algo Bus 8 parpisuos UL waits ou oats uoeip uLrepuneg was ap sayy yevoHtn Aseds 0} 23p10 ur wei ao Azepunog 21p-uonrayie ue ¥ 30 adans agp mou pty oy ‘oepunog wows 83 10} 9p poronzsuo 99 ue pour BORDEN: HORE Ur SSeIppe pur wes nunosoy ua ad&t pu mutt 244 omamnpy ‘punoy axe somngeaye myst: appr ‘some siay neoydde yyy (Bu aup Buadaoy, + lov WELW UH somemre ages ax © Tempra ay Jo sontadond wep ae sainquuy : sainqunye Sau, Janse wo pozHOTME 2pYSeD ‘suoREPDOSse TumSsIU Su PY sola pap: 398 se deal luinnzosuod v ur syzeq auasay ata saqstnd are mp uonvotidce ayy jo sposdsw sxamndunoo oun sosseuppe sean easKyeue uonwayddy “immo spy daacte ALLY Jo 2yiND ve HA “guipee vapENT Ade ato wg $8 osenday "woe Jo wtaumans ee sunod>e surware JomnueD Yoeg (xt a-aava ‘SPIED WED UR SPL vOnep! Nuauod Jou lomo pu JAY UE Lomond Se 2 J und sou>sop pied ised sdace party Ware werceed ne uo consid ay jo dundond easuns eaansop nous omer Ce apne os pueadooueodoneystayat Ws ssane omnes wes wks pase aw Suenos woneNouDflay Ie secee pnp ae sdooaraumud juny ‘ow solOdD WY SALLY Mtesveres | josopnpuLHoMBURuHuNE HMM PSRNNPLOMNN ome TT ‘tonusoe ou pa BSD pe Suomen oD ‘Afiurpiosoe poronaisuo9 sr uoneoydde yeLY 404 fopour uoROMANLY UreWOp a4, pour uonseasIEy UPC, surerBeap ayes Suenqeag, » ‘suop stent pu saves ma sossep9 U9ea 10} SUEBIBEID aves BupANG + ey apusdsns ‘Nig asooUr pareadar ‘spuny ssaDxa AwApIAIAL UAONDE as0R apnfout swan ineyioduy ‘soos 2uowe uontsueN sos¥D YR UDAD ay PULL aKa Burp « Se ee si Sus2 “Ta Was 1A tp 31804 pu BuapopE OMDIO 22140VILSEM BE. CSAS ‘Transmit Data : ATM use the consortiums fi appropriate bank computers. '5 10 comm 4. Finding tnisiel and Final Events Detenmine fs inal events, ial event is the. — System keeps cash eard or sys af event > Custom: inal event = systems d comers-insertion oP 3a Card Final events + Transmit data fiom networks, power Final event successful transmission of data, Preparing Normatscer ‘The ATM dix ¥yS@ menu of accounts and commands. Query Account Object Oriented Modeling and Design 2011 4 ‘The uses chooses co query an account ‘The ATM contacts the consostium and bank which reteras the data, ‘The ATM displaces account data for the uses. ‘The ATM displaces a menu of aecounts and commands. I scanties for tion, Transmit Data are weitten ATM : Some variation and exce + AM can't lead the cared Card has expired ATM times out waiting fora response + + Amount is inal Finding external events, izing Actors ani Organizes the case 2 noLonunog mag soseung eumn2g wes soysung suarstsay cuatsks ayp azraediQ ‘and anos v ayy powetusnyrod worsts Bu 2 apbep suodojasop ‘uBap wersés 4 an BursAap soy 981s uBts9p y pons ox sstave pe Sou eto ‘ods “nun PISA 9p aaa ee ‘Wau! oy sande BuyjonuoD 20) wsyTeLP SL —- (oe on) ‘authop wavs 94 1S50m0S7 EOD 600 ‘sainuonus wep sworieuqutod us 20 fjaqesedas atp UeD TBelop ur mre cuBtsop wiaysésw 0 sdoys np are yoy eras are a1ou, :ffex0)s weg, Jo aa pu saamnosos gots asege ain enn aBe2038 0 . warsteyns yp uous arn foishyd amp Jo Aya outt09 + Bat ‘vorrorunutzoD 203520030 | (euarsna) wunccoy ¢ | ‘0px 20) suoprwwawt arom yos v asempey 500K)“ 1 yapazu Seoanos9s at} pur spoou soueuMogiad EUS pron in pafgo om pus p wansts Jo yeo8 1ueyod PRO 2x) Pie worssas pus ‘puouseced semua “prea ssasu ye way nis v Jo 200d jun waysts & Bunyeang, Sump wou ajgesnas Supeo%9 m0 st josioadse warayp 7 “Bojouypoy QO Jo aBeIueApe west osNoy zUeIg asMOY v SUPE, ‘aygpsvay ut waasfs 30 aaazype 03 st asodand ay, uos urpishs Mat 205 Suruueyd aut ur2uop aq pynous ayes oueUUsOpIDg BNO SoUEMUO,IOT TuNEMINSL aus perupaypre Ue 399; sonuond yo-2pen eg “Of ‘uoneiado Lrepunog ajpueys ‘A@ayens jonuos asemyjos v 28004, saoanosas feof? a[pueyy soxoys rep aBeuEy, onemaprey 01 swarshsqns aIe20HTy ‘woigord op uy waroyur AouDsinauo AsMUDpL way ue 1 LLY sous Bey 1890 01 RSI POP WORDEN sURY Sysop ue SIWIOISND SOY pmeee Pt oN doot iain ayy, -sdoo| jonuo> sofeur z sey’ put Hot Simca -us0q1 pu Amgapogy porEr3O 122190 SUS 'T'9 WAS.UASunstar Ea VELSEM BE. CSAS + External Control concerns the how of externally visible events a pisiecl ly visible events among the objects ia [Internal control refers tothe flow of contiol wi Strategies include: 1. Procedural - driven co ol Control resides with on the program code 2. vent driven controt in a dispatch or monitor that the language, subsystem or system provides. 7 3. Concurrent controt Control resites concurrent con Hy in several independent objects, each a se 4. Internat control veral protorypical i oF systems are ‘sansformation performed continual by exte simulates evo orld objects in with an example (10 Masks) he classes and association, sign opeca he model fora cl Object Oriented Modeling red Design Jue/duly 2011 2 + Reif behavior that most be manipulated, + Adjust class structure to inceease inheritance. + Organize classes and associations 1, Bridging the gap: There is after a disconnect between the desired features and the avail often called a design gap. Should bridge across the levels needs like use eases, application commands, ‘system operation and services are used. Resouces include the operating system inflartmetur class libraries, and previous application. Intermediate element ‘operation, class, UML constructs ae used to and avaiable resources, Realizing the case: The cases define the equired behavior, but they do not lfine its realization. [tis done by design to choose the options and prepare for implementation, ATM exai Of the use case is process transaction Transaction is set of updates and that the according to with drawl, deposit and transfer. Desigriing Algorithms We: es t for each operation ps include; im that minimize the cost of implementing operation, then operation as necessary, classes Consoctium computer and bank computer are two differen ions are analyses separately and algorith ‘Transaction consists of a set of update Revise the cass model to see the seque(fie of updates that accur w + ‘The design details forthe process add receipt class, so that customers will know about the: ATM Example + Trace fiom cash card to card Author and derived association is not needed. Iso report suspicious a + Adil new class euspicious update belong to suspicious update Group, ‘T lass would store derived attributes to feilitat 4. Recurring Downward: Organize operation as layers - Downward re proceeds is2 main ways, functionality and by mechanisin ATM + The case is decomposed into responsi tes, Sunstar Exam ScannerauIP 2UO st JLo pasrONRN S} UOREIZOSSE UE jf vonepossy sum aug *z —- KueduioD uosiag uoEI0sse sou ppe ues 244, {20880 J] euonsaupeg 5) Appon! 2 Agpow pur 2010 aryrduugs 29 y uonaanp 9u0 Testowu4 uonepossy 80 oxy paz: possaven a1 & [etirr nig ~—Ransorrior | vase eo aS ‘Bais Bong endow + asiney — ot [Fase | 2uypos 04 so4sd au0 pp zo uopwaursuan Buon) - uy SSH EaIOWAP / aINqUEME UE a1OUIOLL + ‘Suriou pur Buruoaued fq somginie asalpy ssingaane oBrapysuonmaaia sess SunBious Ang japour v sum ~ aN sossep BUI soasep 7 OW uoHEUusOguE amp a8 UBD 94.10 SSE afdis expe suosrad 103 wonewssoju) oxo pur amsoy; Massidostie> ay ‘S988 Sauomred fq Jepour v aun - ayy o1 yday st 3x SouNouOs ssHEpD w ORNIE . “1 ‘ouemojsad asordiat on Jo wausdoponap Aids 04 saps apoo Hunts 210309 sasseIa sumUY pInoUS a4 8a8SE9 BND ML somuaag sats Bu (my on) nua Jo 2ous;0}09 ureieney, i944 aptsino wor} woetUZOjU peu ADIL s8ys9¢_ ssuyo v Surandig, Verluoe eobenOy! wats Joueyeg Ypns oF uoNeED|9p at “x0:50)9 Jo sdnoi jo 1 e4p Bupowos jo uonowrord 24 oqNLy>q suoraidens Jo Kp 01 sainqimte paasiop ox018 pinows ssepp a. soya are Dopsou rou sy uone}oosse pastiop pe ism) 2q ‘no «ry oy sey Zouuonsna ‘a uonezuoyany peo e3 para yse weoy Humour, adioar v4 s2usosn9 3p pry of ese fu 2x pata yseo 01 pater ses ataony ‘uoneiadg () uonsesuen tod ty ‘uopemdwooas proxe foworoyyo soyvon8 0p + WE S200 ROIS SOPHO 5 ‘wonezRndo wits (tuncute) asad ninoooy ‘sopdo ois ¥ on now) sgop-Yunoaoy pe nox) ypam stem sun, adam yiy ‘qevon any yevinxs Bae moun sftep srerdas 1 atenyos joasmonas jeusie ap oss sat BOONE, “§ “ono ype it sotto Susu pe Apyomnb wn pue voneso} sania ie aie seindises Yong {leg smonnseyay vonnguiap pu suomenunnCD yj 1 pase 8 my Lg & roe Sone, Sq pun Sipspore ponioig lO SUSI HH WAS HA te2» VIESEM BE, CSAS 3. two - way Association Many association are traversed in both directions. Thee approaches to their implementation. 1. Implement one - way 2. Implement two - way 3. Implement with an 2550 Person Company Sask Employees O| Set foo 6 2 way associations with pointers ting aibanced association vary Ordered associations Sequences. Besson fF To] [company] Pesoafke—t~—o | oO +O | {Company Fig. Implementing an association as an object ‘Sunstar Exam Seanner Object Oriented Modeting and Design- June/Buly 201 25 Testing Testing should program fiom small pieces to ultimately the entire application, Developers should begin by testing their own code, their classes ané methods - Unit testing classes and method fied together and tested Integration testing ‘The fingl step is system testing 7.4. Explain communica Introduces forwarders and receivers to wunication mecha ‘The C + DS design pattern introduces an dispatcher component. + Dispatcher - server + ‘messages arc hidden from the peers by encapsulating a into separate components Benefits iver intesface offered by ‘When ever the publsauna wens amysung siyouag, was: poppe aq deur swore jo sats youonyppe pu ‘Sie. sasaya Bouvus 0} pasn 902 21] 10 J24p!0 yDeI WO pusdsp 1011 plNOYs $4 PIsIpur fo suoneyuowardtuy + aps 14 squotiodutoo 20919 v pute aansadsiod s2osn aun uroyy Asea aq pious Sata 3 19 r1GH] 94. pINoYs optin sv apyAs soar + J poo Bunstx2 yea1q 10x pynoys wonvonde + ‘sea, watayp + ‘oo4oy stp aawse}eq Pinoys DU: w3}g04g YOSSEDOUA ANVINWOD ‘104 “ema. Jo asodsrp pr Wald Y “warsds ores sau soz 0 pu sMoqa a\/q saps ‘njacuew.‘uado or st JOS 8 UY ALA aBeuPUT OF slay saTed sOIpUYAZ sa4s 24, ‘opan sane 405 92/90 asanbar Jo Sui01s {aif sv yons soo14s98 jeuorIppe roprsord pue topnaexa sot saqmpaxps ‘s199!90 aveiedas se ssonboy‘saeuvir wouoduton sossxoord purawien y uo}H2x> 1] Woy a6rn295 & 204 ysanbox aun soresedas wnyed 4esto000d pu nied ullsop oa, oafgo Jo voH seo1as08 pa nrouedwos Lay “se2uode> pagyasqns - i aquosq ‘(an19890) siaguosqns st 3 i “(2alqns) 224 Swain Jo Kasior v supeyuret sousrand aq ur sa8eeyo 30 rwapuadap nd Jo ajnz ayy sayen wauodureo aug) suomos ous uoneBedord - auwy> v Suonpoy iepuadap 3 pur ssysygnd wonteunojuy ULIOFUE Ma 30] stuspuadap Aq BumOd x Porino> sug aq rou pynoys Pas 20U stu ha + Jan0 afb ase feet ‘wspuodep Jo sonnuopy pue saquine ot, ruauoduies 49 “Houd v umoury sou 61 quateduias ord “uaanIOsaAs- UsusrIaNd Jo aoa a ‘fouanedsuen uonestius pe 18328 Jos tuavodto9 1940 02 saaKA1a8 aptroid YAN HONEST] y usspindy agai ovpaoauuaoua puree ee sue pu 3 Sonesven sone Rup tin sono Su 0) spr o sim Pane se mn Pse soe ua pesyd Jo peassur sours H sauraidum sopaedsp 4 J86¢t stepowiur ue w sv ie soyoredsiCY woMAfOR ame in WoD2ud09 © xSTIgeISD 0» pasa 2po9 2x7 UO sieIEdos "| Pinous ss1ansuoo anikies © Jo apo> reuonouy ain Fumuowajdueh ap00 ayy "apiaoxd ao1aias nysauauoduion yy “o1ej Smwonoy 2.4 pMoYS S ~ G9: wOEGONg ‘WAANHS ~ WAHL WaSI- ENETIO wonransip samp 28 vip sofueyp oi asaunar um wy SIaquosate 9 39 wonno0} 248 30 >puedsputooxss98 © asm on a:9e 94 pio v af sunodte> sad, ayenedas‘ussis areas pas soy MAL puns paw sty (oper on) “swioyyed quoweeuew. Vb ss0ptsoad sonatas sroruseaed pu Summnboe m Awaduey “sossep pustown joaquin atssaoxo ue soy mag “2 sso owommg “1 fovoumouey “s aw Loz Amgoung -uBysoqy puv Suyopoyy pamwng p2fGQ SYSDT'4 WIS TAfet Orie Mode ud Desig Jumelduly 2011 29 nce A software engineer should eiclve existing application and integrate with them.» ‘+ Ween salvage requirements, ideas, data and code tfom existing applications . Revere enginecting\is 4 iil technologies when dealing with legacy ee ; applications | Resticted applicabiiy + The purpose of reverse enginecting iso salvage information ftom old systems 2. Biciency - and carey i forward, ae Seitmad processor schedules the execution of conv + Thcxe can be variety of inputs to reverse engineering, Primary outputs om [Re rndo, and may provide oth 4 reverse engineering ate model. 1 ese purposes i F i = i “+ Inputs to revers Engineering programming code, Database structure, Data, Forms Esch sommarid object eens the enc nd por, Docitenation Nien selene ee Fae ee ‘of the application. + Outputs from reverse enginecrifg. Models, mappings, Logs Fins by Bulling the class model, emphasizing classes, associations and 1 Flexibility in the way requests aie activated 7 7 ‘genera tg mg = i bi i he umber and Functional of requens Write anote oa and analysis recovery #. Unified Modeling Language (UML), + The interaction model is built, which is used to understand the behavior to the 8. Procedural sequence models. | class model eee ' Poze codes prepared andthe slcngt extras porns oi og thar are 2. Unified Modeling Lang (UML). et Marie 7 centered about objects. eaten, action model isa collection of activity and sequence diagrams 7 Dib ptotnactSO E458 eenpepoemctnghey 2p ng aaa ons ‘nthe fied of software engineering + ene eet | + Wrapping is another technique for dealing w ‘The-UME includes a set of graphic fechniquhes to create visual m let Ne dications then ac the . OF Object oriented software «intensive siemens ee ual New applications UML combines techniques fom ‘modeling and component moiling Itean use OCeSes, throughout the so across plementation technologies ‘UML notations for OO - language, chjects and lass representation in UME, poe Class: [Class Name ] lions case commun Object Name: className } [Chass Name : and maintenance, A programming sje is characetized by the way language constructs are wed to Gee! [ata Plment solution, suchas the kind flop taementsused, te naming of peers Oban clement. ; “Each of these separate aspects can be east into an idion, tion Of tS task to supplies components with hhas 3 distinct phases: implementation recovery, design cecovery, data modeling, business modeling, object ms are tow -level patterns specificto a programming language. An idioms describes aspects of components or the zelationship between them language Idioms describe. how to solve implementation - specific problem in 4 programming language such as memory management is C++ jon among developers and speed up software development Fare development life cycle, and Operations Legacy systém * Most developinent doesnot involve nee applications at Procedural sequence Models 5 Sequence Diagrams with passive objects with procedural code all objects are not rather evolves existing Sunstar Exam Seanriéy ‘Suistar Exan Scannersromuvos woe anpsung i sPITro>$9 287 50 tueseap ajoysa ap ueds ou saop Saunp paosisep pur porear s 3) safg0 £4 129 suvds 900001 uo algo aime te ut 20%90 gf j UE AiR Sony, sroIq0 axtssed pu 9 (Gaureasaa) Baap aonag spafqo wrorsuen & ypyon meses] au nb9g - gE Primm] [aan ec ll wonaedg 19394 hoo 03 2]qe ater am yse au “atge £240 41 "worSstunMIOD sy and09 oy 350 2128 949 HO 1S 2p WO faa, fo alge won>esuEs ayy, ‘uondestes) aezax01q yoo3s & 10} uotssttues [Seto Paayamp rradweo uopeiado 7 wwoneiedo (@ 2) vonex "3 Mun pereane 10u st algo anges [aot ‘| 720f40 eis |. aeatso wenafag 39 peau uno amp axey 300 op : ‘Hot Sinzouny -uBjroq pum Suppope pomp BOO SUSI “14 KIS 11aSeventh Sem B.E. Degree Examination, December 2011 OBJECT ORIENTED MODELING AND DESIGN PART-A ‘Whats a model? Give an exampte, What purpose does it serve? Explain La 08 Macks) it before Both physical medels and com, plete system and enabl Wh: xd Modeling and Design- December 2011 3 a snof a group of links with common structure ‘and common semantics. Association is confined to rectangular grid Bx: A person works for a company, Tene "Tohai" —— ae = oe ar [ Object Diagram: ‘Sue: Person name="Sue" _J ef : BN: Compas: —[eame=inne ‘Many-o-Many association fon, with an example. (04 Mas ‘otiation which an attibuve called the qu is the qualifier. sgeregation and composition? Give their respective UML notations, wi Agoregation is dra end ke association, except a small diamand indicat assembly Sunstar Exam.sommog mxzy nasteng sanynIs 99 UPD s9S09 9 Jorutod poxeuas aaquetio por.) sores 357) :yeunnopy ” a z sk 250 2 a pou 909 a 10] SUPP) sy Gnesi oD sjopout 9502-980 urssep a ou aan eu “sun Bmpuas soy UR we (0002 *f Aavmueg = 10 n Supsjosuy wosssaudxe pazisaxgurazed sqe U2 16) NONBOW TPIC) swOYS Big auqur oun v Jo asdey> yuasa aden 4 (aay sao] > TaN Krona) mE (uted 19s Buneoy > samyesadursy woos) uouyA, "uoyssandx9 t89]009 jo prom. atp ut yuaAa aBUryD 230] LOTION THEN aL ‘sunddey uaa a “ana 04 ayy way seBaLAp woIssardxa up soeousya-parsey Ksnourues si volssuN> au yey 1 yuRKS BBuRYD v Jo 2Hoyi DH, ‘uolssasdX9 U3[00q ¥ Jo wonpeysnus om Aq pasne> sf em saa UF sf suaKD aBuNYD Y sSNA oAuEHD, pargsaypered v 4g panorte j yssup omuedagy f UY aouatana90 te st BuoKa TUS vay 8 Bulaznay 10 Barpuas Jo auaso at 20 oy woneuLO;E Jo torssuus a Kase (Se ON oydwex9 we A [sdog]— 4, vos | situs quiasse OF su puourey me __ Ox MON UAE, = thy © Hoe s2qua2aq uso paw Buyppopy paneng H2l40 SUSD FAKES UA” VIESEM ne. css jet Oriented Modeling and Desgn- December 2081 A bull's eye shows the termination point. Vending Machine 4. Concurrent Activities: More than one activity can perform ata time 5. Executable activity diagram: An activity token can be placed in an z indicate th executing Verity Order) Customer scheduled Maintenance, Repair Technician Stock clerk Figs Use case diagram for a vendiog m: 3. Explain adtvity diagram, with the UML not m. Give art example. (05 Marks) Renn Seauenee of steps that makeup «complex process such flow. ms rather than | the early stages of designing Drocessing of a stock trade order that has been igram for stock trade processing ied ovals shows ac y models. (05 Marks) LF tere are more than the success Sunstar Ba2S wanssp avisung wprd v amp st sep ausarfond suasaaday aumueYa 2q pynoUs san wag pasauuo 24 Pinoys sores y S arco LY ‘uesBuip aves pong uy aves sejaoged 8 sur apafqo we toys sIoAa We Jo aouDINID0 sq eis ut a8 a4 aus 01 sop SION, smesBeacy ayes Bi + € 2u108 20} poxpo}g St 1UNGAD¥ AYP OY s8999H) Pop: (Gunox0e ay povOXa swneypEREALsTaWUOISH} BaKexPIONG “(spu09aI UR, aur ay we ypsing somtonsn9 243 &q p2=0)9) sqsoisep wy 7 fk pw acyssasfoud Jo do HLL 10 two Sosy anissoitoul » hq poronseseys 9 E> 1 to) Yeo] PL AH OUND anes] yep SoM) s0y sassu[a WTEKIOD JO 3H] aYp aUIIMENG ‘SAIEIG IMHO SOSSEH 1 7 sorispuy 2785 pus esse weep AUD {pou ats eEMOp # SunoRzsuOD Ut powrojad av Sdxs Surwoyfoj ou, sUYy (on 01) ‘oydesa ue "wp ppoU owes upeMop w-BisuaysuoD ve pounopiod says oA UREIOND PLL DMNA “AF ‘pa 9 sau pe 3sn Betanp sede Aapnpes yy eanets outs om ut woman seus sng "soueuovurew Jo spury [emIog ‘ssn panos J0) pout ss 7 pasojdop uaoq sey wnsts w pur aofduuao st uauofaRep 2G ZOOTIONEN% PSS eee eet ee Tz s2qua0q-nSisag paw Saepez poHe8O WHA WezwIOISNo dreanyos agnbor dru sndliss om pu spuoy snomea zapun tuo snouts m1 pure cazopeid snoes to “p lar WOISKS 94, aUOUNKo}dag —“g SWwod pearBo sx ou aremyos sap 249 amnsua HOS oq $2249 uy weD jontio> !ouin20p ase Phacunoop 950 a ase a ‘oudojsaap ay) 01 oO ase pum sense, Bene uy Supa. soy afens owduiy wuoneyuamayaiy +g roBfe aso0y9 2c, Runny -waisaq. 55075 co} sn ido puw spuvitya sdtojasap. ‘usp jo sorBavensjegoys asootp pin euie ep.) pnoYs “saoKtonbasLCD ‘ossi2p ofovens soyet asdojorop oes stn Houncy uslog monty “g tos on 249513 38 9 “ISS2EHpY "ySKjoue oN sainyde> voneoydde rt Uo Soano0g istespeny ueMog] —“y “ystqeue jo saBeysqns ony "sonundqure anjossa puv (suoneoqdde power “uotano0p) uorreuuuoyut Jo saaanos ayqeyioar tp soptsuoo ied p Jo sivedse seinduten 34 op sonuewas asouy Bunn snap ‘sisKpeue Bang, uop 29 pynoys s99n00] Sshyeary sysspeny +z Pre ‘uop aq snus yas fy20d Say, sjopous Jo uonaro uo oye sommpqeds Te ageaben Ba SPoou stouiong taoq puessapun prays aug “uomezu¥lie oy eo Can at, es Pi 2st oueng + adosd‘uoneayde uv 4029p! we Jo puny prone sosed « Aen woutadde wy 40 susuet ayy ua s¥op 91 wondaoton wasig + re A044, ndyno pur induy ean MaudoFaAop areAyjo “ssodind oustp (ain Yow SoBers pay tp. 50 aouanbas estVi SEM B.E, CSAS State to final tate? Are the expected variations presen! coclic clas, is the main loop present? Are they dead states that term ATM Example: State model of account is shown in fig, ‘Whena state model incomplete, itshoule accurately represen tbe lifecycle ofthe clas. ‘Account PART-3 explain the steps followed in constructing application alten CasheardBoundary _| ‘Bankcode cardeode lock diagram, Consortiumlnterface balance cred acco bankNamie i customerName customerAddress Object Oriented Modeling and Design. December 2011 4 ProblemType | aiarDateTime Session Controlter: ‘Account sane separated into 2 parts object or group of object access its domain objec, com pt ndary class isa class that provides a staging are for communication between & ermal source, (Cashcardboundary, AccountBoundary) are used to encapsulate theery 1 SassaaDe pube azesajos AWB] JO W202 1d QO poo8 moyoy 01 pauisop 10g saqs99q] 3029 H HPL ( comet oD siunddeayy upsonyiue prewoy 9, Sess20}8u 2839504 (2 zhaz saqueadzcy jo wy D 29} ( (ers on) -uoneznundo uBysop vr posyoavy syse) 30a. : sasn 2up 0b aiessow arettdardde : Sin noge ssn yyy 2m ua ‘wonpesuen v Jo AnsBanue + : ‘ustop { 1 Vonzauuos ayp 4F aBessou stendoudde ue Aedsp pnoys uoneIs FEY SUL + srpandes vp seg ot, Aaeuonouny pour ;paxjaDa4Jopio Uy ota we 94 May SassIDaHd Ing sUIBAe InduH susindusoo 3ueq put seandico yetusoo yum pur xaydivo ut eu) YDeo ang "UONeIS Wy Jad won: r05t09 Jo x AMD SIuo 99 U9 283. uv we om aq ues ens Jo ee “uONNS PLY AuNw axe ato sou fot ‘s2004 IUatmoUoo Jo} a]geyTEAe pu WarsisUCD WT BIEP Te) sainsua aseqelep ¥ ‘siamndwo> Sjueq ous ut are sare wxep auoueuiod Suo UL + [9pOuisse9 wBuNDMNsUOD Jo A4LUMLAT sitSUOO I ‘suonypuoo pajjonuon sopun ‘syrosaau painqunstp v rano pawupdn aq 01 cy pue eep ureyureur 01 st asodand ptf, "warsKs juownaBeew! voNoesuen pornguasip axe sxueg pur wnNFOsUO my, + apoU 21s ¥ pur [apoUr SsuD e BapaRsUOD Jo sisst09 slutod {U9 BurhyIS0Mg uwonzesuen w 2}zynuws0y 09 papoau YOR eUL.O;UL OMe O} WELT B ApH soesaiu oF st asodind oyp-scoRoN auNDeRIUY o1e suOREIS KaUD ay, + wayshs owiafosew uopzesuen wpue ssyoiuEsARoMISIUL UE JopUaKHRSSwASASATY + ‘staastsqns O11 waists v 50 voneziueiio ayp 2ousoys uerSerp eunioyLy we aur onsday waIsKs joampamase tL, te 1 gene ung po Benepe paD HHO sau uaz worsung waIsis WILY Jo-amaeKpAY Sy iar) oveaere esa | 3908 aot Sai summzesea) (sayy 1) a PRIDE © Jo doy om pum ‘nos LY ur Jo amon Hm 9 as sno ape pipe) an od soo VoreoruntETEOa) tatOp 20 (zaded 4c >) pasted ; Snes ne) Apes sms eno naan Jub ganowe pee peo yee pw amoe Stee soar me SSONLY saean sajanuc> worsos ayy uonovanes POFPOH? st FepoU ssei9 uoneode Ly stom st §10y a8 pul spsee an ne aE : spe 3 gh pons lone uoNremUT om SEY Som) Pom. aprsin0 a9 101 rao soajonur ‘wsoyp 07 Sivas aasks Hoy s|eURES saxzooa1 1 uonoydde UE Syet}sspues pie warsés aun wr sz0f90 ay wo suo 3B gu sina Woy UO pyIo% aprano SUS) "Ta KIS HA aYU SEM BE. cons Object Oriented Modeling and Design- December 2011 45 Scenario forthe ci nserver design pattern are shown above + After recognizing the incoming request, the server executes the appropriate service. + When the service execution in complete, ai 8.2. Define forward receiver design pattern. (@ Marks) idestransparentinterprocess commaunication 4 peerto-peer interaction model, foduces forwarders and receivers to decouple peers from the underlying mechanisms, 8.b, Write and explain the steps to implement a forward-recciver design patt 9g lets programming maintenances 7 Ips with day-to-day maintenance of servers sends the results back to the elf with the dispatches. ‘component. client asks the dispatcher for a communi looks up the server that in a PME Serve that in associated with the name specified by : Beet Marks) ing: Since peers reference other peers by name, we name space rains to Ans: 1. Specify amame-to-address may form in a giver a single address.it fay refer to a group of et ‘message is sent to each member of the group. Specify the message protocols to be used between peers and forwarders: sage data a forwarder receives from presents. group of remote between receivers and wnication mechanism the fist ow.evel mechanism such as TC! sich as sockets in ty for receiving IPC messages in the yor receiving and unmarshaling [PC process oun: sends a and waits for the response. After receiving the response. it Sunstar.pg mnxy misuns. patatap Aqpeanewioyn souensuy {pq ou) adaos Jo S208 4 s0ye // cod ms // () antan9e «a1 1 somes 8a we asuf area 7/4 sas oy eer , sourisuy Apog sau v os|e poe apury e 212019 // (yqssnreunered wos 4) yoIpUeEL pe Jo 1x A/ { : oan s p08 5 APOE, Weal ‘340g uamar 3p () < soresado , Knog pq a17p © Sp0q~) 51 Carus => ‘4 spruneo Jar € Spo0q “p04 "y= Ap0q ‘M29 atpueyy runes) ppureyy [= saronogyar © fp0q pe) 8909 MAU = Kp.Oa He) aipuTE soron.ystes §fp0q ap // yard ommag waz awysang sso) sowunoayat {lew S09 ~ (aed) hog poutnbat se soxnastioo Jo sia. sN.uy ropa // {() a>nu2s pion a] syetu pul |Spog usmor! suas () «-soneado , pop 130 s0sado nox aif sot se ssep 2jpuey 9 (024 soUpeaL 98ND 6 mye ‘sJeAraIUE §,Sp04 cy ss2008 S5epatpuE ay aPHLOZE Sti PAE ss SpoOq aN Oy pUaLy WssHD aE MD aE “7 POP PUP voHLBAUYEUE paromUODL 1d 2 (pars 10) area sop Spog ay Jo otonasap pire LONANSUOD a EE “| ‘Pawwonof am sons Buusonoy suoxpt s2xwiod porunco ayp wuawaIGU Of :suy reso) “ogpy seuBpOd porundd ay yuouoydna Oy Sdais amp HAY, “9 “g Burddew ssarppe-oyoureu pues 2 yas pozsentu ag asm Sastane! 27 sopreiey dn nes wares ap tangy omeanyuoD di-azes ywatdofdy ‘oste Keaouo ag feu sio0d z uaaisidq uoreonuntuOD 94, feoMueUAp ¥of0s samp 2BaryD yu>ND pure sias19g ‘wanbos 2up Jo zoreeu0 ays 0 ¥00q asuodsax ¥ puss pue ‘postaaa) fou sbessou aun uo spuadop run ao}As ¥aioaxs Kou Sats aessow e yon wana ub Toe soqmseq -uSisoq pun Binmpopy pavuaysg Halo SUS) TA WIS UA ani"Seventh Sem B.E, Degree Examination, June 2042 OBJECT ORIENTED MODELING AND DESIGN Max Marks: 100. PART- A {2 Explain how systems are modeled from different viewpoints, ‘Ans: Thete are three kinds of models to descri 1. Class model forthe objects in the system 2. state model for life history of objects Interaction model forthe interaction among objects, (10 Marks) be & system from different viewpoints, and their relationships Each model applies during all stages of developm Progresses. A complete descri Viewpoints, nd acquires detsilas de ion of @ system requires. models from a ass model dese ps. The cass Tecontain class diagrams Aca diaglam ina grap among eases State Model: The ut model desrbes the aspects of an object hat The state move! species and implements contel with sate dope A state diggrim is graph whose nodes ae sates sal Denween states cased by went Interaction Model: The interaction model desrbes how the objets Cooperate to achiev broader esl stats withthe ves hago wit sequence and ati diagrams, A usecase focuses ality ofa system. system does fr uses A seauence diagram shows the objects that interace andthe time sequence of their interactio tibes the static structure of the objects in a system ‘del defines the context for software development, Hh whose nodes are classes and whose class ae relationship ie overtime, N0s2 ares ate (ansitions a system mragetivity diagram elaborates important processing steps, 1.0. Elaborate on the nig technology. ‘jor themes that are well supported in object oviented (10 Marks) temes are therein object oriented technology Focusing on wl ial aspects of an application while an object in and does, befote deciding ‘The ability abstract is most im iportant skill required for OO development. Encapsulation: Enca “on (Information hiding) separates te external aspects of ‘Sunstar Exam Scanner i i | I | 4 (Object Oriented Modeling and Design June 2012 9 ————— object, that are accessible to other objec, fiom the internal implementation details that are hidden from other objects, 7 A ‘We may want to change the implementation of an abject to improve performance, fix a bug, coon cate or support pring Aches can ie eanly Jon sine accee the application that use it i 3. Combining Data and behavior: A non OO code wich display the content of must distinguish the type of each figure, such as polygon, circle or text and call the appropriate procedure to display it. An OO program would simply involve the eww operation on each igure; each objet impliily decides which procedure tous, base ‘om its class. Maintenance is easier, becaust ig code nced not be modified when a new class is added. : ; Sharing: OO techniques promote sharing at diferent levels. Inheritance of both data structure anid behavior lets sub classes share common code. 00 development not only fets to shase information within an application, but also offers reusing design and code in future projects, 00 development provides the tools such as abstraction, encapsulation and inheritance ‘o build hibraries of usable componenss Emphasis or the essence of an objects sto be cleaner: more generatanct ore robust than ft wwoutd be ifthe emphasis were only on the use of data and operation, : 2a. Ligt and explain the various restructuring techniques used with respect to workarounds, (10 Marks) Delegation using composition of parts: ‘his approach is classification. This approach replaces a single object having a unig related objects that compare an extended abject. eEmployment becomes a superclass of fullTim: loyee. Ei nidividualContributor. ployee and loyeeManiagement becomes a super class of Manger and We can model employ EmployecManagement, An operation sent to an employee object wo be redirected (0 the EmplayeeEmplayment or Employee csakojdinjommne j I eigiua Toa oo ur Surddey S2jop pay anuuiayurson soxnqinti09 iN StUEED}SH09 qeoUDS wo suRNSUOD —(f ‘(190) s@ensuey wzensuas waigo se: 19} # 20 aBenBuny yeAMVEU YT jUTEADSIOD ayy Ssosdes UU ‘SHUN uo siurENsHO S198 uonezsfesua8 wo syaFERstO, sousoud PIAEPUT Pte swofeEEUD 10} sosSEIDQNS Z ppe aadaydiua sean-rTed 2H‘ fy uy ‘suonEUquios ajqissod yje no soxidigmus peosde se, wo — Is 102 Bung sag pu Sunopore pamianO 2L%0 SUSI "TH HAS ILA Tel sod are uoneZiferousH Waray WON SssePDgne Jo LoHeENGUIOD [FyVITSEM BE, CMS ‘he constraint (ordered) indicates that the elements of "Many" be preserved, ‘constraint chat in not part of the models structure, T] 4 committee must be a memberOF of the memberOf assdciation, — ~ association end have chair of the committee; the chairOF association is a subset MemberO# J { fsubset} 2) Committee Chair A Fig (B): Subset constraint between association 3a Describe the two kinds of sequence models, What ‘arc the guidelines for sequence models. (12 Marks) ‘Ans: Refer Q.3(b) of December 2012 for sequence models Guidelines for sequence Models Prepare atleast one soenatio per use case 1 2. Abstract the scenario into sequence diagrams 3. Divide complex interactions 4 Prepare a seauence diagrant for each error condi 3-6 Flow an activity diagram differs from a traditional flowehaet? diagram tor stock trade processing, ram shows the sequences of ste on workflow. gram is like a tradi Give the activity Ps that make up a comp flow chat n activity diagram cant show of control. Activity diagram are often used for Ti they involve many cbjects-persons and organiaational unite concursently. i Refer the activity diagram for stock trade 4.2. What is system concey ‘good system concept. ‘Ans: System conception deals genins of an application. Both busi Md be understand the idea of an app ‘The purpose of system conception is to Wit nerd does the proposed system meet, can it be developed will the demand fo Ustify che cost of building 820d system concept must answer the following questions Who isthe appt ness nesds under Sunstar Exam Seaurn | i | 3 Object Oriented Modoting and Design June 2012 The fan sponsor re important eee they re poring othe se tobe on schedule an system. They expect the project t sersare also stakeholders. The users will ultimately dete * SPihe new stem y an ices (or dete the pete effectiveness t sole? Clearly bound the size of effort and establishment its scope 4% Determine which features wil be ie che new system and Whi * Reach various kinds of uses in diferent organization wi viewpoints and political motivations. 3 Should have 2 rough idea about how the new system will complement the existing systems. 4 2. Required 5 ceded? ‘ ‘Need co prepare a business case fo 4.b. Describe the steps pecformed in constructing I domain state model. (10 Marks) Refer Qadb of December 2011 ent sabsystem to a havdwace a. general purpose processor o a fractional unit (12 Marks) locate each concurrent subsystem to a hacare ut, ether 2 generale purpose processor of a specialized functional unit as follows + Estimate performance needs an + Choose hardware a sf Scannerney S298 me odyg “g aw 2p pow p45 w3}G0Ia uooufus assaxar sy "uoIsn}owOD un Sue lapun AyySnosoyp ast a “sisaMpodsy augyaq. cone spiaik fou syeuones pure suo%sia29 Suypuad pure suomeasasgo stay prooss pmoys pW fauno0p 80} y “suo suBuo asionny S80] “g 01 2p00 funumurexBoxd nus ay Suyddeyy -z atusos ji Surpusnsiapun 103 sIseq pv areayos esoptaond a av adoos saz¥a comer on) auposuiua) 19 smado amp are aemA “4°09 we saquianae] JO waD RE sy yeroqeyy “8-9 (ore oD) oye ouput dr-dod waoy v cssoy dur sys wes aneyrann vonmuny ¥ a raysiyd 9 cor spuodsanies si ca sssep pouyopasd uy, 7 sosiyp a0R1500] WeIO5] siusde euro ws 183 sassep woneaydde ap ss aonyraniy aaperanty we Buroisap us sdows a, our woNDeseDUT 2H, -erIu SUNIBYIP arAS-AN MOY AY jue soneuoyad “waists am ump jonuo> jo 2p ‘suonowraneyopqisod yo MUA at ‘sIHORY TwasaD agp puE WorsKs ot uDBH42q feooioud uopeaquntutwoo ay aie adepSIUI axDesUE ue Jo su20UOD sofeL 3 sosteap 40 Suetiny se yas Be yeurasD pu waishs ax vasmag suctoeisi fq porBuTUEP sy Wass st aneysnuT axe uy SUV (enews) sonpayet ss ‘10e ang -uBs9q pen Sumapoge pomuo 2220 i i i ; i | IIS EK anysung san jodoy wonsouue) + JO WOY per woUaBEs¥e a4 ou sn orstyd a¢p Sunpaitu0d 205 Boro sp 201m9:9q Sunmuzoiocy id ‘ese ag: odds 3 1S © Joy yea oo} ate sonus an Epasoxs 8 pue yo & uoaayag er MOY Bep 40 9) 22 ‘suopeaoy ey beach yonuaa Syst UES ssomSHFOT | «p Bisse 20j suoszas jesaias o ®( Lit) uagysuen soma se xp 9 ar0Ne pu ‘apIAard UED N1a°> asodind srinbar uaisés ayy, saoueuuzopiag “2 usasjos ite ot taney ese 9 S2P1016 aren Say Muy Ul swransXsqns Bemuay i meV sans anwar ‘Ho-9pEH sea yos-arempre seme 2oinosor usr oop Popsot {apedeo sox Jortunoute ayy Sin JO a1e2 a19e2do098 ap uo spuadap ‘VonDEsUEN ¥ ssa00id, . Puioos rod uonsesien Jo ou atg ceaaleninatae ‘04 2ta JOIonpard ax st u Aq 2m HUISS0% ene i 9 tod Bano 13> pani aan ut en weg Su 8p ust au * Swuawannboy 2oinosoy ameaspregy oqns 219 awa aI ‘ms Su souso}du yen st eats atp Jo Awanoownon SUSI 19 WAS 14VILSEM B.E, CSAS Don't be discouraged by approximate resi mount of time to exuace £0 percent of an appli 5. Expect odd constraints: Developers even the exper common constructs, 6. Watch fora consistent st 4 consistent strategy inclu practice | pattern? Explain the model architecture with GMT class diagram, + Refer Q.7a of December 2012 It is worth a modest 8 occasionally use style: Software in typically designed using ding consistent violations of good design view controller design pattern for software Marks) Desi tts tesa ates : st Refer Q.7¢ ecember 2012 re 2+ Along it nt ea aes tp, dens , sep dese pct semi ofthe ‘command processor pattera implementin, an undo mechanism, Ans: Refer Q.8a of December 2012 : pee ct (a0 Mas and how dhey Extensibility and Efficiency: View handter compon between clients thet wa 3. Seventh Sem OBJECT OR! 1a. Whatis object orientation? Explain its aspects with an exam Ex: Polygon Acclass is an abst ‘An objectis an ins B,E. Degree Examination, December 2012 TENTED MODELLING AND DESIGN ‘Max Marks: 100 PART-A. (06 Marks) -d as a collectors of discrete objects that incorporate both data, ‘which are loesely connected. Theseare called as object-oriented classification, inheritance and polymor ans the data is quantized into discrete, ume dara structure (attributes) oa class, tion Polygon objects Fig, Object and class Polygon dass: ‘Aturbutes verces border color fil color Operation: draw erase, move,1 = snseviCaqrM souyins cae $ = 10 Fy 000s = 248m ‘sounsoeivet coe, = sues corey 50) _—aarat eens Earyaoupns 1) dumaasendera rr [anawou | sanssongairew BinepEpeH Ss wyian | soumoeymuas ube (_ rwommioa | perouaS aup ssmostp 4 wssapo xd Buowre Jo sao su woo pue 04s unsBeap ‘s3d0 jo 2ouanbas squosap wip uss ays Jo jonmtan sazmydo> Jo yo Surouanbas ayp put sea) 20 omparord st rose 1909 19] uaIay ip st Ho 20} SmUD:2yEp 2avyoy Seu we "9 Jo amnivy {Uso si ppe pue sep sods au Jo seanyeaj ayn ye salu 0 5 “Ons YRS “wong saezoqeys pus suyar ssepogng“suoIREIULORUT ermLsd a _poveq s0ssvp9 Suowe wonesado pis 59 sag pun Bmp poRE ono. SUS) TI WIS HASunstar Exam Define the following te VIISEM BE. CSAS Cenetlizaton is the reiatonshp between a clase (the super class and one or more Uiferences Sere cetees) organizes classes by their sminttes ned Aiferences, Stucturing the description of objects {he super class holds common attibutes, operation and associat add specitic attributes, operations and associations aceraiations i called “isa” relationship because each instanceof a sub cas inan instance of the supér class. Fig, Shows generalization for equipment. Esch piece of equipment is pump, heat exchanger or tank Several kinds of pumps: Centifiga Several kinds of tanks: Spherical, + Tank generalized syanbol significant + Several objects are displayed at the bot Each object inherits fea tions. The sub classes the Figure. utes from one clase at each level of PLDI embodies the feats iptnent, pump and diaphragm, E300 has propertiesof equipment and heat exchanger Note: Listing of equipment, pumps and tanks i incomplete} How arcow head denotes generalization. The arrow head points to ion, lf braces denote a UML comment indicates the ditional sub classes is not shown acbtrary number lescendant refer ta generalicat levels 1 OF classes across eau ert all he features ofits ancestors but ads its own essure, dischargePressure and flowRate which o io not share, ') Foumerations i) Association ends i) Aggregation iv) Abstract clases, (08 Marks) te set of values, ossibe values of neration: An enumeration isa datatype that has toute accessPermi 12 a (Object Oriented Modeling aud Desiga- Decentber 2012 <
> 7 | clubs | hearts diamonds ion. A binary associati th, Properties of association ends are, "(Many Zero 0 3. Ordering Objects fora La set i) Aggregat Aggres: which and decks pcetain to elipl Es mover desigas. class abstract clas isa rect instances, A concrete dl is a class thac is insiantiabe, it can dicect instances, Swnstar ESood u aypuey asensue, soduoo ¥ se uopezt soubampas Sump ns {won noax9 10} saafqo snypoue @) wasrersdo roofgo ue you 44 urstueysour uopeaWUa|du UP s} Wom uesodo ensqe payes spouacu ouysp sassefo esisqyy uoj one we ut pars sf SsEpD FeNsGE we PEA, lug aun ue pur aacodargouegtyng “tun xed 30 ous 5 Jona 9a su saakoydasa Ty sep oensge ue Jo aplusexs Wes aoKoxs S561) ya Aasna eS SUSD TE WAS 114FALSEM BE. CSAS é Object Oriented Modeling and Design- December 2012 Enaios |) &s———--— [ainstapioee FeEmpStas partTimeEmployee _FPsetlineEmpsins PartManager 2-6 What do you mean by states and events? Draw the state diagrara for ate f | Busy usyTone een | of an object. | messageDon éPhoneAnswers ‘State diagram for telephone line system, {s concurrency? Explain the aggregation coucucrency, with an example. cs) Ans: Thestate model supports concurrency amongabjects, The object need notbe completely sd may be subject fo shared, Constraints that cause correspondence te changes. trunk are busy. sd phone beings ringing ‘ conversation can occur Phone disconnect and reverts to idle when past‘2v9 99n ared mp uo peaysone aun P pe ase9 asn pau sppads pue w olsun as09 25 Shy compos) SOB rns et *enysuoryejas pun, ‘woysmpsuy 2889 957 “Se “<
(O promesed ayepyea —_——. Pi Geman) ‘seo asm (Papaya) raze ayy foxy mone poysep ws di “aumnoagns v ax st ase ash papny 40 souenbos sotayaq up ump ase9 Asn auo soyel0d309N ty) soanos ou ou ‘dyysueneps suouvztessus8 ps puosxo ‘opnpouraxp pla ano! soqres ‘24 ueo saseo asm xa|duuo-) “sucnroT}dd ajduas 10j wopANs av 359 98n wep: (sumyx 30) surays4s aBeay0%, iy » Z10z s20ua0q -uStsoq pun Fimapogy Pome P!GD foxy aoysung. 50 om SSMS SyoHG “9+ 1102 Aingystinp jo éouyu 90) 424024 39018 oD - wo 10) oporu souDMbas a4 wsesCE gqapows aouonbos om ‘swieadezp aveis wossnou02 si pue wonedai8e Uy “Fi eng asap soenpaoe seas (200) wo |" ne 350500? 352? age 5 joo yo oxy ung frennay perasrery] Y° ‘Hes or oy any Buprs | ‘£03 95098 (aie unas ~ wont] 0} Jo - uonniBy woy uorysten oop uo yeanayY ut woystussuRLy, UoWsaNdx9 ren Aq usoys st ony Tencou wr 3 uoissunsuen aip Sopa IS TOU fhm Ie) ‘suoio 2tn Te 1pea pyre wf uonysuen soo8sapun wed WWE Rd qove wo as avo sopopUT seo a4 Jo HES aM, =xeIN DUR SoNETSOOY Se SUSI 'T9 KAS HAVILSEM BE, cas trade stocks trade options {Jee cts diagram of toch brokerage A signal use cas da : Kinds of relationships "8 ~A signal usecase diagram may combine several 4) Customer Object Oriented Modeling and Design- December 2012 © ‘4a. Brifly discuss the software development stages. (08 Marks) Ans: Software developments has a sequence of well-defined stages, each with a distinct urpose, input and output. Different stages ar: System conception: Conceive an application and formulate uirement, Analysis: Deeply understand the requirements by construct isis to specify what needs to he done, not how its done tages of analysis: domain analysis and application analysis, focuses as eal - world things whose semantics the app! Application analysis addresses the computer aspects of the appl models, The gaol of Devise a high - level strat tion problem. Establishes policies to gui design, Class design: Augment and adjust ch forld models from analysis so ate shifted (o computer inplementation, Determine algorithm for realizing the solving the applica: leld and gracefully cut over from legacy ap- rm viability of the application, dentify the classes for ATM bank system, What crite consideration to select right classes? Exp The in constructing class model isto find relevant classes for objects from the ay domain, Pigu in by listing candidate classes found inthe writen description of the problem, We should write down vety class that comes to mind, Classes often corre: ‘Sunstar Exam Seanner1S oxy anpsung Uwoneoyuuaa pres 20) wrexSe4p A ronssed asnian ue * Tay SeoRTRBETS) ° porooid or Sussa001d Wty so|e Ise ay Jo UOHajduoD jnysss0ons 249 p sutties PRY 2ouay “sunGaoe 20 pre atp 10g ‘sesuodsar ajqssod {uw ase 253 5 WY 2X uuonmuawajdu Furag 0} esaoxa ue se watp ast YoU tp Ing, jeue Sump oto] ssoursng wownsop or suABAID ys ‘Azeopo ow op A2ep nq s12® w, (sep 90) aayeds 2a FLEW Jo Gyanoe wopwogtoa pres amp wreyda ‘oresBexp Azanoe Iau e HMMA“ a-Lavd were ayes oimpeag's suuduip aves pang y swan pr '¢ sass puny"? ‘soins yas soss¥p urEMOP {BRUIP]“y ‘208 pol ureuLOp ionsu09 oF song opous ayes uremop sonsuos 09 sd918 ay} 35 SoSsepp J2If0 Woy, paeUDp 29 wD 9H s96sUIP ID “SOSsR]9 POAHIDG “§ (omer ro) Uwlsap & st woReataserdau joexo st ‘suousestren 30395 Ajdusis st SorTuoNDestney xz, ‘PLOW yp>1 or poreper are we [opoutsiséjeue 2x9 Woy nASED areUTLATT ‘somnsuea wopermotuaysiuy + Aeydiamm pue Sopp 2xp amido sweep aouanbas say ma uw E10t o9meseq Sis pa Bu poyt Pome P2f0 (01 you pu aumew idjaear ou pue s9afq0.0 paydde st yap womesado tre saquosap suoneindg “g sainqune se porwan 239 eo Koup 0s “usayqoad 09 yesaqead aae aratp nq ‘sdlaoas pure yseo sastiadsip PLY ‘onoode we soquDsap ing payed sapun s eiegquinoooy ‘amgue We ou ss v 9 ayEUL $5 fundoid w Jo oauaisixa tuapursdopes ayy jy “semngimae PLOY) inous ssep y ‘sossep auf “¢ anpnyjos WLW Jo adoos sip apisno 511803 83 ‘wojgoad 2p wpm op 09 3uepunpas a1v 980 pur wo} ‘ureu asrdiosap sow opp dany prnoys ons “daai09 auues ayp soda so sossepp amepyhpoy, 1 7 Eloseot |= | nme FBROP W|GaIT yo a oyniwapt 9q wea 1nq quawarNs ay Ur
You might also like
(Technical) Machine Learning U1-2 (2019 Pattern)
PDF
No ratings yet
(Technical) Machine Learning U1-2 (2019 Pattern)
86 pages
Java Lab Manual r23 You Can Get Basic Information by Reading The Document
PDF
No ratings yet
Java Lab Manual r23 You Can Get Basic Information by Reading The Document
41 pages
QA Techmax
PDF
No ratings yet
QA Techmax
263 pages
DMW Ebook TechKnowledge
PDF
No ratings yet
DMW Ebook TechKnowledge
216 pages
DSA Technical Textbook
PDF
No ratings yet
DSA Technical Textbook
620 pages
7th Sem Sunstar PDF
PDF
60% (5)
7th Sem Sunstar PDF
360 pages
TY - BSC (C.S) Software Testing - Notes
PDF
No ratings yet
TY - BSC (C.S) Software Testing - Notes
62 pages
Notes (DBMS) Knowledge Gate
PDF
No ratings yet
Notes (DBMS) Knowledge Gate
85 pages
FAFL Padma Reddy
PDF
100% (1)
FAFL Padma Reddy
457 pages
NN Unit - 1
PDF
No ratings yet
NN Unit - 1
27 pages
Last Minute Revision Notes For C++Programming Exam
PDF
No ratings yet
Last Minute Revision Notes For C++Programming Exam
33 pages
Cs8082 Machine Learning Techniques Ripped From Amazon Kindle e Books by Sai Seena
PDF
No ratings yet
Cs8082 Machine Learning Techniques Ripped From Amazon Kindle e Books by Sai Seena
148 pages
CN Decode PDF
PDF
No ratings yet
CN Decode PDF
173 pages
7th Sem Sunstar PDF
PDF
0% (1)
7th Sem Sunstar PDF
360 pages
DBMS Lab Manual
PDF
No ratings yet
DBMS Lab Manual
73 pages
Jntuk r20 ML Unit-II
PDF
No ratings yet
Jntuk r20 ML Unit-II
33 pages
Introduction To DBMS Theory and Practicals
PDF
100% (1)
Introduction To DBMS Theory and Practicals
205 pages
AIML Module 3
PDF
No ratings yet
AIML Module 3
25 pages
Android Application Development
PDF
No ratings yet
Android Application Development
156 pages
Aids I Book Sem 6
PDF
No ratings yet
Aids I Book Sem 6
223 pages
Lecture 1
PDF
No ratings yet
Lecture 1
43 pages
Theory of Computation
PDF
No ratings yet
Theory of Computation
120 pages
Discrete Mathematical Structures With Application To Computer Science by J.P Tremblay & R. Manohar
PDF
No ratings yet
Discrete Mathematical Structures With Application To Computer Science by J.P Tremblay & R. Manohar
308 pages
DBMS Short Notes
PDF
No ratings yet
DBMS Short Notes
4 pages
Discrete Mathematics Farkaleet Series
PDF
No ratings yet
Discrete Mathematics Farkaleet Series
154 pages
204CS001-Machine Learning Techniques.
PDF
No ratings yet
204CS001-Machine Learning Techniques.
1 page
ML Decode TE IT
PDF
No ratings yet
ML Decode TE IT
71 pages
Statistics TechNeo
PDF
100% (1)
Statistics TechNeo
226 pages
Machine Learning Handwritten Notes
PDF
100% (1)
Machine Learning Handwritten Notes
98 pages
Supplementary Board Meeting Agenda PDF
PDF
100% (1)
Supplementary Board Meeting Agenda PDF
38 pages
The Collections FRAMEWORK (Java - Util) : Part-A
PDF
No ratings yet
The Collections FRAMEWORK (Java - Util) : Part-A
47 pages
1.GATE 2019 Guide Computer Scienc - GK PUB-2020
PDF
No ratings yet
1.GATE 2019 Guide Computer Scienc - GK PUB-2020
1,065 pages
LDCO
PDF
No ratings yet
LDCO
364 pages
CG Decode
PDF
100% (1)
CG Decode
93 pages
Linear Algebra-Final-KSOU-BCR PDF
PDF
No ratings yet
Linear Algebra-Final-KSOU-BCR PDF
141 pages
@vtucode - in Module 4 AI 2021 Scheme 5th Sem
PDF
No ratings yet
@vtucode - in Module 4 AI 2021 Scheme 5th Sem
11 pages
Discrete Structures Notes - TutorialsDuniya
PDF
No ratings yet
Discrete Structures Notes - TutorialsDuniya
136 pages
DAA TechKnowledge
PDF
No ratings yet
DAA TechKnowledge
195 pages
AIML 4th and 5th Module Notes
PDF
No ratings yet
AIML 4th and 5th Module Notes
77 pages
18CS36 DMS Module 1 Notes PDF
PDF
92% (13)
18CS36 DMS Module 1 Notes PDF
63 pages
Decode (DM) Unit 2
PDF
No ratings yet
Decode (DM) Unit 2
26 pages
New Advances in Machine Learning: ISBN 978-953-307-034-6
PDF
No ratings yet
New Advances in Machine Learning: ISBN 978-953-307-034-6
378 pages
Data Science Fundamentals Syllabus
PDF
No ratings yet
Data Science Fundamentals Syllabus
3 pages
ML Spectrum
PDF
No ratings yet
ML Spectrum
144 pages
Numpy Handwritten Notes
PDF
No ratings yet
Numpy Handwritten Notes
8 pages
Topic: Classification of Data Structure
PDF
No ratings yet
Topic: Classification of Data Structure
24 pages
DBMS LAB Manual Final22
PDF
0% (1)
DBMS LAB Manual Final22
74 pages
AIML Course File
PDF
No ratings yet
AIML Course File
31 pages
System Software Jan 2005 Old
PDF
No ratings yet
System Software Jan 2005 Old
2 pages
Lab Manual: Department of Computer Engineering
PDF
No ratings yet
Lab Manual: Department of Computer Engineering
66 pages
Machine Learning
PDF
No ratings yet
Machine Learning
7 pages
Daa Lab Manual
PDF
No ratings yet
Daa Lab Manual
60 pages
One Month Internship in DataScience With AIML
PDF
No ratings yet
One Month Internship in DataScience With AIML
3 pages
CD Unit - 1
PDF
No ratings yet
CD Unit - 1
38 pages
@vtucode - in Previous Year Merged Paper Solution Automata
PDF
No ratings yet
@vtucode - in Previous Year Merged Paper Solution Automata
42 pages
Discrete Mathematical Structures
PDF
No ratings yet
Discrete Mathematical Structures
3 pages
ST 2
PDF
No ratings yet
ST 2
46 pages
AI Lab MAnual Final
PDF
No ratings yet
AI Lab MAnual Final
44 pages
Cloud Computing Unit-1 Notes
PDF
No ratings yet
Cloud Computing Unit-1 Notes
12 pages
ADA Model QP 2023-24
PDF
No ratings yet
ADA Model QP 2023-24
2 pages