Professional Documents
Culture Documents
Bus
Mechanical Fixed
problem mechanical
to be repaired problems
0 Repair Supervisor
Helper Labor
Bus summary
Repair
Process List of
parts used Inventory
Labor Management
Labor, System
parts cost
Mechanic details
Accounting
DFD Conventions
• Do not allow a single page of a DFD to get too complex.
• Each component and subcomponent should be
numbered. e.g. 1 2 3 4 5.
– The subcomponent DFD of component 3 would have components 3.1,
3.2, 3.3, and 3.4;
• and the sub subcomponent DFD of component 3.2 would have
components 3.2.1, 3.2.2, and 3.2.3. This enables a developer to plan
in a top-down manner.
• All processes must have at least one data flow in and one
data flow out.
• All processes should modify the incoming data, producing
new forms of outgoing data.
• Each data store must be involved with at least one data
flow.
• Each external entity must be involved with at least one
data flow.
• A data flow must be attached to at least one process
• Data flows cannot go directly from one external entity to
another external entity.
DFD Helps
• With a DFD,
• developers can map
– how a system will operate,
– what the system will accomplish and
– how the system will be implemented.
• It's important to have a clear idea of
– where and how data is processed in a system to avoid double-
handling and bottlenecks.
• A DFD also helps management
– organize and prioritize data handling procedures and
– staffing requirements.
• A DFD lets a system analyst study
– how existing systems work,
– locate possible areas prone to failure,
– track faulty procedures and
– reorganize components to achieve better efficiency or
effectiveness.
DFD disadvantage
• The DFD for large programs can be hard
to translate and take a lot of time.
• Needs large number of iterations to arrive
at the most accurate and complete
solution.
DATA STORES
• Data Stores are some location where data is
held temporarily or permanently.
In physical DFDs there can be 4 types.
D = computerised Data
M = Manual, e.g. filing cabinet.
T = Transient data file, e.g. temporary program
file
T(M) = Transient Manual, e.g. in-tray, mail box.
As with external entities, it is common practice to
have duplicates of data stores to make a
diagram less cluttered.
DATA STORES
DATA DICTIONARY
• It defines the data used in a system.
• It is a complete and authoritative definition
of all the data in the system.
• A data dictionary may cover a whole
organization, a part of the organization or
a database.
• More advanced data dictionary contains
database schema with reference keys, still
more advanced data dictionary contains
entity-relationship model of the data
elements or objects.
DATA DICTIONARY
• A data dictionary may contain:
– Data element number: Data element number is used
in the technical documents.
– Data element name (caption): Unique data element
name. This is the real life name of this data element.
– Short description: Description of the element in the
application domain.
– Security classification of the data element:
Organization-specific security classification level or
possible restrictions on use.
– Related data elements: List of closely related data
element names when the relation is important.
DATA DICTIONARY
• Cont.
– Field name(s): Field names are the names used for this
element in computer programs and database schemas.
These are the technical names, often limited by the
programming languages and systems.
– Code format: Data type (characters, numeric, etc.), size
and, if needed, special representation. Common
programming language notation, input masks, etc. can
be used.
– Null value allowed: Null or non-existing data value may
or may not be allowed for an element.
– Default value: Data element may have a default value.
Default value may be a variable, like current date and
time of the day
– Element coding (allowed values) and validation details
or reference to other documents: Explanation of coding
(code tables, etc.) and validation rules when validating
this element alone in the application domain.
Data dictionary
FLOW CHART
• A diagram that uses graphic symbols to depict
the nature and flow of the steps in a process.
• It provides an excellent form of documentation
for a process, and quite often are useful when
examining how various steps in a process work
together.
• Different types
– Top-down flow chart
– Detailed flow chart
– Work flow diagrams
– Deployment chart
Common Flow Chart Symbols
Input/output.
Display
Document
Internal storage
Common Flow Chart Symbols
Manual input
Manual operation
Merge
Or
• Temporal cohesion
– A temporally cohesive module is one whose
elements are involved in activities that are related
in time. E.g,
• PUT OUT MILK BOTTLES
• PUT OUT CAT
• TURN OFF TV
• BRUSH TEETH
Contd.,
• Logically cohesion:
– A logically cohesive module is one whose
elements contribute to activities of the same
general category in which the activity or
activities to be executed are selected from
outside the module. E.g,
• GO BY CAR
• GO BY TRAIN
• GO BY BOAT
• GO BY PLANE
• Coincidental cohesion:
– A coincidentally cohesive module is one whose
elements contribute to activities with no
meaningful relationship to one another
DRAW – Structured Chart
• Aim: to derive design units which are highly
cohesive and loosely coupled.
• Review the DFD’s and object models
• Identify modules and relationships
• Add couples, loops, and conditions
• Input: component accepts input and passes it to a
higher level component, perhaps in a modified form.
• Output: component accepts data from a higher-level
component, transforms it and passes it to a lower-level
component as output.
• Transform: component accepts data from a higher-level
component, transforms it and passes it back the first
component.
• Coordinate: component is responsible for coordinating
the actions of other components.
OUTPUT DESIGN
There are three main reasons why outputs
from the computer are required. They are: