Software Engineering: Adigrat University College of Engineering Department of Electrical and Computer Engineering
Software Engineering: Adigrat University College of Engineering Department of Electrical and Computer Engineering
College of engineering
Department of electrical and computer engineering
Software engineering
Prepared by Abel B.
Decomposition:-
Each bubble in the DFD represents a function performed by the system. The bubbles are
decomposed into sub-functions at the successive levels of the DFD.
Decomposition of a bubble is also known as factoring or exploding a bubble. Each bubble
at any level of DFD is usually decomposed to anything between 3 to 7 bubbles. Too few
bubbles at any level make that level superfluous. For example, if a bubble is decomposed
to just one bubble or two bubbles, then this decomposition becomes redundant.
Also, too many bubbles, i.e. more than 7 bubbles at any level of a DFD makes the DFD
model hard to understand.
Decomposition of a bubble should be carried on until a level is reached at which the
Adigratfunction
Univesity of the bubble can be described using a simple algorithm. 3/10/2018 14
Numbering of Bubbles
It is necessary to number the different bubbles occurring in the DFD. These numbers help
in uniquely identifying any bubble in the DFD by its bubble number.
The bubble at the context level is usually assigned the number 0 to indicate that it is the
0 level DFD.
Bubbles at level 1 are numbered, 0.1, 0.2, 0.3, etc. When a bubble numbered x is
decomposed, its children bubble are numbered x.1, x.2, x.3, etc.
In this numbering scheme, by looking at the number of a bubble we can unambiguously
determine its level, its ancestors, and its successors.
Example:-
A supermarket needs to develop the following software to encourage regular customers. For
this, the customer needs to supply his/her residence address, telephone number, and the
driving license number. Each customer who registers for this scheme is assigned a unique
customer number (CN) by the computer. A customer can present his CN to the check out staff
when he makes any purchase. In this case, the value of his purchase is credited against his
CN. At the end of each year, the supermarket intends to award surprise gifts to 10 customers
who make the highest total purchase over the year. Also, it intends to award a 22 caret gold
coin to every customer whose purchase exceeded Rs.10,000. The entries against the CN are
the reset on the day of every year after the prize winners’ lists are generated.
Requirements
specification
Design acti
vities
Architectur
al Abstract Interface Component Data Algorithm
design specificatio design design structur
e design
n design
Software Data
System Interface Component Algorithm
specification structure
architectur
e specifica
tion specification specifica
tion
specification
Design pr
oducts