SlideShare a Scribd company logo
Analysis modelling
 Objectives   of analysis model
 ◦ To describe what the customer require
 ◦ To establish a basis for the creation of a software
   design
 ◦ To define a set of requirements that can be
   validated once the software is built.
 Uses a combination of text and diagrams to show
   requirement
   What is a model?
    ◦ a model is a simplification of reality

   Why do we model?
    ◦ we build models so that we can better understand
      the system we are developing
    ◦ we build models of complex systems because we
      cannot comprehend such a system in its entirety
Analysis modelling
    Shows 3 aspects of a software :
2.   Data Modeling
3.   Functional Modeling
4.   Behavioral Modeling
Data Dictionary – A repository that contains description
    of all data objects consumed or produced by the
    software.
3 diagrams surround the core –
1. ERD (Entity relationship diagram) – Depicts
    relationship between objects.
2. DFD (Data Flow diagram)- Shows how data is
   transformed as they move through the
   system.
3. STD (State transition diagram) – Shows how a
    system behaves as a consequence of external
    events.
Data Modeling :
2. What are the primary data objects?
3. What attributes describe the object?
4. What are the relationships between each
   objects?
To answer these, data modeling methods make
use of ERD--
Defines all data that are entered, stored ,
   transformed and produced within an
   application.
Functional Modeling(DFD)


                           external entity



                           process


                           data flow


                           data store
Notations used




      A producer or consumer of data
      Example: person, device, system, sensor

      Data must always originate from somewhere, and must
       always be sent to something
Notations used :


     A data transformer (changes input to output)
     Example: compute taxes, determine area, format report,
      display graph

     Data must always be processed in some way to achieve
      system function
   Notations used


         Data flows through a system, beginning as input and be
          transformed into output

                     base
                                compute
                                            area
                                triangle
                    height         area
Data Store
     Data is often stored for later use

                 sensor #
                                           sensor #, type,
                             look-up       location, age
                              sensor
      report required          data
                                              type,
                                              location, age
                        sensor number

                                       sensor data
Rules for drawing a DFD :
   All icons must be labeled with meaningful names
   The DFD evolves through a number of levels of detail
   Always begin with a context level diagram which
    depicts the system as a single bubble (also called level
    0)
   Always show external entities at level 0
   Always label data flow arrows
   Do not represent procedural logic
   DFD should be balanced.
   A data store cannot be connected either to another data
    store or to an external entity.
Balancing of DFD
                     a         p           b
              x                P                    y       level 0



       a             c        p2
              p1
                                       f

                                           p4                  b
                     d                                  5
                         p3        e            g
           level 1
Extensions for real time systems.
• To accommodate analysis of real time

  software, we use extensions to basic DFD
  notations called Ward and Mellor Extensions.
Notations used
                 A data item that is input or output
                 from a process on a time
                 continous basis
                 A process that accepts control
                 input or output.


                 A control flow/event




                 A data store that stores control
                 information.
Analysis modelling
Analysis modelling
3. Behavioral modeling (State transition diagram)
STDs represent----
• Behavior of system by depicting it’s state.

• Events that cause system to change state.

• What actions are to be taken as a consequence of a

  particular event?
   State—a set of observable circumstances that
    characterizes the behavior of a system at a
    given time
   State transition—the movement from one
    state to another
   Event—an occurrence that causes the system
    to exhibit some predictable form of behavior
   Action—process that occurs as a consequence
    of making a transition
State Transition Diagram Notation



                   state

                       event causing transition
                         action that occurs

                 new state
Example
Consider an XYZ project which has a type of
  sensor to measure air temperature.
The sensor continuously sends out one of the
  three signals HIGH, NORMAL, LOW.
If the temperature signal is high then AC is
  turned ON.
If it is low then heater is turned ON.
The air conditioner/ heater is turned OFF when
  the temperature is NORMAL.
Example STD for a temperature                    NORMAL
sensor
                                                       є
   HIGH                         HOFF

   AON                          AOFF
                                                           LOW
                   NORMAL              NORMAL
                                                           HON
                   AOFF                HOFF

          HOFF                                  HON

          AON                                   AOFF




                 HIGH                                  LOW
                  є                                        є
Mechanics of structured analysis :
 Create an ER diagram.
 Create a DFD diagram.
 Create a control flow model

•   Large class of applications are driven by events.
•   Such applications require the use of control flow
    modeling in addition to data flow modeling.
4. Create a control specification.
Represents the behavior of the system.
a. Contains a STD.
b. Contains a process activation table (PAT) which contains
  which processes will be invoked when an event occurs.
Eg: Input events
     Temp High               1       0      0
     Temp Normal             0       1      0
     Temp Low                0       0      1
    Process Activation
       ACOn Hoff             1       0      0
       Hoff Aoff             0       1      0
       ACOff Hon             0       0      1
5. Create a Process Specification(PSPEC)
•   Used to describe all flow model processes that
    appear at the final level of refinement.
•   Contents of PSPEC can be a narrative text,
    algorithm, table etc.
Process Specification (PSPEC) can be used to
specify the processing details implied by a
process within a DFD Check &
                        convert
                        pressure


                       PSPEC
            If absolute tank pressure > max pressure
            then
               set above pressure to “true”;
            else
               set above pressure to “false”;
               begin conversion algorithm x-01a;
                 compute converted pressure;
               end
            end if
• A repository of data in a system
• It enables to find answers to the following
  questions.
DD contains 2 types of descriptions for the
  data flowing through the system-
o Data elements
o Data structures
1.   Data Element
The most fundamental unit of data.
Eg. Invoice no, Amount due etc.
Describing data elements
Data element
Description
Type
Length
Aliases
Range of values
Typical value
Other details
Eg. Data element : Employee no.
    Description : Identifies each employee in             the
  organization
    Type : Alphanumaric
     Length : 7
     Aliases : Empid
    Range of values : NA
    Typical value : AC41000
    Other details : Employee no. includes a 5 digit no.
                   and department prefix.
                    Valid prefixes
                    AC Accounting
                    AD Advertising
                    RD Research and development
2. Data Structures
Set of data items that are related to each other.
 Eg. Pay Cheque-- Date
                       Amount
                       Pay to
                       Account no.
4 types of relationship exists between
   components of a data structure.
2. Sequence relationship.
   Defines the set of data items that make up a
   data structure.
eg. Student university record consists of
Name
          First Name
          Middle Name
          Last name
Street Address
City
State
Telephone no.
Use the symbol -- +
2. Selection relationship
Represents either/or relationship.
i.e a choice of one item must be made from a set of 2/more
   items.
Eg. Student data structure
               eg. Student data structure
 Name
Street Address
City
State
Telephone no.
and one of the following
Student No.
Social Security no.
Write options in [ ] , each option separated by I (vertical line)
3. Iteration relationship (Repetition)
Data elements composing the data structure are repeated zero/
  one/more times.
Eg. Term registration data structure
Term
Year
Advisor
1 to 6 iteration of course
Course no.
Course name
Time
Day
Instructor
Notation : All iteration data elements are shown in { }n
                                       n-no. of iterations.
4. Optional relationship
Elements which may or may not be included.
          First Name
          Middle Name
          Last name
Where middle name could be optional
Notation - ( )
Eg :
Student data = Name + street address +city
  +state +postal code + [Student No. I SS no]
  +{Course no + Course name + time + day +
  Instructor} + Term + year + advisor

Name =First Name + (Middle Name) + Last
      name

More Related Content

PPTX
Use case diagram
PPT
Analysis concepts and principles
PPTX
Agents in Artificial intelligence
PDF
Identifying classes and objects ooad
PPTX
Waterfall Model PPT in Software Engineering
PDF
Software engineering a practitioners approach 8th edition pressman solutions ...
PPT
Flow oriented modeling
PPTX
Data Designs (Software Engg.)
Use case diagram
Analysis concepts and principles
Agents in Artificial intelligence
Identifying classes and objects ooad
Waterfall Model PPT in Software Engineering
Software engineering a practitioners approach 8th edition pressman solutions ...
Flow oriented modeling
Data Designs (Software Engg.)

What's hot (20)

PPTX
Software Engineering Layered Technology Software Process Framework
PDF
Domain Modeling
PPTX
Unified process model
PPTX
Encapsulation of operations, methods & persistence
PPT
Analysis modeling
PPTX
Software requirements specification
PPTX
Software Engineering Practice
PPT
Problems, Problem spaces and Search
PPTX
Design Model & User Interface Design in Software Engineering
PDF
Agent architectures
PPTX
Software Project Management - Staffing
PPTX
Software Engineering unit 3
PDF
SE_Lec 12_ Project Planning
PPTX
Raster animation
PPTX
Function Point Analysis
PPT
Hierarchical Object Oriented Design
PPT
Software estimation
PPT
Software Engineering (Project Scheduling)
PPTX
Chapter 1 2 - some size factors
PPTX
Software project planning
Software Engineering Layered Technology Software Process Framework
Domain Modeling
Unified process model
Encapsulation of operations, methods & persistence
Analysis modeling
Software requirements specification
Software Engineering Practice
Problems, Problem spaces and Search
Design Model & User Interface Design in Software Engineering
Agent architectures
Software Project Management - Staffing
Software Engineering unit 3
SE_Lec 12_ Project Planning
Raster animation
Function Point Analysis
Hierarchical Object Oriented Design
Software estimation
Software Engineering (Project Scheduling)
Chapter 1 2 - some size factors
Software project planning
Ad

Viewers also liked (20)

PPT
Analysis modeling
PPT
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
DOCX
Data flow oriented modeling
PPT
Requirement Engineering
PPT
Object oriented analysis
PPT
Requirements engineering process in software engineering
PPTX
Modeling and analysis
PPT
Architectural Design in Software Engineering SE10
PPT
Requirements analysis
PPT
Object Oriented Analysis and Design
PPT
Design concepts and principles
PPT
Bi curs an5 panleucopenia felina
PPTX
Functional modeling
PPTX
PPT
14 analysis techniques
PPTX
Component level design
PPTX
Architecture vs Design
PPT
Cmm
PPS
Formal Methods
PPTX
Requirement Engineering Lec.1 & 2 & 3
Analysis modeling
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
Data flow oriented modeling
Requirement Engineering
Object oriented analysis
Requirements engineering process in software engineering
Modeling and analysis
Architectural Design in Software Engineering SE10
Requirements analysis
Object Oriented Analysis and Design
Design concepts and principles
Bi curs an5 panleucopenia felina
Functional modeling
14 analysis techniques
Component level design
Architecture vs Design
Cmm
Formal Methods
Requirement Engineering Lec.1 & 2 & 3
Ad

Similar to Analysis modelling (20)

PPTX
Software engineering rogers pressman chapter 7
PPTX
Structured system analysis and design
PPTX
Dfd final
PPTX
Behavioral Model with Maniha Butt and many More
PDF
Module_1_Introduction-to-Problem-Solving.pdf
PPTX
Design and formatting of the software engi
PPT
Unit 2
PPT
Unit 2
PPT
Unit 2
PPT
Unit 2
PDF
Free ebooks download ! Edhole
PDF
Free ebooks download ! Edhole
PPT
Unit 2 Principles of Programming Languages
PPTX
Data Flow Diagrams
PPTX
Unit-2-SE-Part-2.pptx
PPT
Software engg. pressman_ch-8
PDF
LSMW.pdf LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
PPT
PPT
Software engineering rogers pressman chapter 7
Structured system analysis and design
Dfd final
Behavioral Model with Maniha Butt and many More
Module_1_Introduction-to-Problem-Solving.pdf
Design and formatting of the software engi
Unit 2
Unit 2
Unit 2
Unit 2
Free ebooks download ! Edhole
Free ebooks download ! Edhole
Unit 2 Principles of Programming Languages
Data Flow Diagrams
Unit-2-SE-Part-2.pptx
Software engg. pressman_ch-8
LSMW.pdf LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

More from saurabhshertukde (17)

PPT
Revision sql te it new syllabus
PPT
Oodbms ch 20
PPT
Introduction er & eer
PPT
Introduction er & eer
PPT
Integrity & security
PPT
PPT
Er & eer to relational mapping
PPT
Eer case study
PPT
Chapter 2
PPT
Chapter 1
PPT
Chapter 9
PPT
J2 ee archi
PPT
J2 ee architecture
PPT
Software project-scheduling
PPT
Softwareproject planning
PPT
Pressman ch-3-prescriptive-process-models
PPT
Risk analysis
Revision sql te it new syllabus
Oodbms ch 20
Introduction er & eer
Introduction er & eer
Integrity & security
Er & eer to relational mapping
Eer case study
Chapter 2
Chapter 1
Chapter 9
J2 ee archi
J2 ee architecture
Software project-scheduling
Softwareproject planning
Pressman ch-3-prescriptive-process-models
Risk analysis

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Machine learning based COVID-19 study performance prediction
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Big Data Technologies - Introduction.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Modernizing your data center with Dell and AMD
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Encapsulation theory and applications.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Machine learning based COVID-19 study performance prediction
Encapsulation_ Review paper, used for researhc scholars
Big Data Technologies - Introduction.pptx
NewMind AI Weekly Chronicles - August'25 Week I
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Dropbox Q2 2025 Financial Results & Investor Presentation
Diabetes mellitus diagnosis method based random forest with bat algorithm
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Modernizing your data center with Dell and AMD
Reach Out and Touch Someone: Haptics and Empathic Computing
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
cuic standard and advanced reporting.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Unlocking AI with Model Context Protocol (MCP)
20250228 LYD VKU AI Blended-Learning.pptx
Network Security Unit 5.pdf for BCA BBA.
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...

Analysis modelling

  • 2.  Objectives of analysis model ◦ To describe what the customer require ◦ To establish a basis for the creation of a software design ◦ To define a set of requirements that can be validated once the software is built. Uses a combination of text and diagrams to show requirement
  • 3. What is a model? ◦ a model is a simplification of reality  Why do we model? ◦ we build models so that we can better understand the system we are developing ◦ we build models of complex systems because we cannot comprehend such a system in its entirety
  • 5. Shows 3 aspects of a software : 2. Data Modeling 3. Functional Modeling 4. Behavioral Modeling
  • 6. Data Dictionary – A repository that contains description of all data objects consumed or produced by the software. 3 diagrams surround the core – 1. ERD (Entity relationship diagram) – Depicts relationship between objects. 2. DFD (Data Flow diagram)- Shows how data is transformed as they move through the system. 3. STD (State transition diagram) – Shows how a system behaves as a consequence of external events.
  • 7. Data Modeling : 2. What are the primary data objects? 3. What attributes describe the object? 4. What are the relationships between each objects? To answer these, data modeling methods make use of ERD-- Defines all data that are entered, stored , transformed and produced within an application.
  • 8. Functional Modeling(DFD) external entity process data flow data store
  • 9. Notations used  A producer or consumer of data  Example: person, device, system, sensor  Data must always originate from somewhere, and must always be sent to something
  • 10. Notations used :  A data transformer (changes input to output)  Example: compute taxes, determine area, format report, display graph  Data must always be processed in some way to achieve system function
  • 11. Notations used  Data flows through a system, beginning as input and be transformed into output base compute area triangle height area
  • 12. Data Store  Data is often stored for later use sensor # sensor #, type, look-up location, age sensor report required data type, location, age sensor number sensor data
  • 13. Rules for drawing a DFD :  All icons must be labeled with meaningful names  The DFD evolves through a number of levels of detail  Always begin with a context level diagram which depicts the system as a single bubble (also called level 0)  Always show external entities at level 0  Always label data flow arrows  Do not represent procedural logic  DFD should be balanced.  A data store cannot be connected either to another data store or to an external entity.
  • 14. Balancing of DFD a p b x P y level 0 a c p2 p1 f p4 b d 5 p3 e g level 1
  • 15. Extensions for real time systems. • To accommodate analysis of real time software, we use extensions to basic DFD notations called Ward and Mellor Extensions.
  • 16. Notations used A data item that is input or output from a process on a time continous basis A process that accepts control input or output. A control flow/event A data store that stores control information.
  • 19. 3. Behavioral modeling (State transition diagram) STDs represent---- • Behavior of system by depicting it’s state. • Events that cause system to change state. • What actions are to be taken as a consequence of a particular event?
  • 20. State—a set of observable circumstances that characterizes the behavior of a system at a given time  State transition—the movement from one state to another  Event—an occurrence that causes the system to exhibit some predictable form of behavior  Action—process that occurs as a consequence of making a transition
  • 21. State Transition Diagram Notation state event causing transition action that occurs new state
  • 22. Example Consider an XYZ project which has a type of sensor to measure air temperature. The sensor continuously sends out one of the three signals HIGH, NORMAL, LOW. If the temperature signal is high then AC is turned ON. If it is low then heater is turned ON. The air conditioner/ heater is turned OFF when the temperature is NORMAL.
  • 23. Example STD for a temperature NORMAL sensor є HIGH HOFF AON AOFF LOW NORMAL NORMAL HON AOFF HOFF HOFF HON AON AOFF HIGH LOW є є
  • 24. Mechanics of structured analysis :  Create an ER diagram.  Create a DFD diagram.  Create a control flow model • Large class of applications are driven by events. • Such applications require the use of control flow modeling in addition to data flow modeling.
  • 25. 4. Create a control specification. Represents the behavior of the system. a. Contains a STD. b. Contains a process activation table (PAT) which contains which processes will be invoked when an event occurs. Eg: Input events Temp High 1 0 0 Temp Normal 0 1 0 Temp Low 0 0 1 Process Activation ACOn Hoff 1 0 0 Hoff Aoff 0 1 0 ACOff Hon 0 0 1
  • 26. 5. Create a Process Specification(PSPEC) • Used to describe all flow model processes that appear at the final level of refinement. • Contents of PSPEC can be a narrative text, algorithm, table etc.
  • 27. Process Specification (PSPEC) can be used to specify the processing details implied by a process within a DFD Check & convert pressure PSPEC If absolute tank pressure > max pressure then set above pressure to “true”; else set above pressure to “false”; begin conversion algorithm x-01a; compute converted pressure; end end if
  • 28. • A repository of data in a system • It enables to find answers to the following questions. DD contains 2 types of descriptions for the data flowing through the system- o Data elements o Data structures
  • 29. 1. Data Element The most fundamental unit of data. Eg. Invoice no, Amount due etc. Describing data elements Data element Description Type Length Aliases Range of values Typical value Other details
  • 30. Eg. Data element : Employee no. Description : Identifies each employee in the organization Type : Alphanumaric Length : 7 Aliases : Empid Range of values : NA Typical value : AC41000 Other details : Employee no. includes a 5 digit no. and department prefix. Valid prefixes AC Accounting AD Advertising RD Research and development
  • 31. 2. Data Structures Set of data items that are related to each other. Eg. Pay Cheque-- Date Amount Pay to Account no.
  • 32. 4 types of relationship exists between components of a data structure. 2. Sequence relationship. Defines the set of data items that make up a data structure.
  • 33. eg. Student university record consists of Name First Name Middle Name Last name Street Address City State Telephone no. Use the symbol -- +
  • 34. 2. Selection relationship Represents either/or relationship. i.e a choice of one item must be made from a set of 2/more items. Eg. Student data structure eg. Student data structure Name Street Address City State Telephone no. and one of the following Student No. Social Security no. Write options in [ ] , each option separated by I (vertical line)
  • 35. 3. Iteration relationship (Repetition) Data elements composing the data structure are repeated zero/ one/more times. Eg. Term registration data structure Term Year Advisor 1 to 6 iteration of course Course no. Course name Time Day Instructor Notation : All iteration data elements are shown in { }n n-no. of iterations.
  • 36. 4. Optional relationship Elements which may or may not be included. First Name Middle Name Last name Where middle name could be optional Notation - ( )
  • 37. Eg : Student data = Name + street address +city +state +postal code + [Student No. I SS no] +{Course no + Course name + time + day + Instructor} + Term + year + advisor Name =First Name + (Middle Name) + Last name

Editor's Notes

  • #5: Analysis modeling: structured analysis & object-oriented analysis Primary objectives: To describe what the customer requires To establish a basis for the creation of a software design To define a set of requirements that can be validated once the software is built.