Requirements Analysis in Software Engineering: A Comprehensive Guide, Lecture notes of Software Engineering

Software Requirement Engineering

Typology: Lecture notes

2019/2020

Uploaded on 11/02/2020

hui-ching-lim
hui-ching-lim 🇲🇾

5 documents

1 / 110

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CHAPTER 3
REQUIREMENTS
ANALYSIS
SOURCE OF P P S L I D E S :
- SOMMERVILL E , I . 2 0 11. SOFT WARE EN G I N E E R I N G. 9 T H EDN. A D D I S O N -
WESLEY.
- LAMSWEERD E , A . V. 2 0 1 1 . REQUIREMEN T S E N G I N EERING: F R O M S Y S T E M
GOALS TO U M L M O D E L S T O SOFTWA R E SPECIFICATI O N . 2 N D E D . W ILEY.
- WEIGE R S , K . A N D BEAT T Y, J . 2 0 13. SO F T WARE REQ U I R E M E N T S . 3 R D E D N .
MICROSOFT P R E SS.
- BENN E T T, MC R O B B AND FA R M E R : OBJECT O R I E N TED SYST E M S A N A LY S I S AND
DESIGN U S I N G UML, ( 4 T H E D I TION), C H A P T E R 8, MCGR AW H I L L , 2010.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Requirements Analysis in Software Engineering: A Comprehensive Guide and more Lecture notes Software Engineering in PDF only on Docsity!

CHAPTER 3

REQUIREMENTS

ANALYSIS

SOURCE OF PP SLIDES :

- SOMMERVILLE, I. 2011. SOFTWARE ENGINEERING. 9 T H EDN. ADDISON-

WESLEY.

- LAMSWEERDE, A. V. 2011. REQUIREMENTS ENGINEERING: FROM SYSTEM

GOALS TO UML MODELS TO SOFTWARE SPECIFICATION. 2

N D ED.WILEY.

- WEIGERS, K. AND BEAT TY, J. 2013. SOFTWARE REQUIREMENTS. 3

R D EDN.

MICROSOFT PRESS.

- BENNETT, MCROBB AND FARMER: OBJECT ORIENTED SYSTEMS ANALYSIS AND

DESIGN USING UML, (4TH EDITION), CHAPTER 8, MCGRAW HILL, 2010.

LESSON OBJECTIVES:

Explain different classification of

requirements

Understand conceptual modeling

  • (^) Introduce some notations defined in

the Unified Modeling Language(UML)

  • (^) Understand architectural design and

requirements allocation

Understand some commonly used

requirements analysis approaches

REQUIREMENTS CLASSIFICATION (1)

  • Analyst must classify the requirements to

various categories so that they can document

and use it appropriately

  • Requirements can be classified on a number of

dimensions (next slide…)

REQUIREMENTS CLASSIFICATION (2)

Some common requirements classified

dimensions:

  • (^) Functional or Nonfunctional Requirements (as

discussed in previous chapter – recall)

  • (^) Product or Process Requirements (as discussed

in previous chapter – recall)

  • (^) Data Requirements – eg…
  • (^) External Interface Requirements – interface

requirements with hardwares, other softwares and

users

REQUIREMENTS CLASSIFICATION (4)

  • Other classification may be appropriate

depending upon the organization’s normal

practice and the software application itself

  • Reading : Text books and research from internet

on other classification of requirements …

REQUIREMENTS ANALYSIS: OUTLINE

Requirements Classification

Conceptual Modelling

  • (^) Context Models
  • (^) Interaction Models
  • (^) Structural Models
  • Behavioral Models

Architectural Design and Requirements Allocation

Requirements Negotiation

Requirements Analysis Approaches

CONCEPTUAL MODELING

  • (^) Several kinds of models can be developed during

requirements analysis

  • (^) Represent using some kind of graphical notation, which is

now almost always based on notations in the Unified

Modeling Language(UML)

  • (^) Some common diagrams generated during requirements

analysis stage include:

  • Use case diagram
  • (^) State diagram UML Notation
  • (^) Class diagram
  • (^) Sequence diagram
  • Data flow diagram
  • (^) Data model
  • (^) etc

CONCEPTUAL MODELING

i) Context Models

ii) Interaction Models

iii) Structural Models

iv) Behavioral Models

EXAMPLE : CONTEXT DIAGRAM

CONCEPTUAL MODELING

i) Context Models

ii) Interaction Models

iii) Structural Models

iv) Behavioral Models

CONCEPTUAL MODELING

Generally,

Data flow diagram (DFD) is a graphical representation of the

"flow" of data through an information system, modelling

its process aspects. A DFD shows what kind of information

will be input to and output from the system, where the data

will come from and go to, and where the data will be stored. It

does not show information about the timing of process or

information about whether processes will operate in

sequence or in parallel. {refer to SAD course for details}

Use case diagram at its simplest is a representation of a

user's interaction with the system that shows the

relationship between the user and the different use cases in

which the user is involved.

EXAMPLE : DATA FLOW DIAGRAM

Clinic System Clinic System

USE CASE DIAGRAM

Dispenser

Overview Use Case

Nurse

Maintain

Appointment

Dispense

Medicine

Nurse

Add

Appointment

Delete

Appointment

Edit

Appointment

Detail Use Case

NOTATION OF USE CASE DIAGRAMS