华南理工大学2007级《软件需求分析、设计与建模》试卷_

上传人:hjk****65 文档编号:172189990 上传时间:2022-12-01 格式:DOC 页数:6 大小:186KB
返回 下载 相关 举报
华南理工大学2007级《软件需求分析、设计与建模》试卷__第1页
第1页 / 共6页
华南理工大学2007级《软件需求分析、设计与建模》试卷__第2页
第2页 / 共6页
华南理工大学2007级《软件需求分析、设计与建模》试卷__第3页
第3页 / 共6页
点击查看更多>>
资源描述
姓名 学号 学院 专业 座位号 ( 密 封 线 内 不 答 题 )密封线线_ _ 诚信应考,考试作弊将带来严重后果! 华南理工大学期末考试面向对象分析与设计试卷注意事项: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 scenario (i.e. the sequence of actions performed when there are no errors.) Please label everything with meaningful names, or include a description of each label. (15 points)面向对象分析与设计试卷第 6 页 共 6 页
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 商业管理 > 营销创新


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!