軟件工程第四版第一章_第1頁
軟件工程第四版第一章_第2頁
軟件工程第四版第一章_第3頁
軟件工程第四版第一章_第4頁
軟件工程第四版第一章_第5頁
已閱讀5頁,還剩45頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

Chapter1WhatisSoftwareEngineeringShariL.PfleegerJoanneM.Atlee4thEditionContents

1.1WhatisSoftwareEngineering?1.2HowSuccessfulHaveWeBeen?1.3WhatIsGoodSoftware?1.4WhoDoesSoftwareEngineering?1.5ASystemsApproach1.6AnEngineeringApproach1.7MembersoftheDevelopmentTeam1.8HowHasSoftwareEngineeringChanged?1.9InformationSystemExample1.10 RealTimeExample1.11 WhatthisChapterMeansforYouObjectivesWhatwemeanbysoftwareengineeringSoftwareengineering’strackrecordWhatwemeanbygoodsoftwareWhyasystemsapproachisimportantHowsoftwareengineeringhaschangedsincethe1970s.1.1WhatisSoftwareEngineering?

SolvingProblemsSoftwareproductsarelargeandcomplexDevelopmentrequiresanalysisandsynthesisAnalysis:decomposealargeproblemintosmaller,understandablepiecesabstractionisthekeySynthesis:build(compose)softwarefromsmallerbuildingblockscompositionischallenging1.1WhatisSoftwareEngineering?

SolvingProblems(continued)Theanalysisprocess1.1WhatisSoftwareEngineering?

SolvingProblems(continued)Thesynthesisprocess1.1WhatisSoftwareEngineering?

SolvingProblems(continued)Method:referstoaformalprocedureTool:aninstrumentorautomatedsystemforaccomplishingsomethinginabetterwayProcedure:acombinationoftoolsandtechniquestoproduceaproductParadigm:philosophyorapproachforbuildingaproduct1.1WhatisSoftwareEngineering?

WhereDoestheSoftwareEngineerFitIn?Computerscience:focusingoncomputerhardwareandprogramminglanguagesSoftwareengineering:focusingoncomputerasaproblem-solvingtool1.1WhatisSoftwareEngineering?

WhereDoestheSWEngineerFitin?(continued)Relationshipbetweencomputerscienceandsoftwareengineering1.2HowSuccessfulHaveWeBeen?PerformtasksmorequicklyandeffectivelyWordprocessing,spreadsheets,e-mailSupportadvancesinmedicine,agriculture,transportation,multimediaeducation,andmostotherindustriesHowever,softwareisnotwithoutproblems1.2HowSuccessfulHaveWeBeen?

Sidebar1.1TerminologyforDescribingBugsAfault:occurswhenahumanmakesamistake,calledanerror,inperformingsomesoftwareactivitiesAfailure:isadeparturefromthesystem’srequiredbehaviour1.2HowSuccessfulHaveWeBeen?

ExamplesofSoftwareFailureIRShiredSperryCorporationtobuildanautomatedfederalincometaxformprocessingprocessAnextra$90Mwasneededtoenhancetheoriginal$103productIRSlost$40.2Moninterestsand$22.3MinovertimewagesbecauserefundswerenotreturnedontimeMalfunctioningcodeinTherac-25killedseveralpeopleReliabilityconstraintshavecausedcancellationofmanysafetycriticalsystemsSafety-critical:somethingwhosefailureposesathreattolifeorhealth1.3WhatIsGoodSoftware?

Sidebar1.2PerspectiveonQualityThetranscendentalview:qualityissomethingwecanrecognizebutnotdefineTheuserview:qualityisfitnessforpurposeThemanufacturingview:qualityisconformancetospecificationTheproductview:qualitytiedtoinherentproductcharacteristicsThevalue-basedview:dependsontheamountthecustomersiswillingtopayforit1.3WhatisGoodSoftware?GoodsoftwareengineeringmustalwaysincludeastrategyforproducingqualitysoftwareThreewaysofconsideringqualityThequalityoftheproductThequalityoftheprocessThequalityoftheproductinthecontextofthebusinessenvironment1.3WhatIsGoodSoftware?

TheQualityoftheProductUsersjudgeexternalcharacteristics(e.g.,correctfunctionality,numberoffailures,typeoffailures)Designersandmaintainersjudgeinternalcharacteristics(e.g.,typesoffaults)ThusdifferentstakeholdersmayhavedifferentcriteriaNeedqualitymodelstorelatetheuser’sexternalviewtodeveloper’sinternalview1.3WhatIsGoodSoftware?

TheQualityoftheProduct(continued)McCall’squalitymodel1.3WhatIsGoodSoftware?

TheQualityoftheProcessQualityofthedevelopmentandmaintenanceprocessisasimportantastheproductqualityThedevelopmentprocessneedstobemodeledModelingwilladdressquestionssuchasWheretofindaparticularkindoffaultHowtofindfaultsearlierHowtobuildinfaulttoleranceWhatarealternativeactivities1.3WhatIsGoodSoftware?

TheQualityoftheProcess(continued)ModelsforprocessimprovementSEI’sCapabilityMaturityModel(CMM)ISO9000SoftwareProcessImprovementandCapabilitydEtermination(SPICE)1.3WhatIsGoodSoftware?

TheQualityintheContextoftheBusinessEnvironmentBusinessvalueisasimportantastechnicalvalueBusinessvalue(inrelationshiptotechnicalvalue)mustbequantifiedAcommonapproach:returnoninvestment(ROI)–whatisgivenupforotherpurposesROIisinterpretedindifferentterms:reducingcosts,predictingsavings,improvingproductivity,andcosts(effortsandresources)1.3WhatIsGoodSoftware?

TheQualityoftheContextoftheBusinessEnvironmentIndustry’sviewofROI1.4WhoDoesSoftwareEngineering?Customer:thecompany,organization,orpersonwhopaysforthesoftwaresystemDeveloper:thecompany,organization,orpersonwhoisbuildingthesoftwaresystemUser:thepersonorpeoplewhowillactuallyusethesystem1.4WhoDoesSoftwareEngineering?(continued)Participants(stakeholders)inasoftwaredevelopmentproject1.5SystemsApproachIdentifyactivitiesandobjectsDefinethesystemboundaryConsidernestedsystems,systemsinterrelationship1.5SystemsApproach

TheElementofaSystemActivitiesandobjectsAnactivityisaneventinitiatedbyatriggerObjectsorentitiesaretheelementsinvolvedintheactivitiesRelationshipsandthesystemboundariesArelationshipdefinestheinteractionamongentitiesandactivitiesSystemboundariesdeterminetheoriginofinputanddestinationsoftheoutput1.5SystemsApproach

TheElementsofaSystem(continued)Exampleofsystems:ahumanrespiratorysystem1.5SystemsApproach

TheElementofaSystem(continued)Acomputersystemmustalsobeclearlydescribed:Systemdefinitionofapaycheckproduction1.5SystemsApproach

InterrelatedSystemsSomesystemsaredependenttoothersystemsTheinterdependenciesmaybecomplexItispossibleforonesystemtoexistinsideanothersystemIftheboundarydefinitionsaredetailed,buildingalargersystemfromthesmalleronesisrelativelyeasy1.5SystemsApproach

InterrelatedSystems(continued)Alayeredsystem1.6EngineeringApproach

BuildingaSystemRequirementsanalysisanddefinitionSystemdesignProgramdesignWritingtheprogramsUnittestingIntegrationtestingSystemtestingSystemdeliveryMaintenance1.7MembersoftheDevelopmentTeamRequirementanalysts:workwiththecustomerstoidentifyanddocumenttherequirementsDesigners:generateasystem-leveldescriptionofwhatthesystemussupposedtodoProgrammers:writelinesofcodetoimplementthedesignTesters:catchfaultsTrainers:showusershowtousethesystemMaintenanceteam:fixfaultsthatshowuplaterLibrarians:prepareandstoredocumentssuchassoftwarerequirementsConfigurationmanagementteam:maintaincorrespondenceamongvariousartifacts1.7MembersoftheDevelopmentTeam(continued)Typicalrolesplayedbythemembersofadevelopmentteam1.8HowHasSoftwareEngineeringChanged?

TheNatureoftheChangeBefore1970sSingleprocessors:mainframesDesignedinoneoftwowaysasatransformation:inputwasconvertedtooutputasatransaction:inputdeterminedwhichfunctionshouldbeperformedAfter1970sRunonmultiplesystemsPerformmulti-functions1.8HowHasSEChanged?

Wasserman'sSevenKeyFactorsCriticalityoftime-to-marketShiftsintheeconomicsofcomputingAvailabilityofpowerfuldesktopcomputingExtensivelocal-andwide-areanetworkingAvailabilityandadoptionofobject-orientedtechnologyGraphicaluserinterfacesUnpredictabilityofthewaterfallmodelofsoftwaredevelopment1.8HowHasSEChanged?

Wasserman'sSevenKeyFactors(continued)Thekeyfactorsthathavechangedthesoftwaredevelopment1.8HowHasSEChanged?

Wasserman'sDisciplineofSoftwareEngineeringAbstractionAnalysisanddesignmethodsandnotationsUserinterfaceprototypingSoftwarearchitectureSoftwareprocessReuseMeasurementToolsandintegratedenvironments1.8HowHasSEChanged?

AbstractionAdescriptionoftheproblematsomelevelofgeneralizationHidedetails1.8HowHasSEChanged?

AnalysisandDesignMethodsandNotationsProvidedocumentationFacilitatecommunicationOffermultipleviewsUnifydifferentviews1.8HowHasSEChanged?

UserInterfacePrototypingPrototyping:buildingasmallversionofasystemHelpusersidentifykeyrequirementsofasystemDemonstratefeasibilityDevelopgooduserinterface1.8HowHasSEChanged?

SoftwareArchitectureAsystem’sarchitecturedescribesthesystemintermsofasetofarchitecturalunitsandrelationshipsbetweentheseunitsArchitecturaldecompositiontechniquesModulardecompositionData-orienteddecompositionEvent-drivendecompositionOutside-in-designdecompositionObject-orienteddecomposition1.8HowHasSEChanged?

SoftwareProcessManyvariationsDifferenttypesofsoftwareneeddifferentprocessesEnterprise-wideapplicationsneedagreatdealofcontrolDepartmentalapplicationscantakeadvantageofrapiddevelopment1.8HowHasSEChanged?

SoftwareProcess(continued)Pictorialrepresentationofdifferencesindevelopmentprocesses1.8HowHasSEChanged?

SoftwareReuseCommonalitiesbetweenapplicationsmayallowreusingartifactsfrompreviousdevelopmentsImproveproductivityReducecostsPotentialconcernsItmaybefastertobuildasmallerapplicationthansearchingforreusablecomponentsGeneralizedcomponentstakemoretimetobuildMustclarifywhowillberesponsibleformaintainingreusablecomponentsGeneralityvsspecificity:alwaysaconflict1.8HowHasSEChanged?

MeasurementUsingmeasurementtohelpfindasolution1.8HowHasSEChanged?

ToolsandIntegratedEnvironmentsPlatformintegration(onheterogeneousnetworks)Presentationintegration(commonalityofuserinterface)Processintegration(linkingtoolsandthedevelopmentprocess)Dataintegration(tosharecommondata)Controlintegration(theabilityofonetooltoinitiateactioninanotherone)1.9InformationSystemExample

PiccadillySystemPiccadillyTelevision:regionalBritishTVfranchiseAdvertisingschemehasmanyconstraints:alcoholadvertsonlyafter9pmifactorinshow,nosameactorinadvertwithin45minutesifadvertinclassofproduct,nootheradvertinsameclassduringsamebreakratesdep

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論