欢迎来到天天文库
浏览记录
ID:5338479
大小:759.20 KB
页数:86页
时间:2017-12-08
《面向对象软件工程(使用uml,模式与java)全套课后习题答案》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Object-OrientedSoftwareEngineering:UsingUML,Patterns,andJava:SolutionstoExercises1.IntroductiontoSoftwareEngineering:Solutions1-1Whatisthepurposeofmodeling?Thepurposeofmodelingistoreducecomplexitybybuildingasimplifiedrepresentationofrealitywhichignoresirrelevantdetails.Whatisre
2、levantornotisdefinedbythequestionsthemodelwillbeusedtoanswer.1–2Aprogramminglanguageisanotationforrepresentingalgorithmsanddatastructures.Listtwoadvantagesandtwodisadvantagesofusingaprogramminglanguageassolenotationthroughoutthedevelopmentprocess.Advantages:•Developersneedonlyl
3、earnonenotationforalldevelopmentactivities.•Traceabilityamongmodelsandbetweenmodelsandcodeismadeeasiersincetheyarewritteninthesamenotation.Disadvantages:•Aprogramminglanguageisalowlevelnotationwhichisdifficulttouseforrepresentinguserrequirements,forexample.•Aprogramminglanguage
4、enablesandencouragesdeveloperstorepresentimplementationdetailstooearly.1–3Considerataskyouarenotfamiliarwith,suchasdesigningazero-emissionscar.Howwouldyouattacktheproblem?Thisisanopenendedquestionwhosepurposeisforstudentsthinkaboutproblemstheycannotsolvewithouthelp.Answersshou
5、ldcontaintwoormoreofthefollowingpoints:•Definetheproblempreciselybygatheringinformationfrompotentialusers.•Discovertheboundariesofthesolutionspacebygatheringinformationfromapplicationdomainexperts.•Brainstormideaswithotherpeople,includingexpertsandnonexperts•Evaluateideasusingp
6、rototypes,simulations,andcandidateusers.1–4Whatismeantby“knowledgeacquisitionisnotsequential”?Provideaconcreteexampleofknowledgeacquisitionthatillustratesthis.Knowledgeacquisitionisnonlinearinthesensethattheacquisitionofanewpieceofknowledgemayinvalidatepriorknowledge.Inotherte
7、rms,knowingonemorepieceofinformationmayleadyoutorealizethatwhatyouthoughtyouknewisinvalid.GalileoGalileiinvalidatedtheearthcentricmodeloftheuniversebyobservingthemoonsofJupiterandthephasesofVenus.1–5Hypothesizearationaleforthefollowingdesigndecisions:Thisexercisetestsifthestud
8、entunderstandsthedifferencebetweenadecisionanditsrationale.Th
此文档下载收益归作者所有