SE Unit 04 Function Oriented Analysis Design HRR
SE Unit 04 Function Oriented Analysis Design HRR
Page | 1
UNIT 4: FUNCTION ORIENTED ANALYSIS AND DESIGN
• Scenario-based elements
➢ Describe the system from the user's point of view using scenarios that are depicted (stated) in use cases
and activity diagrams
• Class-based elements
➢ Identify the domain classes for the objects manipulated by the actors, the attributes of these classes, and
how they interact with one another; which utilize class diagrams to do this.
• Behavioral elements
➢ Use state diagrams to represent the state of the system, the events that cause the system to change state,
and the actions that are taken as a result of a particular event. This can also be applied to each class in
the system.
• Flow-oriented elements
➢ Use data flow diagrams to show the input data that comes into a system, what functions are applied to
that data to do transformations, and what resulting output data are produced.
• Components of DFD :
1. External Entities They could be a person (facebook users), another software (like facebook) or a
hardware (sensors) which provide to or consume information from the intended software.
Page | 2
UNIT 4: FUNCTION ORIENTED ANALYSIS AND DESIGN
➢ Rules for External entities are as follows:
✓ Represented by rectangle
✓ Must be named
✓ No direct flow between two External Entities is ever possible
2. Process A circle (sometimes called a bubble) represents a process or transforms that is applied to data
and changes it in some way. The basic rules:
Ticket
Booking
3. Data Flows
✓ Data flows can’t be bidirectional, i.e. the input data flow and the output data flow for a process, data
store or for an entity should always be different.
✓ The data flows should always be labeled.
✓ The labels should be precise and informative.
✓ You can join two similar input data flows (join) or two similar output data flows (fork).
4. Data stores
➢ They are places where data may be stored. This information may be stored either temporarily or
permanently by the user. They are internal to the system.
Page | 3
UNIT 4: FUNCTION ORIENTED ANALYSIS AND DESIGN
➢ Basic rules that apply to all DFDs:
✓ No internal logic should be shown like loops, if-else, this is not a flow chart
✓ In order to keep the diagram uncluttered, you can repeat data stores and external entities
✓ Data cannot be moved directly from one store to another without a process.
✓ Data cannot move directly from an external entity to a data store without a process.
✓ Data stores can’t be sink( only input data flows) or source ( only output data flows) in level 1 DFD
➢ Rule:
• Level 1 DFD:
➢ The level 1 DFD we construct is a more refined version of the context diagram. It covers the entire
system, all the main processes are shown
➢ Rules:
Page | 4
UNIT 4: FUNCTION ORIENTED ANALYSIS AND DESIGN
✓ Process can not be repeated.
• Level 2 DFD:
➢ Only those processes that merit being expanded need to have level 2 DFDs. Level 2 DFD completely
describes any one process from the level 1 DFD.
➢ Rules:
✓ All the data flows into and out of selected process on the level 1 DFD also appear on the level 2
DFD.
✓ Repetition of data sources is allowed.
✓ A Data store can appear as a sink or source within level 2 DFD.
Page | 5