




已阅读5页,还剩1页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
面向对象分析与设计试卷OOA & OOD Final ExamStudent No. _ Name _ Score_1. Single Choice & Short Answer (each choice worths 2 points,each blank worths 1 points , 25 points total )1) A UML composition 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. Stereotype3) 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 services 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 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. 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 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 Concepts and Give an Example . (each question 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. 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 number. 4. Point out the wrong place in the following diagram . (10 points ) ClassDiagram:分析类/分析类图5. OO Modeling (40 Points total )Consider the following problem: 基于WEB的网上购物系统越来越受到人们的关注,例如小型电子商务订单处理系统,使得客户可以给购物推车添加项目,查看
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 学校游泳池管理制度
- 学校自备水管理制度
- 学校饮水点管理制度
- 学生租赁车管理制度
- 宅急送服务管理制度
- 安全生产规管理制度
- 安监+风险管理制度
- 宋代酒专卖管理制度
- 定制化仓储管理制度
- 审核与评审管理制度
- 东莞市招聘事业编制教职员笔试真题2024
- 2025至2030中国保健食品产业发展趋势分析与未来投资战略咨询研究报告
- CJ/T 303-2008稳压补偿式无负压供水设备
- 自动扶梯考试试题及答案
- 2024-2025学年七年下学期期末测试卷(英语)人教版(含答案无听力部分)
- 2025年人教部编版语文五年级下册期末检测真题及答案(2套)
- 新疆昆玉经济技术开发区招聘考试真题2024
- 宠物店铺转让合同协议书
- T/CAEPI 70-2023水泥窑协同处置生活垃圾焚烧飞灰水洗除盐工艺技术要求
- 高支模质量问题的分析与整改
- 计算机体系结构计算题示例答案
评论
0/150
提交评论