软件工程复习资料

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Chapter 4 –Requirements Engineering

Requirements engineering

The process of establishing the services that the customer requires from a system and the constraints under which it operates and is developed.

The requirements themselves are the descriptions of the system services and constraints that are generated during the requirements engineering process.

What is a requirement?

It may range from a high-level abstract statement of a service or of a system constraint to a detailed mathematical functional specification.

This is inevitable as requirements may serve a dual function

May be the basis for a bid for a contract - therefore must be open to interpretation; May be the basis for the contract itself - therefore must be defined in detail;

Both these statements may be called requirements.

Types of requirement

User requirements

Statements in natural language plus diagrams of the services the system provides and its operational constraints. Written for customers.

System requirements

A structured document setting out detailed descriptions of the system’s functions, services and operational constraints. Defines what should be implemented so may be part of a contract between client and contractor.

Functional requirements

Statements of services the system should provide, how the system should react to particular inputs and how the system should behave in particular situations.

May state what the system should not do.

Describe functionality or system services.

Depend on the type of software, expected users and the type of system where the software is used.

Functional user requirements may be high-level statements of what the system should do.

Functional system requirements should describe the system services in detail. Problems of requirements analysis

1、Stakeholders don’t know what they really want.

2、Stakeholders express requirements in their own terms.

3、Different stakeholders may have conflicting requirements.

4、Organizational and political(政策的)factors may influence the system requirements.

5、The requirements change during the analysis process. New stakeholders may emerge and the business environment may change.

Use cases

1、Use-cases are a scenario based technique in the UML which identify the actors in an interaction and which describe the interaction itself.

2、A set of use cases should describe all possible interactions with the system.

3、High-level graphical model supplemented by more detailed tabular description (see

相关文档
最新文档