




已阅读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江苏省宿迁经济技术开发区教育系统招聘教师42人考前自测高频考点模拟试题及答案详解(全优)
- 班组安全季度培训教案课件
- 班组安全培训鉴定意见课件
- 2025年广东技术师范大学招聘辅导员40人模拟试卷及答案详解(夺冠)
- 2025北京中国音乐学院第一批招聘10人考前自测高频考点模拟试题附答案详解(完整版)
- 超精密加工新方法-洞察与解读
- 2025河北沧州孟村饶安高级中学招聘1人模拟试卷有答案详解
- 2025广西百色市第三人民医院(百色市应急医院)公开招聘5人考前自测高频考点模拟试题及答案详解参考
- 班组安全培训的原因
- 2023年全国职业院校技能大赛-融媒体内容策划与制作赛项规程
- 《电力建设施工企业安全生产标准化实施规范》
- 糖尿病周围神经病变知多少课件
- 新概念英语青少版入门 A-Unit-1课件(共98张)
- 儿童肺炎支原体肺炎诊疗指南(2023年版)解读
- 个人履职考核情况表
- 中小学消防安全、交通安全、食品安全、防溺水、防欺凌系统安全教育主题课件
- 建筑垃圾减量化专项方案
- 关于农民工工资催付告知函
- GB/T 6426-1999铁电陶瓷材料电滞回线的准静态测试方法
- 广西版建筑装饰装修工程消耗量定额说明及计算规则
评论
0/150
提交评论