问题 单项选择题

UML提供了4种结构图用于对系统的静态方面进行可视化、详述、构造和文档化。其中 (21) 是面向对象系统建模中最常用的图,用于说明系统的静态设计视图;当需要说明系统的静态实现视图时,应该选择 (22) ;当需要说明体系结构的静态实施视图时,应该选择 (23)

A.协作图

B.对象图

C.活动图

D.部署图

答案

参考答案:D

解析:

[分析]: 从应用的角度看,当采用面向对象技术设计系统时,第一步是描述需求;第二步是根据需求建立系统的静态模型,以构造系统的结构;第三步是描述系统的行为。其中,第一步与第二步中所建立的模型都是静态的,包括类图(含包图)、对象图、构件图和配置图等,是UML的静态建模机制。第三步中所建立的模型或者可以执行,或者表示执行时的时序状态或交互关系。它包括用例图、状态图、活动图、顺序图和协作图(通信图)等,是UML的动态建模机制。因此,UML的主要内容也可以归纳为静态建模机制和动态建模机制两大类。
说明:有些文献将用例图归结为静态建模机制。

完形填空

January l is New Year’s Day. People usually give parties to celebrate    1   . The Spring Festival comes   2  . It is the most important holiday in   3  . Before the Spring  Festival,   people   4   their houses and do a lot of shopping. On the    5  of the festival family members meet for a big    6  . After   7  they watch TV until midnight. They enjoy    8  and eating.   9  , people cheer to welcome the New Year and wish other good   10  .
Teachers’ Day is  11  September 10. Students give cards or  12   to their teachers to express their thanks. The Mid-autumn Festival comes in September or October. People get   13   for a family dinner and then eat moon-cakes and watch the full,  14   moon. May 1 is Labor Day, and October 1 is our National Day. We    15  have a get-together to celebrate them in public places.
小题1:
A.itB.one C.theyD.them
小题2:
A.nextB.firstC.secondD.last
小题3:
A.CanadaB.ChinaC.Australia D.France
小题4:
A.cleanB.buildC.sellD.draw
小题5:
A.morning B.noonC.afternoon D.eve
小题6:
A.lunchB.dinnerC.timeD.breakfast
小题7:
A.schoolB.workC.dinnerD.picnic
小题8:
A.to talk B.talkC.talks D.talking
小题9:
A.At nine B.At tenC.At eleven D.At twelve
小题10:
A.lookB.bookC.luckD.cook
小题11:
A.atB.by C.inD.on
小题12:
A.drinksB.flowersC.music D.e-mail
小题13:
A.off B.upC.onD.together
小题14:
A.old B.tallC.round D.dark
小题15:
A.usually B.neverC.sometimes D.already
多项选择题