Docsity

Importance & Principles of Software Modeling in Development, Slides of Software Project Management

Partial preview of the text

Download Importance & Principles of Software Modeling in Development and more Slides Software Project Management in PDF only on Docsity!

1

Software Modeling

Lecture # 29

2

Need for Modeling - 1

  • Modeling is a central part of all

activities that lead up to thedevelopment good software

  • We build models to communicate the

desired structure and behavior of oursystem

4

Need for Modeling - 3

  • We build models so that we can better

understand the system we aredeveloping

  • We build models of complex systems

because we cannot comprehend such asystem in its entirety

5

A model is a simplification of

reality

7

Do We Model Everything?

  • Modeling is not just for big systems• Small pieces of software can also

benefit from modeling

  • Larger and more complex systems

benefit more from modeling

8

Principles of Modeling - 1

  • The choice of what models to create

has profound influence on how aproblem is attacked and how a solutionis shaped

  • Every model may be expressed at

different levels of precision

10

Problem Analysis

  • Activity that encompasses learning about

the problem to be solved, understanding theneeds of potential users, trying to find outwho the user really is, and understanding allconstraints on the solution

  • Defining the product space – the range of

all possible software solutions that meets allknown constraints

11

Points to Note

  • Understanding the needs of potential users• Trying to find out who the user really is• Understanding all constraints on the

solution

  • All three are very difficult

13

Subjects to Study for Modeling

Manual System

  • People and/or machines currently playing

some role

  • Items produced, processed, or consumed by

these people and machines

  • Functions performed by these people and

machines

  • Basic modes of operation that determine

what functions are performed and when

14

Subjects to Study for Modeling

to Improve a System - 1

  • People/machines who have a need for some

service to be performed or some item to beproduced

  • Items that need to be produced to satisfy the

need

  • Items that are necessary in order to produce

the required new service or item

16

Steps in Problem Analysis

  • Gain agreement on the problem definition• Understand the root causes – the problem

behind the problem

  • Identify the stakeholders and the users• Define the solution system boundary• Identify the constraints to be imposed on the

solution

17

Principles of Modeling

  • Partitioning• Abstraction• Projection

19

Abstraction

  • Captures generalization/specialization

relations among elements in theproblem domain

20

Projection

  • Captures different views of elements in

the problem domain