《2006级《软件需求分析、设计与建模》试卷_A卷.doc》由会员分享,可在线阅读,更多相关《2006级《软件需求分析、设计与建模》试卷_A卷.doc(6页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。
1、姓名 学号 学院 专业 座位号 ( 密 封 线 内 不 答 题 )密封线线_ _ 诚信应考,考试作弊将带来严重后果! 华南理工大学期末考试系统分析与建模试卷注意事项: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 compo
2、sition is ( )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. St
3、ereotype3) Constraints 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 ser
4、vices for types 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
5、use cases. 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? ( )A. The operation of the calling object.B
6、. 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 two UML diagrams can represent concurren
7、t 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 Concepts and Give an Example . (each questi
8、on worths 3 points. 15 points total )1) Collaboration Diagramsa) Generalization2) Transition3) Stereotype4) Encapsulation3. Draw class diagram for the following scenario. Be sure to include multiplicities on the ends of the connectors. (10 points)Pet StoreThe following scenario is for a pet store. E
9、ach 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 number. 4. Point out the wrong place in the following diagram
10、. (10 points ) ClassDiagram:分析类/分析类图5. OO Modeling (40 Points total )Consider the following problem: 基于WEB的网上购物系统越来越受到人们的关注,例如小型电子商务订单处理系统,使得客户可以给购物推车添加项目,查看购物推车,查看具体项目,购买商品,删除购物车中的项目,浏览商品,提供反馈单;库房经理可以进行盘点,返回库房项目,提供订单;采购经理可以增加销售的新项目,删除销售项目,购买库存。Question:对该“订单处理系统”进行面向对象分析并运用UML建模设计出Use-Case diagram。系统分析与建模试卷第 6 页 共 6 页