




已阅读5页,还剩1页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
姓名 学号 学院 专业 座位号 ( 密 封 线 内 不 答 题 )密封线线_ _ 诚信应考,考试作弊将带来严重后果! 华南理工大学期末考试面向对象分析与设计试卷注意事项:1. 考前请将密封线内填写清楚; 2. 所有答案请直接答在试卷上(或答题纸上); 3考试形式:闭卷; 4. 本试卷共 大题,满分100分,考试时间120分钟。题 号一二三四五总分得 分评卷人1. Multiple Choice (15 points)1) During implementation, the development team decides to use a third party utility to provide some of the required functionality. What OOAD artifact would MOST likely reflect this change? A. Activity diagram B. Package diagram C. State diagram D. Interaction diagram2) Scenario: Prepare for an EventIn preparation for a party, the chef will look at the menu. The chef requires a shopping list from each recipe on the selected menu. The system generates the shopping list of ingredients that he needs to buy. Then he just crosses off anything that he already has.Because the chef is picky about his cooking utensils, he brings his own and doesnt like to depend on the clients to supply anything. In order to make sure that he doesnt forget anything, he uses the system to generate the list of utensils that hell have to bring with him to the party.He then proceeds to generate a to do list for the day of the party based on the time that the dinner is to be ready. He finds this to be useful so that everythings ready at the specified time, and nothing is forgotten.When creating the use cases related to the Prepare for an Event scenario, which of the following BEST represents the type of terminology that the use cases should contain? A. Chef, menu, recipes, ingredients B. End user, bill of fare, cooking specifications, food contents C. Chef object, menu object, recipe object, ingredient object D. Person record, menu print stream, recipe container, ingredient array3) If a use case had a requirement Calculate account balance, which OOAD artifact would be the BEST source for determining the name of the public method used to invoke the operation? A. Use cases B. Interaction diagrams C. Class diagram D. Activity diagram4) Which of the following are TRUE about a deployment diagram? (3 Answers) A. Since there is always some kind of response to a message, the dependencies are two-way between deployment components. B. Dependencies between deployment components tend to be the same as the package dependencies. C. Deployment diagrams can used to show physical modules of code. D. Deployment diagrams can be used to show the physical distribution of a system across computers.5) Refer to the diagram to answer the question. What is the maximum concurrent threads that is possible in the activity diagram? A. 3 B. 2 C. 4 D. 1 E. 5 2 Fill the blanks (15 points)1) Which UML diagram is specifically intended to describe the behavior of a single class? _ 2) Explain the difference between composition and aggregation. How are each represented in UML._ _ 3) The UML metamodel is defined as one of the layers of a four-layer metamodeling architecture. This architecture is a proven infrastructure for defining the precise semantics required by complex models ,Which include _ , _, _ and user objects .4) UML provide three extension Extension Mechanisms : _ , _, and TaggedValue. These mechanisms can be used separately or together to define new modeling elements that can have distinct semantics, characteristics, and notation relative to the built in UML modeling elements specified by the UML metamodel.3. Point out the wrong place in the following diagram . (20 points ) ClassDiagram:分析类/分析类图4. Answer the following questions (Total 10 point)(1) Compare the difference between the OOA and traditional structured analysis.(2) How to discover the objects and actors in system.5. Design (Total 40 point)Suppose the shopping process use a terminal in the store. (a)Use case : shopping Actor: buyer, cashier Description: the buyer bring the goods(商品) to the post (cash desk,收款处). The cashier register the goods information, calculate the amount, receive the cash and give change. Then the buyer leaves with his(her) goods. (b) Use case : system managing Actor: system administrator Descr
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年事业单位工勤技能-北京-北京机械热加工三级(高级工)历年参考题库典型考点含答案解析
- 2025年事业单位工勤技能-北京-北京公路养护工一级(高级技师)历年参考题库典型考点含答案解析
- 职业招聘风向标:面试题公布时间及答案深度解析
- 内科笔试常见问题及答案解析
- 光伏电站施工安全管理与监控方案
- 土地平整后的施工环境卫生控制方案
- 供水管网管道设计优化方案
- 混凝土施工中的质量问题预警与应急处理方案
- 医疗机构软式内镜清洗消毒技术规范试题及答案
- 2025年脱硫脱硝知识题库及答案
- 劳动仲裁员任职培训课件
- 2025年中学生法治素养竞赛题库及答案
- 益阳市融资担保有限责任公司招聘考试真题2024
- 新人教版五年级上册小学数学教学计划+教学进度表
- 痔疮的健康教育课件
- 优甲乐(左甲状腺素钠片)健康教育
- 肝脏弥漫性病变超声诊断与检查规范
- 2025年长沙市中考物理试卷真题(含答案)
- 建筑工地驻场人员管理办法及流程
- 2025年全国工会系统经审业务技能大赛知识总题库(1800题)-中部分
- 心脏骤停的急救及处理
评论
0/150
提交评论