Docsity

Software engineering slides in ppt, Study Guides, Projects, Research of Software Engineering

Partial preview of the text

Download Software engineering slides in ppt and more Study Guides, Projects, Research Software Engineering in PDF only on Docsity!

Chapter 3

Requirements Engineering

AMOUD UNIVERSITY

8/OCT/

2

Chapter 3

Requirements Engineering

3.1 Requirements engineering

3.1.1 Software requirements 3.1.2 Characteristics of requirements 3.1.3 Requirements engineering 3.1.4 Requirements elicitation

3.2 Requirements analysis

3.2.1 Software modeling 3.2.2 The analysis process 3.2.3 Entity-Relationship diagram (ERD) 3.2.4 Extended entity-relationship diagram (EERD) 3.2.5 Components of structured analysis

4

3.1 Requirements Engineering

5

Requirement

  • (^) Functional requirement describes system services or functions
  • (^) Non-functional requirement is a constraint or a goal on the system or on the development process 

User (Customer) requirement

  • (^) A statement in natural language plus diagrams of the services the system provides and its operational constraints 

Requirements specification

  • (^) A structured document for detail description of the system services.
  • (^) Written as a contract between client and developer

Software Requirements

7

Requirements elicitation

  • (^) Determine what the customer requires 

Requirements analysis

  • (^) Understand the relationships among various customer requirements 

Requirements negotiation

  • (^) Shape the relationships among various customer requirements to achieve a successful result
  • (^) Research on requirements trade-off analysis (formulating as goals) 

Requirements specification

  • (^) Build a form of requirements

Requirements Engineering

8

Software modeling

  • (^) Build a representation of requirements that can be assessed for correctness, completeness and consistency. 

Requirements validation

  • (^) Review the model 

Requirements management

  • (^) Identify, control and track requirements and the changes.

Requirements Engineering (cont’d)

10

Requirements Elicitation (cont’d)

Form analysis

  • (^) A lot of information about the domain can be found in various forms (examples in ERD slides)
  • (^) Forms provide us with information about the data objects of the domain, their properties, and their interrelations 

Natural language description

  • (^) with background information to be used in conjunction with other elicitation techniques such as interviews 

Derivation from an existing system

  • (^) Take the peculiar circumstances of the present situation into account (examples in ERD slides) 

Prototyping

11

3.2 Requirements Analysis

13

 Purpose

  • (^) focus on those qualities of an entity that are relevant to the solution of an application problem
  • (^) abstract away those that are irrelevant 

Model: an abstraction for

  • (^) Understanding before (actually) building
  • (^) Communication
  • (^) Visualization
  • Reducing complexity 

Methodology: build (analyze) a model of an application

domain

Software Modeling

14

Application and Solution Domain

Application Domain (Requirements Analysis)

  • (^) The environment in which the system is operating

 Solution Domain (System Design, Object Design)

  • (^) The available technologies to build the system

16

Traditional Software Engineering

Software Systems

Data

Function Behavior

Entity-Relation

Diagram

Data Flow

Diagram

State Transition

Diagram

17

ERD DFD

Database

Tables

Screen

Report

Structured

chart

Structured

English

From Analysis to Design: A

Traditional Approach

19

  • (^) Direction  (^) using an arrow pointing to the object of the action.

 Examples

Persons Jobs

Perform

Customers Tasks

Serve

Consist-of

1:1 (^) Persons Jobs

1:N

consist_of

Jobs Tasks

M:N

serve

Persons Customers Entity-Relationship Diagram (cont’d)

perform

20

 Attributes: Properties to describe an entity

  • (^) key attribute (key, identifier) to characterize the specific entity (to retrieve a single entity occurrence (instance))  (^) unique : to ensure that no other record has the same identifier.  (^) unchanging : to ensure that it always refers to the same thing.

Students Faculty Courses

Assist

Advice

Take Teach

Entity-Relationship Diagram (cont’d)