软件工程复习.docx

上传人:b****2 文档编号:3484144 上传时间:2023-05-05 格式:DOCX 页数:16 大小:191.31KB
下载 相关 举报
软件工程复习.docx_第1页
第1页 / 共16页
软件工程复习.docx_第2页
第2页 / 共16页
软件工程复习.docx_第3页
第3页 / 共16页
软件工程复习.docx_第4页
第4页 / 共16页
软件工程复习.docx_第5页
第5页 / 共16页
软件工程复习.docx_第6页
第6页 / 共16页
软件工程复习.docx_第7页
第7页 / 共16页
软件工程复习.docx_第8页
第8页 / 共16页
软件工程复习.docx_第9页
第9页 / 共16页
软件工程复习.docx_第10页
第10页 / 共16页
软件工程复习.docx_第11页
第11页 / 共16页
软件工程复习.docx_第12页
第12页 / 共16页
软件工程复习.docx_第13页
第13页 / 共16页
软件工程复习.docx_第14页
第14页 / 共16页
软件工程复习.docx_第15页
第15页 / 共16页
软件工程复习.docx_第16页
第16页 / 共16页
亲,该文档总共16页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

软件工程复习.docx

《软件工程复习.docx》由会员分享,可在线阅读,更多相关《软件工程复习.docx(16页珍藏版)》请在冰点文库上搜索。

软件工程复习.docx

软件工程复习

《软件工程(双语)》复习范围

1.AbouttheMVC(Model-View-Controller)pattern,whichoneoffollowingstatementsisnotright?

P155

1Separatespresentationandinteractionfromthesystemdata.

2Thesystemisstructuredintothreelogicalcomponentsthatinteractwitheachother.TheModelcomponentmanagesthesystemdataandassociatedoperationsonthatdata..

3TheModelcomponentdefinesandmanageshowthedataispresentedtotheuser..

4TheControllercomponentmanagesuserinteraction(e.g.,keypresses,mouseclicks,etc.)andpassestheseinteractionstotheViewandtheModel..

2.Thestatisticaldatashowthatthedistributionofmaintenanceeffortiscloseto?

P244

1Faultrepair65%,Softwareadaptation18%,Functionadditionormodification17%.

2Faultrepair17%,Softwareadaptation18%,Functionadditionormodification65%.

3Faultrepair17%,Softwareadaptation65%,Functionadditionormodification18%.

4Faultrepair40%,Softwareadaptation40%,Functionadditionormodification20%.

3.WhichstatementisawrongstatementforWaterfallModel?

p32

1Inflexiblepartitioningoftheprojectintodistinctstages

2Thismodelisonlyappropriatewhentherequirementsarepoorlyunderstood

3Thismodelisdifficulttorespondtochangingcustomerrequirements

4Thismodelisappropriatewhentherequirementsarewell-understood.

4.Whichoneoffollowingstatementsisnotinthecompletetestcoverageofaclass?

p211

1Testingalloperationsassociatedwithanobject

2Settingandinterrogatingallobjectattributes

3Exercisingtheobjectinallpossiblestates

4Testingallthepossibleobjects

5.Whenwehavelittleexperiencesaboutaproject,thatistosayweknowlittlerequirementsandarenotfamilywithhowtodevelopit.Whichmodelshouldbeadopted?

8p68

1Formalsystemsdevelopment.

2Waterfallmodel.

3Exploratorydevelopment

4Reuse-orienteddevelopment.

2.CommonlyusedtechniquesofobjectidentificationinOOanalysisanddesigndonotinclude_______:

p183

1Useagrammaticalapproachbasedonanaturallanguagedescriptionofthesystem.

2Basetheidentificationontangiblethingsintheapplicationdomain.

3Useabehavioralapproachandidentifyobjectsbasedonwhatparticipatesinwhatbehavior.

4Usedataflowdiagram..

3.SeveraltechniquesofRequirementsdiscoveryarecoveredinthisbook.Whichoneisnotthecase?

1Model-drivenengineering

2Scenarios

3Interviewing

4Ethnography

4.Whichoneoffollowingstatementsisnotinthecompletetestcoverageofaclass?

1Testingalloperationsassociatedwithanobject

2Settingandinterrogatingallobjectattributes

3Exercisingtheobjectinallpossiblestates

4Testingallthepossibleobjects

5.Softwareisnotjustthebutalsoallassociated.

1programs,documentationandconfigurationdata

2documentation,configurationdata

3programs,configurationdata

4programs,tools

Part2Marktherightstatement√,thewrongstatement×(1*15=15)

1.Inthesoftwarearchitecturedesign,usinglarge-graincomponentsimprovesperformanceandmaintainability.(error.Reducemaintainability/fine-grain)

2.Re-engineeringisenhancingthefunctionalityandperformanceofthesystem.(error)

3.Thegoalofprogramtestingistoshowtheprogramisfreeofdefects.(error.p206)

Testingisintendedtoshowthataprogramdoeswhatitisintendedtodoandtodis-coverprogramdefectsbeforeitisputintouse.

4.Oneofthekeychallengesfacingsoftwareengineeringissoftwareheterogeneity.(p27)

Apartfromthechallengesofheterogeneity,businessandsocialchange,andtrustand

security,identifyotherproblemsandchallengesthatsoftwareengineeringislikelytofacein

the21stcentury(Hint:

thinkabouttheenvironment).

5.Asoftwareprocessmodelisanabstractrepresentationofaprocess.Itpresentsadescriptionofaprocessfromallperspective.(error.p29)

AsIexplainedinChapter1,asoftwareprocessmodelisasimplifiedrepresentation

ofasoftwareprocess.Eachprocessmodelrepresentsaprocessfromaparticularper-spective,andthusprovidesonlypartialinformationaboutthatprocess.

6.Model-drivenengineeringisstillatanearlystageofdevelopment,anditisquiteclearitwillhaveasignificanteffectonsoftwareengineeringpractice.(error)

7.Anarchitecturalpatternisastylizeddescriptionofgooddesignpractice,whichhasbeentriedandtestedindifferentenvironments.(p156)

Youcanthinkofanarchitecturalpatternasastylized,abstractdescriptionofgood

practice,whichhasbeentriedandtestedindifferentsystemsandenvironments.

8.AccordingLehmanandBelady's‘laws’,overaprogram’slifetime,itsrateofdevelopmentisapproximatelyconstantandindependentoftheresourcesdevotedtosystemdevelopment.(p241)

Overaprogram’slifetime,itsrateofdevelopmentisapproximatelyconstant

andindependentoftheresourcesdevotedtosystemdevelopment.

Part3Filltheblankets:

(1*15=15)

1.Riskmanagementisconcernedwithidentifyingriskswhichmayaffecttheproject,theremaybeseveralkindsofrisks,includingtechnologyrisks,peoplerisks,organizationalrisks,toolsrisks.(requirementsrisks)

2.GeneralissuesthataffectmostsoftwareareHeterogeneity,Businessandsocialchange,Securityandtrust.

3.Astructuredsetofactivitiesrequiredtodevelopasoftwaresystem,whicharespecification,development,validation,evolution.

4.Commonactivitiesinobject-orienteddesignprocessesincludeDefinethecontextmodelsofthesystem;Designthesystemarchitecture;Identifytheprincipalsystemobjects;Developdesignmodels;Specifyobjectinterfaces.

5.GenericprocessmodelsareWaterfallmodel,Incrementaldevelopment,Reuse-orientedsoftwareengineering

6.ThestagesofdevelopmenttestingareUnittesting,Componenttesting,Systemtesting.

7.Exploratorydevelopment,Throw-awayprototypingaretwokindmodelsofevolutionarymodel.

8.Accordingtoitsfunction,Requirementcanbeclassifiedasfunctionrequirement,process,integrationunits.

9.SoftwarepricingestimationtechniquesincludeAlgorithmiccostmodelling,ExpertjudgementParkinson'sLaw,Estimationbyanalogy(Pricingtowin)

10.TheattributesofgoodsoftwareareMaintainability,Dependability,Efficiency,Usability.

Part4Answerthefollowingquestionsinbrief.(5*5=25)

1.Whichapproachestoobjectclassidentificationareintroducedinthisbook?

1.Useagrammaticalapproachbasedonanaturallanguagedescriptionofthesystem.;

2.Basetheidentificationontangiblethingsintheapplicationdomain.;

3.Useabehaviouralapproachandidentifyobjectsbasedonwhatparticipatesinwhatbehaviour.;

4.Useascenario-basedanalysis.Theobjects,attributesandmethodsineachscenarioareidentified.

WhatisBetatesting?

Answer:

Areleaseofthesoftwareismadeavailabletouserstoallowthemtoexperimentandto

raiseproblemsthattheydiscoverwiththesystemdevelopers

2.WhatisPathtesting?

Answer:

Theobjectiveofpathtestingistoensurethatthesetoftestcasesissuchthateachpath

throughtheprogramisexecutedatleastonce.

3.Whatisarchitecturalpatterns?

1.Patternsareameansofrepresenting,sharingandreusingknowledge.

2.Anarchitecturalpatternisastylizeddescriptionofgooddesignpractice,whichhasbeentriedandtestedindifferentenvironments.

3.Patternsshouldincludeinformationaboutwhentheyareusefulandwhentheyarenotuseful.

4.Patternsmayberepresentedusingtabularandgraphicaldescriptions.

4.Whysoftwareengineeringisborn?

Answer:

Becauseofsoftwarecrisisinthe1960’s,maincharacteristicsare:

lowqualityofsoftware,highcostsofsoftware,slowdeliveryofsoftware.SoftwareengineeringisfirstproposedataNATOmeetingin1968.

Whatisthedifferencebetweensoftwareengineeringandcomputerscience?

Answer:

Computerscienceisconcernedwiththeoryandfundamentals;

softwareengineeringisconcernedwiththepracticalitiesofdevelopinganddelivering

usefulsoftware.

Pleaseanswerthestagesofwaterfallmodel,anditsadvantagesanddisadvantages.

1.Requirementsanalysisanddefinition

2.Systemandsoftwaredesign

3.Implementationandunittesting

4.Integrationandsystemtesting

5.Operationandmaintenance

5.Whatarethetwotypesofsoftwareprototypingandtheadvantagesanddisadvantagesofsoftwareprototyping?

Answer:

twotypes:

ExploratorydevelopmentandThrow-awayprototyping.

Advantages:

1.Improvedsystemusability

2.Closermatchtothesystemneeded

3.Improveddesignquality

4.Improvedmaintainability

5.Reducedoveralldevelopmenteffort

Disadvantages:

1.Lackofprocessvisibility(过程不可见)

2.Systemsareoftenpoorlystructured(系统结构不好)

3.Specialskills(e.g.inlanguagesforrapidprototyping)mayberequired(需要一些技巧)

6.Whatarethefivetypesofinteractionstylesinuserinterfacedesign?

Answers:

1.Directmanipulation直接操作

2.Menuselection菜单选择

3.Formfill-in表格填写

4.Commandlanguage命令语言

5.Naturallanguage自然语言

7.Pleaseanswerthetwomethodsoftestingandserialstagesoftesting.

Answers:

twotypes:

white-boxtestingandblack-boxtesting.

serialstagesoftesting:

unittesting,integrationtesting.

Part5Solvethefollowingproblems(30)

1.UsingtheUMLgraphicalnotationforobjectclasses,designthefollowingobjectclasses,identifyingattributesandoperations.Useyourownexperiencetodecideontheattributesandoperationsthatshouldbeassociatedwiththeseobjects.

•atelephone

•aprinterforapersonalcomputer

•apersonalstereosystem

•abankaccount

•alibrarycatalogue

2.Designasetoftestdatatoaccomplishthepathtestingaboutthefollowingprogram(F

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 总结汇报 > 学习总结

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2