Software Requirements -Pete Sawyer Pete Sawyer Han, Chang Hee - - PowerPoint PPT Presentation

software requirements
SMART_READER_LITE
LIVE PREVIEW

Software Requirements -Pete Sawyer Pete Sawyer Han, Chang Hee - - PowerPoint PPT Presentation

Software Requirements -Pete Sawyer Pete Sawyer Han, Chang Hee 200312136 200312136 Computer Engineering The Context of Software Requirements Software Requirements Concern the specification of software system Concern the


slide-1
SLIDE 1

Software Requirements

  • Pete Sawyer

Pete Sawyer

Han, Chang Hee 200312136 200312136 Computer Engineering

slide-2
SLIDE 2

The Context of Software Requirements

Software Requirements

Concern the specification of software system Concern the specification of software system

Requirements Engineering (RE)

D l i h ll f bl d l i

Deal with all aspects of problem and solution Very close with Software Requirements

slide-3
SLIDE 3

Requirements and Constraints

What is the Requirement?

Define a property or capability Define a property or capability Functional requirement

Function the software must perform Function the software must perform

Nonfunctional requirement

Describe qualities of a system (How well)

Describe qualities of a system (How well) Reliability, Availability, Security, Safety, Usability

and performance requirements and performance requirements

slide-4
SLIDE 4

Requirements and Constraints

Some are emergent properties

Depend on a wide range of factors Depend on a wide range of factors Hard to analyze and control

Constraint

Negative requirement Limit possible solutions to the business Limit possible solutions to the business

problem

slide-5
SLIDE 5

Requirements and Constraints

Figure 1 Requirement Constraints

Soulution Space Problem Domain Organizational Context

Proposed solution Problem definition

Operational Context

slide-6
SLIDE 6

Requirements Engineering Process

Fi 2 G i d l f th RE Figure 2. Generic model of the RE process R i t R i t R i t R i t Requirements Elicitation Requirements Analysis Requirements Specification Requirements Validation Requirements Specification document Requirements Management

Stakeholders Domain experts

Elicit – Analysis – Specification – Validate

Manage – Manage

Software Requirements Specification(SRS)

slide-7
SLIDE 7

Requirements Engineering Process

Requirements Elicitation Requirements Analysis Requirements Specification Requirements Validation Requirements Specification Document R1 Requirements Elicitation Requirements Analysis Requirements Specification Requirements Validation Requirements Specification Document R2

Not a simple front-end activity

b t l t th h l d t lif l but lasts the whole product life cycle

slide-8
SLIDE 8

Requirements Elicitation

Process of discovering the requirements Require iterant process Require iterant process

Collecting information

Clarify

Clarify Correcting Reformulating Reformulating

Explicit definition of the project scope help

li it ti elicitation

slide-9
SLIDE 9

Requirements Elicitation

  • Requirements Sources

Primary sources are stakeholders

Identifying the stakeholders is crucial

Stakeholder have own viewpoints

Stakeholder have own viewpoints Stakeholders are not the only sources Often come from application domain Domain experise do a crucial role Engineers may have sufficient domain experise

slide-10
SLIDE 10

Requirements Elicitation

  • Elicitation Techniques

Need to find an effective way to get what

they need they need

U ’ t i

User’s story or scenario Use cases Workshop Observation of users Competing products and emerging trends and

technologies

slide-11
SLIDE 11

Requirements Analysis

About understanding the problem and

requirements requirements

Yield a baseline set of requirements Should not include any requirements that

do not contribute to the goals

slide-12
SLIDE 12

Requirements Analysis

  • The System Boundary

The System Boundary

Concern with identifying which elements of the Concern with identifying which elements of the

problem are to be addressed by the proposed system system

Inside the system boundary

vs Outside the system boundary vs Outside the system boundary

slide-13
SLIDE 13

Requirements Analysis

  • The System Boundary

Case Diagram

Arm Burglar Alarm Arm Disarm Householder S it Trip Security service Configure Installation engineer Burglar

Figure 4. Use case defining the system boundary for a domestic burglar alarm

slide-14
SLIDE 14

Requirements Analysis

  • Requirements Modeling

Help to make sense complex information

Ex) Graphical model UML sequence diagram Ex) Graphical model, UML sequence diagram

U t ti

Use notation

Ex) Z, CSP, UML’s OCL

slide-15
SLIDE 15

Requirements Analysis

  • Derived Requirements

Ex) Deived Requirements in a case model

Arm primary scenario Precondition: Alarm is unarmed

  • Householder initates arming procedure
  • Timer countdown commences
  • Householder exits premises
  • Timer countdown finished
  • Arming procedure completes

Postcondition: Alarm is armed

slide-16
SLIDE 16

Requirements Analysis

  • Requirements Attributes

Kind of Attributes for Requirements

Identifier Source Date Rationale Type Priority Stability

V ifi ti d

Verification procedure Status

slide-17
SLIDE 17

Requirements Analysis

  • Requirement Trade-offs

Some requirements will be cut

Because of insufficient resources Because of insufficient resources

Requirements’ priorities helps the trade-off But Not all the high-priority requirements

slide-18
SLIDE 18

Software Requirements Specification

A concept of operations document System specification System specification Software Requirements Specification(SRS)

ex) Arm 011 On completion of the arming sequence, there shall be a time delay equal to the escape period before the alarm enters the armed state the alarm enters the armed state

slide-19
SLIDE 19

Requirements Validation

Concern correctness, completeness, and

consistency of the specification consistency of the specification

Conform to appropreate standard,

guidelines and conventions guidelines, and conventions

slide-20
SLIDE 20

Requirements Management

Change Control Version Control Version Control Requirements Tracing Status Tracking

slide-21
SLIDE 21

Requirements Management

Change Control

Change is not permitted to occur without control

Version Control

Should include

Details of the change Date of approval Rationale for the change and decision to approve

Status Tracking

Maintaining information on the processing and

implementation of requirements

slide-22
SLIDE 22

Requirements Management

Requirements Tracing

Show the derivation relationships

Show the derivation relationships

System requirements Derived Requirements

Architectural components

Fugure 5. Requirements trace

slide-23
SLIDE 23

Summery

Re is a crucial part of any process If neglected it the project will subside If neglected it, the project will subside RE process is need for any successful

project

Essential maintain awareness of the

fundamental precepts of RE and of good RE practice RE practice

slide-24
SLIDE 24

Thanks!