资源描述:
《2005级《软件需求分析、设计与建模》试卷_b卷》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、姓名学号学院专业座位号(密封线内不答题)……………………………………………………密………………………………………………封………………………………………线……………………………………线………………………………………_____________________…诚信应考,考试作弊将带来严重后果!华南理工大学期末考试《面向对象分析与设计》试卷注意事项:1.考前请将密封线内填写清楚;2.所有答案请直接答在试卷上(或答题纸上);3.考试形式:闭卷;4.本试卷共大题,满分100分,考试时间120分钟。题号一二三四五总分得分评卷人1.MultipleChoice(15points)1)Durin
2、gimplementation,thedevelopmentteamdecidestouseathirdpartyutilitytoprovidesomeoftherequiredfunctionality.WhatOOADartifactwouldMOSTlikelyreflectthischange?A.ActivitydiagramB.PackagediagramC.StatediagramD.Interactiondiagram2)Scenario:PrepareforanEventInpreparationforaparty,thechefwilllookattheme
3、nu.Thechefrequiresashoppinglistfromeachrecipeontheselectedmenu.Thesystemgeneratestheshoppinglistofingredientsthatheneedstobuy.Thenhejustcrossesoffanythingthathealreadyhas.Becausethechefispickyabouthiscookingutensils,hebringshisownanddoesn'tliketodependontheclientstosupplyanything.Inordertomak
4、esurethathedoesn'tforgetanything,heusesthesystemtogeneratethelistofutensilsthathe'llhavetobringwithhimtotheparty.Hethenproceedstogenerateatodolistforthedayofthepartybasedonthetimethatthedinneristobeready.Hefindsthistobeusefulsothateverything'sreadyatthespecifiedtime,andnothingisforgotten.When
5、creatingtheusecasesrelatedtothe"PrepareforanEvent"scenario,whichofthefollowingBESTrepresentsthetypeofterminologythattheusecasesshouldcontain?A.Chef,menu,recipes,ingredientsB.Enduser,billoffare,cookingspecifications,foodcontentsC.Chefobject,menuobject,recipeobject,ingredientobjectD.Personrecor
6、d,menuprintstream,recipecontainer,ingredientarray《面向对象分析与设计》试卷第6页共6页3)Ifausecasehadarequirement"Calculateaccountbalance,"whichOOADartifactwouldbetheBESTsourcefordeterminingthenameofthepublicmethodusedtoinvoketheoperation?A.UsecasesB.InteractiondiagramsC.ClassdiagramD.Activitydiagram4)Whichoft
7、hefollowingareTRUEaboutadeploymentdiagram?(3Answers)A.Sincethereisalwayssomekindofresponsetoamessage,thedependenciesaretwo-waybetweendeploymentcomponents.B.Dependenciesbetweendeploymentcomponentstendtobethesameasthepackagedependencies.C.Deplo