Docsity

Software Requirements-Softwarre Engineering-Lecture Slides, Slides of Software Engineering

Partial preview of the text

Download Software Requirements-Softwarre Engineering-Lecture Slides and more Slides Software Engineering in PDF only on Docsity!

Department of Computer & Information SciencesPakistan Institute of Engineering and Applied Sciences [Disclaimer: The course slides have been based on the slides of Somerville and Pressman]

P

t II

Part II

Requirements

Software Requirements

Umar Faiz

http://www.pieas.edu.pk/umarfaiz/cis

Software Engineering

Objectives

•^

To introduce the concepts of user and system

i^

t

requirements

-^

To describe functional and non-functionalrequirements

-^

To explain how software requirements may beorganised in a requirements document

What is a Requirement?

•^

What’s Requirement? [IEEE Std]– A condition or capability needed by a user to

solve a problem or achieve an objective. The setof all requirements forms the basis for subsequentdevelopment of the system or system component.

Importance of Requirements

•^

Engineering Argument– A good solution can only be developed if the

engineer has a solid understanding of the problem.

•^

Economic Argument– Defects are cheaper to remove if are found

p

earlier.

11/24/

5

docsity.com

What is Requirement Engineering?

•^

Requirements Engineering is the branch of systems

i^

i^

d

ith

l^

ld

l^

f

engineering concerned with real-world goals for,services provided by, and constraints on software

t systems.

-^

Requirements Engineering is also concerned with therelationship of these factors to precise specificationsof system behavior and to their evolution over time

f

and across system families.

Requirements Engineering

•^

The process of establishing the services that the

t^

i^

f^

t^

d th

t^

i t

customer requires from a system and the constraintsunder which it operates and is developed.

-^

The requirements themselves are the descriptions ofthe system services and constraints that aregenerated during the requirements engineeringprocess.

Definitions and Specifications

Requirements Readers

Client manag ersSy stem end -usersClient engineers

User req uirements

Co ntracto r man ag ersSy stem architectsSy stem end -usersClient engineersSy stem architects

Sy stem requ irements

Sy stem architectsSo ftware develo pers

y^

q

Client engineers (perh aps)Sy stem architectsSo ftware develo pers

So ftware d esign

specificatio n

So ftware develo pers

Functional and Non-functional Requirements

•^

Non-functional Requirements– Constraints on the services or functions offered

by the system such as timing constraints,constraints on the development process,standards, etc.

Functional and Non-functional Requirements

•^

Domain requirements– Requirements that come from the application

domain of the system and that reflectcharacteristics of that domain.

The LIBSYS system

•^

A library system that provides a single interface to a

b

f d t b

f^

ti l

i^

diff

t lib

i

number of databases of articles in different libraries.

-^

Users can search for, download and print thesearticles for personal study.

Examples of Functional Requirements (LIBSYS)•

The user shall be able to search either all of thei iti l

t^

f d t b

l^

t^

b

t f

it

initial set of databases or select a subset from it.

-^

The system shall provide appropriate viewers for theuser to read documents in the document store.

-^

Every order shall be allocated a unique identifier(ORDER_ID) which the user shall be able to copy tothe account’s permanent storage area.

Requirements Capturing

•^

In principle, requirements should be both complete

d

i t

t

and consistent.

-^

Complete– They should include descriptions of all facilities

required.

•^

Consistent– There should be no conflicts or contradictions in

There should be no conflicts or contradictions inthe descriptions of the system facilities.

•^

In practice it is impossible to produce a complete

-^

In practice, it is impossible to produce a completeand consistent requirements document.

Non-functional Requirements

•^

These define system properties and constraints e.g.

li bilit

ti

d

t^

i^

t

reliability, response time and storage requirements.Constraints are I/O device capability, system

t ti

t

representations, etc.

-^

Non-functional requirements may be more criticalthan functional requirements. If these are not met,the system is useless.