77范文网 - 专业文章范例文档资料分享平台

华南理工软件学院2015期末考试-软件需求分析设计B卷(不全)

来源:网络收集 时间:2018-12-05 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

( 密 封 线 内 不 答 题 ) ……………………………………密………………………………………………封………………………………………线…………………………………… 学院 专业 座位号 诚信应考,考试作弊将带来严重后果!

华南理工大学期末考试

《软件需求分析设计》试卷 (B)

注意事项:1. 考前请将密封线内填写清楚; 2. 所有答案请答在答题纸上; 3.考试形式:闭卷;

4. 本试卷共 五 大题,满分100分, 考试时间120分钟。 题 号 一 得 分 评卷人 二 三 四 五 总分 一. 单项选择题.

NO. solution 1. View are “slices” of architecture . Which view focus on structural issue ? A. Use – case B. Process C. Implementation D. Logical 2. Which of the following are not part of a use-case realization ?

A. Tagged Value B. Constraint C. Concurrent D. Stereotype 3. Which of the following is not part of a use-case relazation ?

A. Sequence diagrams B. Use case C. Communication D. Class diagram 4. A car has 4 wheels . What type of relationship is between the class car and the class wheel ?

A. Association B. Aggregation C. Inheritance D. Dependency 5. Scheduling project activities such as functional increment and test case development , which one of the following OOAD artifacts is the most useful ?

A. Use cases B. Interaction diagrams C. Activities diagrams D. Class diagrams 6. In a well-design layered architecture , which layers should know about which ? A. Model knows view and persistence , View knows Model and Persistence. B. View knows Model , Model knows Persistence.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 _____________ ________ 姓名 学号 《软件需求分析设计》试卷 (B) 第 1 页 共 8 页

C. View knows Model , Persistence knows View and Model.

D. View knows Model , Model knows View and Persistence , Persistence knows Model. 7. For showing how several objects collaborate in single use case , which one of the following OOAD artifact is the Most useful ?

A. Sequence Diagrams B. Activities Diagrams C. State Diagram D. Class Diagram

8. Which of the following is not one of the dimensions of software engineering according to UP recommendations ?

A. Develop iteratively B. Model the software visually

C. Control changes D. Freeze requirements at the start of a project to provide stability

9. Which of the following is not one of the dimensions of software quality ? A. Supportability B. Performance C. Assessment D. Usability

10. Which of the following use case is a valid use case because it can pass the Boss Test , EBP Test and Size Test ?

A. Negotiate a Supplier Contract B. Handle Returns C. Log In D. More Piece on Game Board 11. Which of the following statement is false ? A. An Object can be in more than one state at a time B. A state machine can have multiple termination states C. A state can remember which sub state was the last state D. A transition can fire conditionally

12. Which model represents the following code generated by a Modeling tool ?

Class Order {

private Customer recipient ; // ….

《软件需求分析设计》试卷 (B) 第 2 页 共 8 页

A. Design A B. Design B C. Design C D. None of the above

13. What methods MUST be implemented by the CreditProcessor class in the payment Sequence diagram ?

:Customer:CreditFormCredit ProcessorConfirmation FormsubmitCheck creditReserve seatGenerate comfirmation codeDisplay confirmationA. check Credit , generate Confirmation Code , display Confirmation B. check Credit , generate Confirmation Code

C. check Credit , generate Confirmation Code , Reserve seat D. check Credit , Reserve seat , display Confirmation

14. When doing domain analysis , the class diagram should be drawn PROMARILY to represent :

A. messages sent between object.

B. implementation objects such as wrappers and devices.

C. business object and implementation objects such as wrappers and devices. D. business object.

15. The following are the requirements for a Report-generation module in an application :

1) When new data is generated m the user-interface should be refreshed automatically to reflect the largest values. 2) Multiple view types are possible.

Which of the following Model and View interactions BEST satisfies the above requirement ?

A. Establish subscribe/notify mechanism between the view and model , with the model

《软件需求分析设计》试卷 (B) 第 3 页 共 8 页

updating the view based upon the view type.

B. Establish subscribe/notify mechanism between the view and model layers so that the views get notified of the charge.

C. Develop intelligence within the model so that it decides which views are to be refreshed based on the view type.

D. Combine the view and model layers into a single entity so that the interactions are localized and notifications are instantaneous. 二. 判断:

NO. T/F associations.

1 2 3 4 5 6 7 8 9 10 1. Stereotypes can be applied to many UML elements such as class , package and

2. Use case are an object oriented way to handle requirement. Therefore they don’t fit very well into non-object oriented projects.

3. A dependency between packages indicates that come element in the dependent package depends on some element(s) in the independent package.

4. It is worthwhile to draw a state chart diagram for every class you create.

5. Although the communication diagram has the same semantic with the sequence diagram they have different representations.

6. The idea of Protected Variation-GRASP pattern is to design objects and system so that in stability in them does not have undesirable effects on other elements.

7. The inception phase in UP usually is more than a few weeks long for most projects. 8. The purpose of elaboration is to fully and carefully define models , which are translated into code during construction.

9. A system sequence diagram is a picture that shows , for one particular scenario of a use case , the events that external actors generate , their order , and inter-system events. 10. Strategy pattern allow one of a family of algorithms to be selected on-the-fly at runtime.

《软件需求分析设计》试卷 (B) 第 4 页 共 8 页

三. 简答题:

1. What are the main phases of the Unified process ? Explain them in a few words.

2. Explain briefly what is the Adapter design pattern. Example of it use.

3. Please name and briefly describe the “4+1 view” of software architecture adopted in RUP.

四. 简单建模:

1. Draw class diagram for the following scenario. Be sure to include multiplicities on the ends of the

connectors.

The following scenario is for a pet store. Each pet store has up to 20 furry(毛皮的) friends and 10 birds. Each pet has a vaccination(疫苗) history. Furry friends are either dogs or cats. Each furry

《软件需求分析设计》试卷 (B) 第 5 页 共 8 页

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库华南理工软件学院2015期末考试-软件需求分析设计B卷(不全)在线全文阅读。

华南理工软件学院2015期末考试-软件需求分析设计B卷(不全).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/344580.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: