




已阅读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 ( D )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? ( C )A. TaggedValueB. ConstraintC. ConcurrentD. Stereotype3) Constraints can be represented in UML by: ( A )A. text string B. text string C. notes D. constraint 4) UML interfaces are used to: ( D )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 ) 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? ( B )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? _logical_ ,_usecase_,_component_ and _deployment_ .9) Which two UML diagrams can represent concurrent processing? _activity_ and _sequence_ . 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 _application_ , _business_ , _middleware_ and _system software_ . 2. Explain the following Concepts and Give an Example . (each question worths 3 points. 15 points total )1) Collaboration Diagrams主要描述参与交互的对象结构间相关的信息的图。a) Generalization一个用例可以可以被派生为一个或多个子用例2) TransitionA transition is a relationship between two states indicating that an object in the first state will perform certain actions and enter the second state when a specified event occurs and specified conditions are satisfied.3) Stereotype构造型可以定义自定义类型,扩展UML的词汇4) Encapsulation对外公开接口,但是隐藏对象属性和实现细节。3. 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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年医院工友会记录范文
- 会计系毕业论文指导周志
- 无人机飞行网络覆盖与扩展方案
- 关于护理系毕业论文
- 工科毕业论文怎么写
- 老旧小区智能照明系统改造方案
- 多媒体专业毕业论文
- 英语系专业毕业论文格式
- 大学口腔专业毕业论文
- 储备库项目竣工验收与质量管理
- 湖北荆州2023年中考语文现代文阅读真题及答案
- 重庆市字水中学2024届九年级上学期期中考试数学试卷(含答案)
- 水闸现场安全检测分析报告
- 车辆定点维修服务保障方案
- 学生营养餐(中央厨房)集中配送项目计划书
- 连云港市新海初中2022-2023七年级新生入学素质测试英语试卷及答案
- (新)精神卫生知识技能竞赛理论考试题库(含答案)
- 2024版买房定金合同范本
- 小猪佩奇英语版台词
- 开票税点自动计算器
- 中华护理学会成人肠内营养支持护理团标解读
评论
0/150
提交评论