已阅读5页,还剩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) Object-Oriented Technologies have the following benefits ( )A. Increased encapsulationB. Decreased coupling between modules C. High level of abstractionD. All of the above2) Which of the following statements are false? ( )A. A class can have a relationship to itself.B. An object can have a relationship to other objects of the same class.C. A class can have only one relationship to another class.D. A relationship can exist with a cardinality of zero.3) Which of the following models could be supported by Rational Rose? ( ) A. Business Use Case diagram B. Use Case diagram C. Activity diagram D. Component diagram4) Which of the following are NOT TRUE about the use case diagram? ( )A. Use Case diagrams show the interactions between use cases and actors.B. Use Case diagrams show which actors initiate use cases.C. Use Case diagrams are used to show the flow of functionality through a use case.D. Use Case diagrams illustrate that an actor receives information from a use case.5) A car has four wheels. The class car and the class wheel have what type of relationship? ( ) A. AssociationB. AggregationC. InheritanceD. Realization6) 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 Diagrams2) Use Cases3) Association Relationship4) Encapsulation5) Generalization3. Draw class diagram for the following scenario. Be sure to include multiplicities on the ends of the connectors. (10 points)Mini OfficeThe following scenario is for a mini office. Each office has up to 10 members and 2 managers. Each manager has their own room, while members are in the main hall. Each member has their own seat. And each seat has a unique id number. 4. Point out the wrong place in the following diagram . (10 points ) ClassDiagram:分析类/分析类图5. OO Modeling (40 Points total ) (40 Points total )1) Write down all candidate objects and candidate actions in the following usage scenario (10 points)This is a student registration system. There are full-time and part-time students. Each class has a set of scheduled times and a number of credit hours. When a user tries to register for a class, the system checks their schedule for time-conflicts. If there is a conflict, an error is returned. If there is no error, then the system checks to see if the total number of hours including this class is no more than the maximum number of hours for a full-time student. If so, then the system returns an error. If no problems are found, the system registers the student for the class, and informs the user of success.2)Produce a class diagram to model the system. (Make sure to include all objects and actions that you will need for the sequence diagram you will produce in part 3 below.) (15 points )3) Produce a sequence diagram to model the success-case of this s
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年幼儿园保教教研
- 2026年幼儿园科学 恐龙世界
- 人教版一年级下册6. 100以内的加法和减法(一)两位数加一位数、整十数教学设计
- 江西省南昌市湾里一中高一体育《篮球 突分配合》教学设计1 新人教版
- 2026年幼儿园袜子课的
- 海洋生态保护红线划定规则解读
- 本册综合教学设计小学英语4a典范英语(Good English)
- 篮球课与信息技术融合的教学设计《篮球组合基本技术》
- 人教版新课标A必修4第三章 三角恒等变换3.1 两角和与差的正弦、余弦和正切公式教学设计
- 2026年7上科学试卷及答案
- 阀门生产工艺、生产实施计划和质量保证措施
- 2022年江苏省扬中市卫生系统护士招聘考试《护理学》试卷及答案
- 霍金斯能量层级(全)
- YS/T 337-2009硫精矿
- GB/T 25146-2010工业设备化学清洗质量验收规范
- 2023年图书资料中级考试题库
- 中学生物学教学论试题库
- 国家开放大学《西方行政学说》形考任务1-4参考答案
- 心脏体格检查血管检查电子教案课件
- 应用文写作:申请书课件
- 临床流行病学的研究设计类型
评论
0/150
提交评论