1、系统分析与建模试卷第 1 页 共 6 页诚信应考,考试作弊将带来严重后果!华南理工大学期末考试系统分析与建模试卷注意事项:1. 考前请将密封线内填写清楚;2. 所有答案请直接答在试卷上(或答题纸上);3考试形式:闭卷;4. 本试卷共 5 大题,满分 100 分, 考试时间 120 分钟。题 号 一 二 三 四 五 总分得 分评卷人1. Single Choice & Short Answer (each choice worths 2 points,each blank worths 1 points , 25 points total )1) A UML composition is ( )
2、A. a process for instantiating UML modelsB. the interrelation among components and packagesC. a specific dependency among objectsD. an aggregation with additional semantics2) Which of the following are not the Extension Mechanisms of UML? ( )A. TaggedValueB. ConstraintC. ConcurrentD. Stereotype3) Co
3、nstraints can be represented in UML by: ( )A. text string B. text string C. notes D. constraint 4) UML interfaces are used to: ( )A. define an API for all classes. B. program in Java, but not in C+ or Smalltalk. C. define executable logic to reuse across classes. D. specify required services for typ
4、es of objects. 5) Which of the following are NOT TRUE about the strengths and weaknesses of activity diagrams? ( ) A. Activity diagrams are good at enumerating object collaborations to accomplish a task.B. Activity diagrams are good at exploring the interactions related to one or more use cases._姓名学
5、号 学院 专业 座位号 ( 密 封 线 内 不 答 题 )密封线线系统分析与建模试卷第 2 页 共 6 页C. It is difficult to discern exactly how to map the activity diagram actions to object model specifics.D. Since activity diagrams allow parallel behavior modeling, they are good for workflow modeling.6) What is true about messages in scenarios? (
6、 )A. The operation of the calling object.B. The operation of the called object.C. It is sent by the actor to the system.D. It is sent by the system to the actor.7) dynamic model describe the system change with time.includes: _ , _ and _.8) What are the four view in Rose Model? _ ,_,_ and _ .9) Which
7、 two UML diagrams can represent concurrent processing? _ and _ . 10) The UML architecture is a four-layer metamodeling architecture. This architecture is a proven infrastructure for defining the precise semantics required by complex models ,Which include _ , _ , _ and _ . 2. Explain the following Co
8、ncepts and Give an Example . (each question worths 3 points. 15 points total )1) Collaboration Diagramsa) Generalization系统分析与建模试卷第 3 页 共 6 页2) Transition3) Stereotype4) Encapsulation3. Draw class diagram for the following scenario. Be sure to include multiplicities on the ends of the connectors. (10
9、 points)Pet StoreThe following scenario is for a pet store. Each pet store has up to 20 furry(毛皮的) friends and 10 birds. Each pet has a vaccination(疫苗) history. Furry friends are either dogs or cats. Each furry friend has a microchip(微型芯片) implant for identification. Each microchip has a unique id n
10、umber. 系统分析与建模试卷第 4 页 共 6 页4. Point out the wrong place in the following diagram . (10 points )Class Diagram: 分析类 / 分析类图系统分析与建模试卷第 5 页 共 6 页5. OO Modeling (40 Points total )Consider the following problem: 基于 WEB 的网上购物系统越来越受到人们的关注,例如小型电子商务订单处理系统,使得客户可以给购物推车添加项目,查看购物推车,查看具体项目,购买商品,删除购物车中的项目,浏览商品,提供反馈单;库房经理可以进行盘点,返回库房项目,提供订单;采购经理可以增加销售的新项目,删除销售项目,购买库存。Question:对该“订单处理系统”进行面向对象分析并运用 UML 建模设计出 Use-Case diagram。系统分析与建模试卷第 6 页 共 6 页