相关章节作业及答案课件_第1页
相关章节作业及答案课件_第2页
相关章节作业及答案课件_第3页
相关章节作业及答案课件_第4页
相关章节作业及答案课件_第5页
已阅读5页,还剩44页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

ModernSoftwareEngineeringCollegeofComputer(SW)ScienceSichuanUniversity©2010SichuanUniversityAllrightsreserved.|Confidential2ExerciseWhichquestionnolongerconcernsthemodernsoftwareengineeringWhydoescomputerhardwarecostsomuch?Whydoessoftwaretakealongtimetofinish?Whydoesitcostsomuchtodevelopapieceofsoftware?Whycan'tsoftwareerrorsberemovedfromproductspriortodelivery?Answer:aTodaytheincreasedpowerofthepersonalcomputerhasbroughtaboutanabandonmentofthepracticeofteamdevelopmentofsoftware.TrueFalseAnswer:bSoftwareisaproductandcanbemanufacturedusingthesametechnologiesusedforotherengineeringartifacts.TrueFalseAnswer:bSoftwaredeterioratesratherthanwearsoutbecauseSoftwaresuffersfromexposuretohostileenvironments.Defectsaremorelikelytoariseaftersoftwarehasbeenusedoften.Multiplechangerequestsintroduceerrorsincomponentinteractions.Softwaresparepartsbecomehardertoorder.Answer:c1-A©2010SichuanUniversityAllrightsreserved.|Confidential3Exercise5.Mostsoftwarecontinuestobecustombuiltbecausea.Componentreuseiscommoninthesoftwareworld.b.Reusablecomponentsaretooexpensivetouse.c.Softwareiseasiertobuildwithoutusingsomeoneelse'scomponents.d.Off-the-shelfsoftwarecomponentsareunavailableinmanyapplicationdomains.Answer:d6.Thenatureofsoftwareapplicationscanbecharacterizedbytheirinformationa.complexityb.contentc.determinacyd.bothbandcAnswer:d7.Changecannotbeeasilyaccommodatedinmostsoftwaresystems,unlessthesystemwasdesignedwithchangeinmind.TrueFalseAnswer:a8.Thefunctionalityofmostcomputersystemsdoesnotneedtobeenhancedthelifetimeofthesystem.TrueFalseAnswer:b©2010SichuanUniversityAllrightsreserved.|Confidential4Chapter2AGenericViewofProcessSoftwareEngineering–ALayeredTechnologyAProcessFrameworkCMMIProcessPatternsProcessTechnologyContent©2010SichuanUniversityAllrightsreserved.|Confidential5ExerciseWhichoftheitemslistedbelowisnotoneofthesoftwareengineeringlayers?Answer:bProcessManufacturingMethodsToolsSoftwareengineeringumbrellaactivitiesareonlyappliedduringtheinitialphasesofsoftwaredevelopmentprojects.Answer:bTrueFalseWhichofthesearethe5genericsoftwareengineeringframeworkactivities?Answer:acommunication,planning,modeling,construction,deploymentcommunication,riskmanagement,measurement,production,reviewinganalysis,designing,programming,debugging,maintenanceanalysis,planning,designing,programming,testingWhichofthesetermsarelevelnamesintheCapabilityMaturityModel?Answer:ePerformedRepeatedReusedOptimizedBothaandd©2010SichuanUniversityAllrightsreserved.|Confidential6Exercise5.Whichoftheitemslistedbelowisnotoneoftheprocesspatterns.Answer:da.Intentb.Solutionc.ResultingContextd.Output6.Processtechnologytoolsallowsoftwareorganizationstocompressschedulesbyskippingunimportantactivities.Answer:ba.Trueb.False7.Itisgenerallyacceptedthatonecannothaveweaksoftwareprocessesandcreatehighqualityendproducts.Answer:aTrueFalse8.Thetasks(anddegreeofrigor)foreachactivityarealwaysunchanged.Answer:bTrueFalseQuestionforChapter2Listthreeareasinwhichprocessmodelsmaydifferfromoneanother.WhatarethenamesofthesixlevelsoftheSEICapabilityMaturityModelIntegration(CMMI)?Inyourownwords,brieflydescribeeach.WhyhasthePersonalSoftwareProcesshasnotbeenwidelyadoptedbyindustry?Answer:(Section2.6.2)Describethe“plan-do-check-act”cyclefromintheISO9001:2000standardasitisappliedtoassessingthequalitymanagementelementsofasoftwareproject.©2010SichuanUniversityAllrightsreserved.|Confidential8Chapter3ProcessModelsPrescriptiveprocessmodelsWaterfallModelIncrementalprocessmodelsIncrementalmodelRADmodelEvolutionaryprocessmodelsPrototypingmodelSpiralmodelConcurrentdevelopmentmodelSpecializedprocessmodelsComponent-BaseddevelopmentmodelFormalmethodsmodelAspect-OrientedsoftwaredevelopmentmodelUnifiedProcessContent©2010SichuanUniversityAllrightsreserved.|Confidential9ExerciseThelinearsequentialmodelofsoftwaredevelopmentis

Answer:aAreasonableapproachwhenrequirementsarewelldefined.Agoodapproachwhenaworkingprogramisrequiredquickly.Thebestapproachtouseforprojectswithlargedevelopmentteams.Anoldfashionedmodelthatcannotbeusedinamoderncontext.ThelinearsequentialmodelofsoftwaredevelopmentisalsoknownastheAnswer:eClassicallifecyclemodelFountainmodelSpiralmodelWaterfallmodelbothaanddTheincrementalmodelofsoftwaredevelopmentisAnswer:bAreasonableapproachwhenrequirementsarewelldefined.Agoodapproachwhenaworkingcoreproductisrequiredquickly.Thebestapproachtouseforprojectswithlargedevelopmentteams.Arevolutionarymodelthatisnotusedforcommercialproducts.TherapidapplicationdevelopmentmodelisAnswer:cAnothernameforcomponent-baseddevelopment.Ausefulapproachwhenacustomercannotdefinerequirementsclearly.Ahighspeedadaptationofthelinearsequentialmodel.Alloftheabove.©2010SichuanUniversityAllrightsreserved.|Confidential10Exercise5.EvolutionarysoftwareprocessmodelsAnswer:dAreiterativeinnatureCaneasilyaccommodateproductrequirementschangesDonotgenerallyproducethrowawaysystemsAlloftheabove6.TheprototypingmodelofsoftwaredevelopmentisAnswer:ba.Areasonableapproachwhenrequirementsarewelldefined.b.Ausefulapproachwhenacustomercannotdefinerequirementsclearly.c.Thebestapproachtouseforprojectswithlargedevelopmentteams.d.Ariskymodelthatrarelyproducesameaningfulproduct.7.WhichoftheseisnotoneofthephasenamesdefinedbytheUnifiedProcessmodelforsoftwaredevelopment?Answer:dInceptionphaseElaborationphaseConstructionphaseValidationphase8.IntheUnifiedProcessmodelrequirementsaredeterminediterativelyandmayspanmorethanonephaseoftheprocess.Answer:aTrueFalse©2010SichuanUniversityAllrightsreserved.|Confidential11Chapter4AgileDevelopmentWhatisAgility?AnAgileprocessAgileProcessModelExtremeProgramming(XP)AdaptiveSoftwareDevelopment(ASD)DynamicSystemsDevelopmentMethod(DSDM)ScrumCrystalFeatureDrivenDevelopment(FDD)AgileModeling(AM)Content©2010SichuanUniversityAllrightsreserved.|Confidential12ExerciseAgilityisnothingmorethantheabilityofaprojectteamtorespondrapidlytochange.

TrueFalseWhichofthefollowingisnotnecessarytoapplyagilitytoasoftwareprocess?EliminatetheuseofprojectplanningandtestingOnlyessentialworkproductsareproducedProcessallowsteamtostreamlinetasksUsesincrementalproductdeliverystrategyHowdoyoucreateagileprocessestomanageunpredictability?RequirementsgatheringmustbeconductedverycarefullyRiskanalysismustbeconductedbeforeplanningtakesplaceSoftwareincrementsmustbedeliveredinshorttimeperiodsSoftwareprocessesmustadapttochangesincrementallyBothcanddAnswer:Whichofthefollowingtraitsneedtoexistamongthemembersofanagilesoftwareteam?CompetenceDecision-makingabilityMutualtrustandrespectAlloftheabove.Answer:1-B2-A3-E4-D©2010SichuanUniversityAllrightsreserved.|Confidential13Exercise5.Allagileprocessmodelsconformtoagreaterorlesserdegreetotheprinciplesstatedinthe"ManifestoforAgileSoftwareDevelopment".Answer:TrueFalse6.WhatarethefourframeworkactivitiesfoundintheExtremeProgramming(XP)processmodel?a.analysis,design,coding,testingb.planning,analysis,design,codingc.planning,analysis,coding,testingd.planning,design,coding,testingAnswer:7.WhatarethethreeframeworkactivitiesfortheAdaptiveSoftwareDevelopment(ASD)processmodel?Answer:analysis,design,codingfeasibilitystudy,functionalmodeliteration,implementationrequirementsgathering,adaptivecycleplanning,iterativedevelopmentspeculation,collaboration,learning8.WhichisnotoneofthekeyquestionsthatisansweredbyeachteammemberateachdailyScrummeeting?Answer:Whatdidyoudosincethelastmeeting?Whatobstaclesareyouencountering?Whatisthecauseoftheproblemsyouareencountering?Whatdoyouplantoaccomplishatthenextteammeeting?5-A6-D7-D8-C©2010SichuanUniversityAllrightsreserved.|Confidential14PartTwo:SoftwareEngineeringPractice

Howdoessystemengineeringleadtoeffectivesoftwareengineering?Whatis

requirementsengineering,andwhataretheunderlyingconceptsthatleadtogoodrequirementsanalysis?Howistheanalysismodelcreated,andwhatareitselements?Whatisdesignengineering,andwhataretheunderlyingconceptsthatleadtogooddesign?Whatconcepts,models,andmethodsareusedtocreatearchitectural,interface,andcomponent-leveldesigns?Whatstrategiesareapplicabletosoftwaretesting?Whatmethodsareusedtodesigneffectivetestcases?Whatmeasuresandmetricscanbeusedtoassessthequalityofanalysisanddesignmodels,sourcecode,andtestcases?©2010SichuanUniversityAllrightsreserved.|Confidential15ContentChapter5:SystemEngineering

Computer-BasedSystemsTheSystemEngineeringHierarchyBusinessProcessEngineering:AnOverviewProductEngineering:AnOverviewSystemModelingHatley-PirbhaiModelingSystemModelingwithUML©2010SichuanUniversityAllrightsreserved.|Confidential16ExerciseWhichofthefollowingcanbeelementsofcomputer-basedsystems?Answer:

documentationsoftwarehardwarepeopleallofaboveToconstructasystemmodeltheengineershouldconsiderwhichofthefollowingrestrainingfactors?Answer:assumptionsbudgetconstraintsschedulebothaandcDuringbusinessprocessengineering,threedifferentarchitecturesareexamined.Answer:applications,data,technologyinfrastructurecommunications,organization,financialinfrastructurenetwork,database,reportingstructuresystems,requirements,datastructureThegoalofproductengineeringistotranslatethecustomer'sdesireforasetofdefinedcapabilitiesintoaworkingproduct.Answer:TrueFalse1-E2-E3-A4-A©2010SichuanUniversityAllrightsreserved.|Confidential17Exercise5.UMLnotationsthatcanbeusedtomodelthehardwareandsoftwareelementsofasystemareActivitydiagramsClassdiagramsDeploymentdiagramsUse-casediagramsa,b,andcAnswer:e

6.Thesystemmodeltemplatecontainswhichofthefollowingelementsa.inputb.outputc.userinterfaced.allofaboveAnswer:d7.ThetoplevelofthehierarchicalmodelofasystemisknownastheAFDDFDSCDSFDAnswer:c5-E6-D7-C©2010SichuanUniversityAllrightsreserved.|Confidential18Exercise8.Selectanylargesystemorproductwithwhichyouarefamiliar.Definethesetofdomainsthatdescribetheworldviewofthesystemorproduct.Describethesetofelementsthatmakeuponeortwodomains.Foroneelement,identifythetechnicalcomponentsthatmustbeengineered.BPE(BusinessProcessEngineering)worldview:bankdomains:loans,savings,foreignexchangeelementsofsavings:Windowservice,Onlineservice,ATMservicetechnicalcomponentsofOnlineservice:customeridentify(security),communication,databaseProductEngineeringworldview:smartphonedomains:chipset,softwareelementsofsoftware:OS,applicationplatformtechnicalcomponentsofapplicationplatform:communication,security,utility(telephonebook,calendar)

©2010SichuanUniversityAllrightsreserved.|Confidential19Chapter6

Requirements

Engineering

RequirementsEngineeringTasks

Inception

Elicitation

Elaboration

Negotiation

Specification

Validation

RequirementsManagementContent©2010SichuanUniversityAllrightsreserved.|Confidential20ExerciseInrequirementsvalidationtherequirementsmodelisreviewedtoensureitstechnicalfeasibility.

TrueFalseAnswer:bInwin-winnegotiation,thecustomer'sneedsaremeteventhoughthedeveloper'sneedmaynotbe.TrueFalseAnswer:bWhichofthefollowingisnotoneofthecontext-freequestionsthatwouldbeusedduringprojectinception?Whatwillbetheeconomicbenefitfromagoodsolution?Whoisagainstthisproject?Whowillpayforthework?Whowillusethesolution?Answer:bTheuseoftraceabilitytableshelpstodebugprogramsfollowingthedetectionofrun-timeerrorsdeterminetheperformanceofalgorithmimplementationsidentify,control,andtrackrequirementschangesnoneoftheaboveAnswer:c©2010SichuanUniversityAllrightsreserved.|Confidential21Exercise5.ThesystemspecificationdescribestheFunction,performanceandconstraintsofacomputer-basedsystemimplementationofeachallocatedsystemelementsoftwarearchitecturetimerequiredforsystemsimulationAnswer:a6.Use-caseactorsarealwayspeople,neversystemdevices.a.True

b.FalseAnswer:b7.WhichofthefollowingisnotoneoftherequirementclassificationsusedinQualityFunctionDeployment(QFD)?excitingexpectedmandatorynormalAnswer:c©2010SichuanUniversityAllrightsreserved.|Confidential22Exercise8.Developacompleteuse-caseforoneofthefollowingactivities.MakingawithdrawalatanATM

Usingyourchargecardforamealatarestaurant

Searchingforbooks(onaspecifictopic)usinganon-linebookstoreWithdrawalmanagementAbnormalprocessbankcardATMSolutionaUse-case:

withdrawalatanATMPrimaryactor:customer,bankcard,ATMPrecondition:ATMisreadyTrigger:customerdecidestomakeawithdrawalScenario:CustomerinsertbankcardintoATMCustomerinputpasswordCustomerpressthewithdrawalCustomerinputthenumberofmoneyCustomergetsthemoneyCustomertakesoutthebankcardException:Thebankcardisnotrecognized–seeabnormalprocessPasswordisincorrectornotrecognized–seeabnormalprocessMoneydoesnotgetout–seeabnormalprocessThebankcardcannotbetookout–seeabnormalprocess©2010SichuanUniversityAllrightsreserved.|Confidential23Exercise8.Developacompleteuse-caseforoneofthefollowingactivities.MakingawithdrawalatanATM

Usingyourchargecardforamealatarestaurant

Searchingforbooks(onaspecifictopic)usinganon-linebookstoreReadingchargecardAbnormalprocesschargecardCardreaderCashierCustomerSolutionb:Use-case:

usingchargecardatarestaurantPrimaryactor:customer,cashier,chargecard,cardreaderPrecondition:cardreaderisreadyTrigger:customerdecidestopaybychargecardScenario:CashierinsertchargecardintocardreaderCustomerinputpasswordCashierinputthenumberofmoneyCardreaderprintsthereceiptCashiertakesoutthechargecardCustomersignsthereceiptException:Thechargecardisnotrecognized–seeabnormalprocessPasswordisincorrectornotrecognized–seeabnormalprocessreceiptdoesnotgetout–seeabnormalprocessThechargecardcannotbetookout–seeabnormalprocess©2010SichuanUniversityAllrightsreserved.|Confidential24Exercise8.Developacompleteuse-caseforoneofthefollowingactivities.MakingawithdrawalatanATM

Usingyourchargecardforamealatarestaurant

Searchingforbooks(onaspecifictopic)usinganon-linebookstoreonlinesearchAbnormalprocessSolutionc:Use-case:

searchingforbooksPrimaryactor:customerPrecondition:customerregistrationstartsTrigger:customerdecidestosearchforbooksScenario:CustomerinputIDandpasswordCustomerinputspecifictopicBooklistisdisplayedCustomerchecksthebooksException:Passwordisincorrectornotrecognized–seeabnormalprocessInternetdisconnect–seeabnormalprocess©2010SichuanUniversityAllrightsreserved.|Confidential25Chapter7

Requirement

Analysis

Anoverviewofrequirementsanalysis

AnalysisModelingApproaches

DataModelingFlow-OrientedModeling

Object-OrientedAnalysis

Scenario-BasedModeling

Class-BasedModeling

CreatingabehavioralmodelSpecificationguidelinesContent©2010SichuanUniversityAllrightsreserved.|Confidential26ExerciseWhichoftheseisnotanelementofanobject-orientedanalysismodel?

Answer:c

BehavioralelementsClass-basedelementsDataelementsScenario-basedelementsWhichofthefollowingisnotanobjectiveforbuildingananalysismodel?Answer:cdefinesetofsoftwarerequirementsthatcanbevalidateddescribecustomerrequirementsdevelopanabbreviatedsolutionfortheproblemestablishbasisforsoftwaredesignThedataflowdiagramAnswer:edepictsrelationshipsbetweendataobjectsdepictsfunctionsthattransformthedataflowindicateshowdataaretransformedbythesystemindicatessystemreactionstoexternaleventsbothbandcWhichofthefollowingitemsdoesnotappearonaCRCcard?Answer:cclasscollaboratorsclassnameclassreliabilityclassresponsibilities©2010SichuanUniversityAllrightsreserved.|Confidential27Exercise5.Forpurposesofbehaviormodelingastateisany

consumerorproducerofdata.dataobjecthierarchy.observablemodeofbehavior.welldefinedprocess.Answer:c6.Attributescannotbedefinedforaclassuntildesignhasbeencompleted.

a.True

b.FalseAnswer:b7.Operationsareobjectproceduresthatareinvokedwhenanobjectreceivesamessage.

True

FalseAnswer:a8.UMLactivitydiagramsareusefulinrepresentingwhichanalysismodelelements?a.Behavioralelementsb.Class-basedelementsc.Flow-basedelementsd.Scenario-basedelementsAnswer:d©2010SichuanUniversityAllrightsreserved.|Confidential28Exercise9.Whichofthefollowingshouldbeconsideredascandidateobjectsinaproblemspace?a.eventsb.peoplec.structured.alloftheaboveAnswer:d10.Inafewsentences,trytodescribetheprimarydifferencesbetweenstructuredanalysisandobject-orientedanalysis.Answer:Structuredanalysisbeginswithaconsiderationofthedataobjectsthatthesystemmustmanipulate.Instructuredanalysisthedataobjectsaredescribedwithadatadictionaryandtheentityrelationdiagram(ERD)depictsrelationshipsbetweendataobjects.Theflowandtransformationofdatathroughasystemarerepresentedusingthedataflowdiagram(DFD).Thestructuredanalysisalsoincorporatesabehavioralmodelingnotationcalledthestatetransitiondiagram(STD).Intheobjectorientedanalysismodel,class-basedelementsmodeltheobjectsthatthesystemwillmanipulate,theoperationsthatwillbeappliedtotheobjectstoeffectthemanipulation,relationships(somehierarchical)betweentheobjects,andthecollaborationsthatoccurbetweentheclassesthataredefined.InadditiontheOOmodelrepresentsthebehaviorofobjectsandthebehaviorofthesystemasawhole.

©2010SichuanUniversityAllrightsreserved.|Confidential29Chapter8

Design

Engineering

Designwithinthecontextofsoftwareengineering

DesignProcessandDesignQuality

DesignConceptsDesignModel

DataDesignElementsArchitecturalDesignElementsInterfaceDesignElementsComponent-levelDesignElementsDeployment-levelDesignElements

Pattern-basedSoftwareDesignContent©2010SichuanUniversityAllrightsreserved.|Confidential30ExerciseWhichofthefollowingareareasofconcerninthedesignmodel?

Answer:e

architecturedatainterfaceprojectscopea,bandcWhichofthesearecharacteristicsofagooddesign?Answer:eexhibitsstrongcouplingbetweenitsmodulesimplementsallrequirementsintheanalysismodelincludestestcasesforallcomponentsprovidesacompletepictureofthesoftwarebothbanddInformationhidingmakesprogrammaintenanceeasierbyhidingdataandprocedurefromunaffectedpartsoftheprogram.Answer:aTrueFalseCohesionisaqualitativeindicationofthedegreetowhichamoduleAnswer:bcanbewrittenmorecompactly.focusesonjustonething.isabletocompleteitsfunctioninatimelymanner.isconnectedtoothermodulesandtheoutsideworld.©2010SichuanUniversityAllrightsreserved.|Confidential31Exercise5.Couplingisaqualitativeindicationofthedegreetowhichamodule

Answer:d

canbewrittenmorecompactly.focusesonjustonething.isabletocompleteitsfunctioninatimelymanner.isconnectedtoothermodulesandtheoutsideworld.6.PolymorphismreducestheeffortrequiredtoextendanobjectsystembyAnswer:bcouplingobjectstogethermoretightly.enablinganumberofdifferentoperationstosharethesamenamemakingobjectsmoredependentononeanother.removingthebarriersimposedbyencapsulation.7.Whichdesignmodelelementsareusedtodepictamodelofinformationrepresentedfromtheuser'sview?Answer:cArchitecturaldesignelementsComponent-leveldesignelementsDatadesignelementsInterfacedesignelements8.Whichdesignisanalogoustothefloorplanofahouse?Answer:aa.Architecturaldesignelementsb.Component-leveldesignelementsc.Datadesignelementsd.Interfacedesignelements©2010SichuanUniversityAllrightsreserved.|Confidential32Exercise9.Whichdesignmodelisanalogoustothedetaileddrawingsoftheaccesspointsandexternalutilitiesforahouse?ArchitecturaldesignelementsComponent-leveldesignelementsDatadesignelementsInterfacedesignelementsAnswer:d10.Whichdesignmodelisanalogoustoasetofdetaileddrawingsforeachroominahouse?a.Architecturaldesignelementsb.Component-leveldesignelementsc.Datadesignelementsd.InterfacedesignelementsAnswer:b11.Thedeploymentdesignelementsspecifythebuildorderforthesoftwarecomponents.a.Trueb.FalseAnswer:b12.Oneofthekeyproblemsinsoftwarereuseistheinabilitytofindexistingreusabledesignpatternswhenhundredsofcandidatesexist.a.Trueb.FalseAnswer:a©2010SichuanUniversityAllrightsreserved.|Confidential33Chapter9

Creating

AnArchitecturalDesign

SoftwareArchitecture

DataDesign

ArchitecturalStylesandPatternsArchitecturalDesign

AssessingAlternativeArchitecturalDesignMappingDataFlowintoaSoftwareArchitectureContent©2010SichuanUniversityAllrightsreserved.|Confidential34ExerciseAnarchitecturalstyleencompasseswhichofthefollowingelements?

Answer:e

constraintssetofcomponentssemanticmodelssyntacticmodelsa,bandcDuringtheprocessofmodelingthesystemincontext,systemsthatinteractwiththetargetsystemarenotrepresentedasAnswer:dPeer-levelsystemsSubordinatesystemsSuper-ordinatesystemsWorkingsystemsWhentheoverallflowinasegmentofadataflowdiagramislargelysequentialandfollowsstraight-linepaths,_________ispresent.Answer:dlowcouplingGoodmodularitytransactionflowtransformflowWhenyouencounterbothtransformflowandtransactionflowinthesameDFDtheflowispartitionedandtheappropriatemappingtechniqueisusedoneachpartoftheDFD.Answer:aTrueFalse©2010SichuanUniversityAllrightsreserved.|Confidential35Exercise5.Whenasingleitemthattriggersotherdataflowalongoneofmanypathsofadataflowdiagram,________characterizestheinformationflow.

Answer:c

highcouplingpoormodularitytransactionflowtransformflow6.IntransactionmappingthefirstlevelfactoringresultsintheAnswer:bcreationofCFD.derivationofcontrolhierarchydistributionofworkmodulesrefinementofthemoduleview7.AsuccessfulapplicationoftransformortransactionmappingtocreateanarchitecturaldesignissupplementedbyAnswer:eentityrelationshipdiagrammoduleinterfacedescriptionsprocessingnarrativesforeachmoduletestcaseforeachmoduleBothbandc8.Thebestrepresentationofsystemarchitectureisanoperationalsoftwareprototype.Answer:ba.Trueb.False©2010SichuanUniversityAllrightsreserved.|Confidential36Chapter10

Component-LevelDesign

Whatiscomponent?

Designclass-basedcomponent

Conductingcomponent-leveldesignObjectconstraintlanguage

DesignconventionalcomponentsContent©2010SichuanUniversityAllrightsreserved.|Confidential37ExerciseInthecontextofobject-orientedsoftwareengineeringacomponentcontains

attributesandoperationsinstancesofeachclassrolesforeachactor(deviceoruser)asetofcollaboratingclassesAnswer:dIntraditionalsoftwareengineering,modulesmustserveinwhichofthefollowingroles?

ControlcomponentInfrastructurecomponentProblemdomaincomponentAlloftheaboveAnswer:dWhichofthefollowingisnotoneofthefourprinciplesusedtoguidecomponent-leveldesign?DependencyInversionPrincipleParsimoniousComplexityPrincipleInterfaceSegregationPrincipleOpen-Clos

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论