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

四川大学软件工程选择题(2)

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

elements of savings: Window service, Online service, ATM service

technical components of Online service: customer identify (security), communication, database Product Engineering world view: smart phone domains: chipset, software

elements of software: OS, application platform technical components of application platform:

communication, security, utility (telephone book, calendar)

1. In requirements validation the requirements model is reviewed to ensure its technical feasibility.

a. True b. False

Answer: b

2.In win-win negotiation, the customer's needs are met even though the developer's need may not be.

a. True b. False

Answer: b

3.Which of the following is not one of the context-free questions that would be used during project inception?

a. What will be the economic benefit from a good solution? b. Who is against this project? c. Who will pay for the work? d. Who will use the solution?

Answer: b

4.The use of traceability tables helps to

a. debug programs following the detection of run-time errors b. determine the performance of algorithm implementations c. identify, control, and track requirements changes d. none of the above

Answer: c

5.The system specification describes the

a. Function, performance and constraints of a computer-based system b. implementation of each allocated system c. element software architecture

d. time required for system simulation

Answer: a

6. Use-case actors are always people, never system devices. a. True b. False

Answer: b

7. Which of the following is not one of the requirement classifications used in Quality Function Deployment (QFD)?

a. exciting

b. expected c. mandatory d. normal

Answer: c

8.Develop a complete use-case for one of the following activities.

a. Making a withdrawal at an ATM

b. Using your charge card for a meal at a restaurant

c. Searching for books (on a specific topic) using an on-line bookstore

Solution a

Use-case: withdrawal at an ATM

Primary actor: customer, bank card, ATM

Precondition: ATM is ready

Trigger: customer decides to make a withdrawal Scenario:

Customer insert bank card into ATM Customer input password

Customer press the withdrawal

Customer input the number of money Customer gets the money

Customer takes out the bank card Exception:

The bank card is not recognized – see abnormal process

Password is incorrect or not recognized – see abnormal process Money does not get out – see abnormal process

The bank card can not be took out – see abnormal process

1. Which of these is not an element of an object-oriented analysis model? Answer: c

a. Behavioral elements b. Class-based elements c. Data elements

d. Scenario-based elements

2. Which of the following is not an objective for building an analysis model? Answer: c

a. define set of software requirements that can be validated

b. describe customer requirements

c. develop an abbreviated solution for the problem d. establish basis for software design

3. Thedataflowdiagram

Answer: e

a. depicts relationships between data objects b. depicts functions that transform the data flow c. indicates how data are transformed by the system d. indicates system reactions to external events e. both b and c

4. Which of the following items does not appear on a CRC card? Answer: c

a. class collaborators b. class name c. class reliability

d. class responsibilities

5. For purposes of behavior modeling a state is any

a. consumer or producer of data. b. data object hierarchy.

c. observable mode of behavior. d. well defined process.

Answer: c

6. Attributes cannot be defined for a class until design has been completed. a. True

b. False Answer: b

7. Operations are object procedures that are invoked when an object receives a message.

a. True b. False

Answer: a

8. UML activity diagrams are useful in representing which analysis model elements? a. Behavioral elements b. Class-based elements c. Flow-based elements d. Scenario-based elements Answer: d

9. Which of the following should be considered as candidate objects in a problem space? a. events b. people

c. structure d. all of the above Answer: d

10. In a few sentences, try to describe the primary differences between structured analysis and object-oriented analysis.

Answer: Structured analysis begins with a consideration of the data objects that the system must manipulate. In structured analysis the data objects are described with a data dictionary and

the entity relation diagram (ERD) depicts relationships between data objects. The flow and

transformation of data through a system are represented using the data flow diagram (DFD). The structured analysis also incorporates a behavioral modeling notation called the state transition diagram (STD). In the object oriented analysis model, class-based elements model the objects that the system will manipulate, the operations that will be applied to the objects to effect the manipulation, relationships (some hierarchical) between the objects, and the collaborations that occur between the classes that are defined. In addition the OO model represents the behavior of objects and the behavior of the system

1. Which of the following are areas of concern in the design model? Answer: e

a. architecture b. data c. interface d. project scope e. a, b and c

2. Which of these are characteristics of a good design? Answer: e

a. exhibits strong coupling between its modules

b. implements all requirements in the analysis model c. includes test cases for all components

d. provides a complete picture of the software e. both b and d

3. Information hiding makes program maintenance easier by hiding data and procedure from

unaffected parts of the program. Answer: a

a. True b. False

4. Cohesion is a qualitative indication of the degree to which a module Answer: b

a. can be written more compactly. b. focuses on just one thing.

c. is able to complete its function in a timely manner. d. is connected to other modules and the outside world.

5. Coupling is a qualitative indication of the degree to which a module Answer: d

a. can be written more compactly. b. focuses on just one thing.

c. is able to complete its function in a timely manner. d. is connected to other modules and the outside world.

6. Polymorphism reduces the effort required to extend an object system by Answer: b

a. coupling objects together more tightly.

b. enabling a number of different operations to share the same name c. making objects more dependent on one another. d. removing the barriers imposed by encapsulation.

7. Which design model elements are used to depict a model of information represented from the user's view? Answer: c

a. Architectural design elements b. Component-level design elements c. Data design elements d. Interface design elements

8. Which design is analogous to the floor plan of a house? Answer: a a. Architectural design elements b. Component-level design elements c. Data design elements d. Interface design elements

9. Which design model is analogous to the detailed drawings of the access points and external utilities for a house?

a. Architectural design elements b. Component-level design elements c. Data design elements d. Interface design elements

Answer: d

10. Which design model is analogous to a set of detailed drawings for each room in a house? a. Architectural design elements b. Component-level design elements c. Data design elements d. Interface design elements Answer: b

11. The deployment design elements specify the build order for the software components. a. True b. False Answer: b

12. One of the key problems in software reuse is the inability to find existing reusable design patterns when hundreds of candidates exist. a. True b. False Answer: a

1. An architectural style encompasses which of the following elements? Answer: e

a. constraints

b. set of components c. semantic models d. syntactic models e. a, b and c

2. During the process of modeling the system in context, systems that interact with the target

system are not represented as Answer: d

a. Peer-level systems b. Subordinate systems c. Super-ordinate systems d. Working systems

3. When the overall flow in a segment of a data flow diagram is largely sequential and

follows straight-line paths, _________ is present. Answer: d

a. low coupling b. Good modularity c. transaction flow

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库四川大学软件工程选择题(2)在线全文阅读。

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