Docsity

Software Engineering : Software Design and Testing Fundamentals, Study notes of Computer science

Partial preview of the text

Download Software Engineering : Software Design and Testing Fundamentals and more Study notes Computer science in PDF only on Docsity!

i$ Tronsiation of Renuivement mocle) ‘Tints, T desfan made’: 2. Translating require ments {ote ceastcim means ; meving. Previa “what the salen Shorld clo” to Oho Tt will be butt) _ ‘ie The requifare ment model shows Whe suslem from Ane uber's polio. of views toitho tw: Amcusing on tmplement atts rae ie The. desiun mecle) describes the Sustem's orchilechire | components and Thterachions ana snows Nou tne reauirememts uoill be karllilloc { * Architechirvdl Design: \ Pronttectuynal deston drbinos ne. overalh struchire | Go, S OF the sustem anol Us ane. fare compo ne nis: “i St nvolves selecting a suitable archilectural style uch cy ean er layereal, awa! MW creservVicoa. Ti Mme sustem is lbynken doum Mh moduler £4: a ~ Loan reg urement Wecomea a Uner Maowniscperne mooie - * Trrerface. Derton’ | ow and. ¢ aterface dersian spect leon Une. commnuntcarion ' hehuean ynodites uridtth external stualemn- tie Je ekinar dhe, date formas and i eee re { proteces hock voll be Act. ! we, requirement to comnect twitth oa payment Gateway becomes ao detailed API Specijication. * Component — | evel Deaton - Compemernt- Jevel Design Forcier on the. interned logie OW each module. or component. ul UMA Cunikied Moctel ing. Leung riage) Cuagrams such os Class lie aban or crclinitis diagrams are Uneck tp ‘represent Sharchires and prncasSea e) {i Cg. Sovting rears by rrelenwance hecomes a’ Sorting algo tam. tn tne search compan enh. : Data. Desian: 4 —o 4-1 Data deatan involves exeatina a Aeckailed cata. | nnn Ha erk represerrts Hne_Mismmation He system “Te Sonsiene requirements mto a dalatbanre. shema Loith tables ano Li elols am Tht a files becomes a llser tabte uth name email and caddress. 8 Rieti. - Aistraction tate jprecess of, Jocusing on tae’ ——___essentia) Peatures at a cuern whiks nicling Linnecessamy cle+arl» - : Ut: Te te) » taal whak oa Sy sewn clogs + — ti: Th shows only important Ratures cand hide 4 Trreleavant a eraiduc: , We J provides fot hig ner —lewel vious oO} the. Siphon, : Ne Helos manage comypieriti by breaking ne } { re 4 ri tenn Lnto simpler moclela Me ze Amn albstrack clara clo tne methoca casithout Giving. net ‘Tm plem en\ att on * anPonrmnatimn bHrolund- 4. T+ Ca ne prnecess of nicking tne Miernal detnita OF a sustem oe module sa that onli Nerowsary i a ag oO parts Are visilie- Vi T+ Fociines on hidins the internal details of Amp) emerntation. Ye Te prevents Aireck accoas -to intemal data: ox Processes - ive Vr Tn crearca ey and prevents Misiyze et clock’ we TE make, Ub easiow +o change Urrbermad olesign without affecting. otner pons of she Suslem Me 9. Privade. vorici es cn _a_class hicke Agta fom Arireck access. & Duyerence belureon Absreaction ond Information Hiding: Aspects Abstrachon Sn ormealion Rircing Defintion | Shows only tmporlant | Hides Mmiemal details so features, hicles unnecessary | only neacleo\ paxts cre cletails : _ _wistble. Focus emphases What Ane Crnphasizes how the system doen ysiccn uonrka Lrwiale: Purpere | Reduce complexity — Prodects data and prerents is = misuse. Derails, nores Nrelevent Koons TMierma) clata ar en hidden: freee Alpstvack class clol\ines Pvole werialslea fn a l claw hiclesn data Prom Mmetnhucls wibhnouk givin, theic tm plenmenta Hon. clirect -accems’ 2 A Deda “Tow Ota mC DEEDS)! (7: Tt is a cliaarnm threat chows how data moves mrt Meclictes fompome nts euch as __Horeug how Yl Lem and how tk ts processed as nk Anal YT dabe low cand "date store - 3 “git ows levels which cre clivberent Layen af dete) ded to repre) ent cy Stream jy Tt visualize deta movement and Ten graven — oe Syste dertan* y pA Date siove! po TT Of plore Loh ere. clatn t Ln Kept for ha ben ure { Liuk’e Lito or chatatom re): a - Ahourss Wwhet infoame tow ia dhived tn tho Syotem- itt a Lading parallel Atnes iv. fo | : - : ‘ Produrcks Example 1: Solutio © 1: Draw DFD for College Management System. On: The DFDs for college management system are giv DED Level 0: Admin DED Level 1: Admin User DED Level 2: — Student Database Students Detai : Fee Structu Fees Database en below. —_——__—_—_——— Management College Details System ————_—_— Fig. 3.18 College Management System College Details Fig. 3.19 —_—__—_—— Course Database College Login Course Details : — College Database —_—_— College 7} College Profile Management \ System Mail ~Admini- | - strator Fig. 3.20 Example 2: Draw DFD for Hospital Management System. Solution: DED Level 0: It only contains one process node that genera’ lizes the functions of the entire system in relationship to external entities. Ba: Raye Authentication / Hospital : } Management Lab reports, & System J Bill statement ROSY Hospital database Fig. 3.21 31. Draw a data flow diagram level 0 and 1 for a Book Publishing House. Ans. Level 0 DFD: rocess order Level 1 DFD: Book information file = Book store order — ne | OK — Order Order ~ |— Orders assembled "Assemble Credit Shippi - - : ppin : sheck ‘tequisition to” order 2 Warehouse - Warehouse: , ce a Customer 7 information | 33. Draw Gata ow Glagram for railway reservation system. Ans. Context level or 0-level DFD: Fill cancellation form Fill reservation form Passenger : Railway Reservation ve Ticket information Context level or 1-level DFD: Reservation/Cancell Passenger information Sections - toate dall Up/down train information information Admin Waiting information Reservation storage file Reservation Process Ticket generation Process Report} to Admin , Down storage Up storag 2: Comlttion Ca ty ' Tht represents dat control —_— Module can selock ON oh «the submociude, on the basi ok Some conclition - Contry) Maduile | : [SwWomocbule, SwoMocdute 2. Lanny CReperitine Cau oO} Mocliste\t 4 be resents LOO | { the nen atitwe 2 eration eof module by tne Sun meocdutle-A anved arm udp resenba Joon In he modi) eo. leontyo) mocule RTK ia SubYnocdule | SubmModute) — [SubmMeolule Ay Dats ptois2: J repre sends the. {ew of cata Kelinecon dhe Mmooliiles. Repreenteal by. a directed ayn with oun Abmplay cheele at the enol. : oclisle 4. 4 $ é J E. ge yg Module 2. 3 Control jlo) 44 steps edents -+he +! Ow of, ww contipl between +he module, Represented rotlha Act do eirele pe men a dairectee! anow Lmoduler_ | ¢ 7 G6. Phuctcal Stage > I+ fs where atl the am Bometion. Ane. to be Atored + — it Physical Shovage, a Nexity Login _ View Compose. details Meragcs Me Login details (9 "4 : I 2 t z Oerath - z 7 ~ 0 cre OK ee _| Compose un [| Send SerA database Meseages Exnanation: * Condition.» Mem neresiais Qintur» ona purchare. Gymeunt- be Actions: Inehner to cive a discount At rambinations pl concitions are ConA ickerect sto enAure no tule ts ynissed. Difference Detuswon black box anal tQhibe, hex testing: Aspects Black Rox Tes ting lalimFe Rox Tesh as alse called | Closed Box Testing Clear box “Tesh nee | Dene bay. Software. testers Solrwonr oe clevelopers. ) | Thiernal Not known Know, Workt | Knowle } g Progaming Testers colo not restive Teatern reg Lute. pregenanes programming knowledge kunwledae - rd d d Cod s. Not Ne cadoal Niel ool fim plement j | Trme- Leys More i Consuming , Iw A Pigeitiny Unsuitable Bor Sutket le for : Feating- loo. beating alan. fest ay Diupram te } q =n 2 a ————a Vv ¥% BifPrence beltpean statictesting & dyqacme ——§a 2 7 Static Testing Cymamic Testing A $1 Condlurcte ab +o ote ok Conclucten!l to andlyze aly namic te olofe fon ane charactors tk o ° On te | co it Cecle dees nok necol to be executed. exercised - re m9 Th tx fen 2X penAiie. Jt Sy york 2 i ve | TE 1% nas PrMe-Conauming | Tt Os More Hine Consuming - e ig Vv: a Ey jclleraiag. dhe Done by following Hac , checklar items tes cave ( vil Thvo)lves +he ver rfacobiany Tnwdwes tne validaktan forcedirye. procedure . hi A erence Joyo. Pinna & Beto esting | “Pipa. Testing. pels Text ng fe Rarimvecsd by MLSS who Performacl ou Pada wes who Cure, eraployce 2] 8 Ce pop. Qxe not Cenploye es BCom peinars tlPerthrmed oat rvebopens Rerformad ot clrent AS tee: location. —t ‘tie Requires specie envivernmd Des Not Nea Healer C V foe ertringy. —— ‘Testing : t Bano