问题 问答题 简答题

面向对象的设计活动中,有构架师、用例工程师和构件师参加,他们每个角色的职责是什么?

答案

参考答案:构架设计的目的是要勾画出系统的总体结构,这项工作由经验丰富的构架设计师主持完成。该活动以用例模型、分析模型为输入,生成物理构架、子系统及其接口、概要的设计类(即设计阶段定义的类)。

根据分析阶段产生的高层类图和交互图,由用例设计师研究已有的类,将它们分配到相应的用例中。检查每个用例的功能,这些功能依靠当前的类能否实现,同时检查每个用例的特殊需求是否有合适的类来实现。细化每个用例的类图,描述实现用例的类及其类之间的相互关系,其中的通用类和关键类可用粗线框区分,这些类将作为项目经理检查项目时的重点。

经过前面两个活动,构架设计师已经将系统的构架建立起来,用例设计师按照用例的功能将每个类分配给相应的用例。现在要由构件工程师详细设计每个类的属性、方法和关系。

完形填空
“Where is the bus? Why is it always late?” I asked myself. I was going to be late   36  the manager wasn’t going to be pleased. “Thank God, here it is!” The bus came round the corner and I got on. Ten minutes later I was walking into the   37  where I work. “Twenty-five past nine. I  38 the manager doesn’t notice.” But I was not   39.
“Smith!” shouted the manager. “Late again. What’s your   40 this time?” “I am afraid the bus was late, Mr. Brown.” “41  up earlier tomorrow! Anyway, go to your place at the counter(柜台). We’ll be opening in a few minutes.”
My first customer was a pretty girl wearing a red dress.   42  her was a young man of about 23. He seemed very 43 , and every few seconds he looked towards the main entrance. The girl drew some money and   44 about opening an account. I gave her necessary   45 and she went out.   46 I noticed a tall man by the door, carrying something 47   with brown paper. Turning to my next customer, I was frightened to see a gun sticking out of his coat. The next moment a loud noise 48   my ears. Everything went black. I was falling… It seemed to be a long time  49  I opened my eyes and I found myself in bed!  50  shaking from the memory of this terrible dream, I got dressed and ran out of the house.  51  the bus wasn’t on time, and I got to the bank at 9:25.
“Smith!” the manager cried out in a voice like thunder. “  52  of your excuses! Start work at once!” To my 53  the first customer was a girl 54  a red dress and behind her stood a man carrying something wrapped in brown paper. The  55 ! Sometimes life is full of coincidences (巧合)!
小题1:
A.asB.butC.andD.or
小题2:
A.hotelB.shopC.bankD.restaurant
小题3:
A.believeB.thinkC.guessD.hope
小题4:
A.luckyB.happyC.sorryD.angry
小题5:
A.excuseB.ideaC.causeD.answer
小题6:
A.HurryB.SetC.CatchD.Get
小题7:
A.BeforeB.BehindC.BeyondD.Against
小题8:
A.nervousB.shyC.calmD.angry
小题9:
A.caredB.talkedC.askedD.worried
小题10:
A.informationB.offerC.introductionD.support
小题11:
A.AgainB.ThenC.ThusD.However
小题12:
A.hiddenB.filledC.decoratedD.covered
小题13:
A.tookB.closedC.filledD.came
小题14:
A.beforeB.afterC.whenD.that
小题15:
A.EvenB.StillC.JustD.Ever
小题16:
A.As usual B.For one thingC.In factD.In general
小题17:
A.LessB.PlentyC.MoreD.None
小题18:
A.pleasureB.surpriseC.joyD.regret
小题19:
A.ofB.withC.onD.in
小题20:
A.dreamB.storyC.affairD.incident
单项选择题