已阅读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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- GB/T 47086-2026增强纤维和微纤维棉直径及其分布的测定数字光学扫描仪法
- 轧钢厂各工种考核制度
- 学校意识形态考核制度
- 专任教师育人考核制度
- 传染病培训与考核制度
- 筑炉管理人员考核制度
- 煤矿消防安全考核制度
- 院学生会干事考核制度
- 体检中心考勤考核制度
- 店长安全管理考核制度
- 小学班主任管理经验
- DL∕T 5776-2018 水平定向钻敷设电力管线技术规定
- 甲状腺护理教学查房
- 过年开销清单分析报告
- 中小学教师违反职业道德行为处理办法
- 不做教书匠青年教师读书交流活动感悟
- 评标专家专业分类标准
- 《学术规范和论文写作》课件全套 第1-10章 知:认识研究与论文写作 - 引文规范
- 传感器与自动检测技术课件
- 工程预结算课件
- 人教版八年级下物理第7、8单元测试题及答案
评论
0/150
提交评论