软件工程第9版部分习题答案Word格式.doc
《软件工程第9版部分习题答案Word格式.doc》由会员分享,可在线阅读,更多相关《软件工程第9版部分习题答案Word格式.doc(9页珍藏版)》请在冰豆网上搜索。
![软件工程第9版部分习题答案Word格式.doc](https://file1.bdocx.com/fileroot1/2022-10/9/e462618d-2774-4c2a-b9a1-740512723121/e462618d-2774-4c2a-b9a1-7405127231211.gif)
1.3Whatarethefourimportantattributesthatallprofessionalsoftwareshouldhave?
Suggestfourotherattributesthatmaysometimesbesignificant.
Answer:
Fourimportantattributesaremaintainability,dependability,performanceandusability.Otherattributesthatmaybesignificantcouldbereusability(canitbereusedinotherapplications),distributability(canitbedistributedoveranetworkofprocessors),portability(canitoperateonmultipleplatformse.glaptopandmobileplatforms)andinter-operability(canitworkwithawiderangeofothersoftwaresystems).
Decompositionsofthe4keyattributese.g.dependabilitydecomposestosecurity,safety,availability,etc.isalsoavalidanswertothisquestion.
2.1
Givingreasonsforyouranswerbasedonthetypeofsystembeingdeveloped,suggestthemostappropriategenericsoftwareprocessmodelthatmightbeusedasabasisformanagingthedevelopmentofthefollowingsystems:
•Asystemtocontrolanti-lockbrakinginacar
•Avirtualrealitysystemtosupportsoftwaremaintenance
•Auniversityaccountingsystemthatreplacesanexistingsystem
•Aninteractivetravelplanningsystemthathelpsusersplanjourneyswiththelowestenvironmentalimpact
1.Anti-lockbrakingsystemThisisasafety-criticalsystemsorequiresalotofup-frontanalysisbeforeimplementation.Itcertainlyneedsaplan-drivenapproachtodevelopmentwiththerequirementscarefullyanalysed.Awaterfallmodelisthereforethemostappropriateapproachtouse,perhapswithformaltransformationsbetweenthedifferentdevelopmentstages.
2.VirtualrealitysystemThisisasystemwheretherequirementswillchangeandtherewillbeanextensiveuserinterfacecomponents.Incrementaldevelopmentwith,perhaps,someUIprototypingisthemostappropriatemodel.Anagileprocessmaybeused.
3.UniversityaccountingsystemThisisasystemwhoserequirementsarefairlyell-knownandwhichwillbeusedinanenvironmentinconjunctionwithlotsofotherstemssuchasaresearchgrantmanagementsystem.Therefore,areuse-basedproachislikelytobeappropriateforthis.
4.InteractivetravelplanningsystemSystemwithacomplexuserinterfacebutwhichmustbestableandreliable.Anincrementaldevelopmentapproachisthemostappropriateasthesystemrequirementswillchangeasrealuserexperiencewiththesystemisgained.
2.4
Suggestwhyitisimportanttomakeadistinctionbetweendevelopingtheuserrequirementsanddevelopingsystemrequirementsintherequirementsengineeringprocess.
Thereisafundamentaldifferencebetweentheuserandthesystemrequirementsthatmeantheyshouldbeconsideredseparately.
1.Theuserrequirementsareintendedtodescribethesystem’sfunctionsandfeaturesfromauserperspectiveanditisessentialthatusersunderstandtheserequirements.Theyshouldbeexpressedinnaturallanguageandmaynotbeexpressedingreatdetail,toallowsomeimplementationflexibility.Thepeopleinvolvedintheprocessmustbeabletounderstandtheuser’senvironmentandapplicationdomain.
2.Thesystemrequirementsaremuchmoredetailedthantheuserrequirementsandareintendedtobeaprecisespecificationofthesystemthatmaybepartofasystemcontract.Theymayalsobeusedinsituationswheredevelopmentisoutsourcedandthedevelopmentteamneedacompletespecificationofwhatshouldbedeveloped.Thesystemrequirementsaredevelopedafteruserrequirementshavebeenestablished.
Excercises(Homework):
P116
4.2,*4.4
4.2
Discoverambiguitiesoromissionsinthefollowingstatementofrequirementsforpartofaticket-issuingsystem:
Anautomatedticket-issuingsystemsellsrailtickets.Usersselecttheirdestinationandinputacreditcardandapersonalidentificationnumber.
Therailticketisissuedandtheircreditcardaccountcharged.Whentheuserpressesthestartbutton,amenudisplayofpotentialdestinationsisactivated,alongwithamessagetotheusertoselectadestination.Onceadestinationhasbeenselected,usersarerequestedtoinputtheircreditcard.
Itsvalidityischeckedandtheuseristhenrequestedtoinputapersonalidentifier.Whenthecredittransactionhasbeenvalidated,theticketisissued.
Ambiguitiesandomissionsinclude:
l•Canacustomerbuyseveralticketsforthesamedestinationtogetherormusttheybeboughtoneatatime?
l•Cancustomerscancelarequestifamistakehasbeenmade?
l•Howshouldthesystemrespondifaninvalidcardisinput?
l•Whathappensifcustomerstrytoputtheircardinbeforeselectingadestination(astheywouldinATMmachines)?
l•Musttheuserpressthestartbuttonagainiftheywishtobuyanothertickettoadifferentdestination?
l•Shouldthesystemonlysellticketsbetweenthestationwherethemachineissituated