欢迎来到天天文库
浏览记录
ID:9226408
大小:759.20 KB
页数:86页
时间:2018-04-23
《面向对象软件工程(使用uml,模式与java)全套课后习题答案》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、Object-OrientedSoftwareEngineering:UsingUML,Patterns,andJava:SolutionstoExercises1.IntroductiontoSoftwareEngineering:Solutions1-1Whatisthepurposeofmodeling?Thepurposeofmodelingistoreducecomplexitybybuildingasimplifiedrepresentationofrealitywhichignoresirreleva
2、ntdetails.Whatisrelevantornotisdefinedbythequestionsthemodelwillbeusedtoanswer.1–2Aprogramminglanguageisanotationforrepresentingalgorithmsanddatastructures.Listtwoadvantagesandtwodisadvantagesofusingaprogramminglanguageassolenotationthroughoutthedevelopmentpro
3、cess.Advantages:•Developersneedonlylearnonenotationforalldevelopmentactivities.•Traceabilityamongmodelsandbetweenmodelsandcodeismadeeasiersincetheyarewritteninthesamenotation.Disadvantages:•Aprogramminglanguageisalowlevelnotationwhichisdifficulttouseforreprese
4、ntinguserrequirements,forexample.•Aprogramminglanguageenablesandencouragesdeveloperstorepresentimplementationdetailstooearly.1–3Considerataskyouarenotfamiliarwith,suchasdesigningazero-emissionscar.Howwouldyouattacktheproblem?Thisisanopenendedquestionwhosepurp
5、oseisforstudentsthinkaboutproblemstheycannotsolvewithouthelp.Answersshouldcontaintwoormoreofthefollowingpoints:•Definetheproblempreciselybygatheringinformationfrompotentialusers.•Discovertheboundariesofthesolutionspacebygatheringinformationfromapplicationdomai
6、nexperts.•Brainstormideaswithotherpeople,includingexpertsandnonexperts•Evaluateideasusingprototypes,simulations,andcandidateusers.1–4Whatismeantby“knowledgeacquisitionisnotsequential”?Provideaconcreteexampleofknowledgeacquisitionthatillustratesthis.Knowledgea
7、cquisitionisnonlinearinthesensethattheacquisitionofanewpieceofknowledgemayinvalidatepriorknowledge.Inotherterms,knowingonemorepieceofinformationmayleadyoutorealizethatwhatyouthoughtyouknewisinvalid.GalileoGalileiinvalidatedtheearthcentricmodeloftheuniversebyo
8、bservingthemoonsofJupiterandthephasesofVenus.1–5Hypothesizearationaleforthefollowingdesigndecisions:Thisexercisetestsifthestudentunderstandsthedifferencebetweenadecisionanditsrationale.Th
此文档下载收益归作者所有