Professional Documents
Culture Documents
Chapter 3
Chapter 3
Chapter 3
CHAPTER 3 BCA TY
Page 2
During Structured Analysis, various tools and techniques are used for system
development. They are:
1. Data Flow Diagrams
2. Data Dictionary
3. Decision Trees
4. Decision Tables
5. Structured English
6. Pseudocode
CHAPTER 3 BCA TY
Page 3
CHAPTER 3 BCA TY
Page 4
Example of DFD :
CHAPTER 3 BCA TY
Page 5
0-level DFD :
It is also known as a context diagram.
It is designed to show the system as a single process with its relationship
to external entities.
It represents the entire system as a single bubble with input and output
data indicated by incoming/outgoing arrows.
1-Level DFD :
The Level 0 DFD is broken down into more specific, known as Level 1
DFD.
It shows the basic modules in the system and flow of data among various
modules.
Level 1 DFD also mentions basic processes and sources of information.
2-level DFD :
2-Level DFD goes one step deeper into parts of 1-level DFD.
CHAPTER 3 BCA TY
Page 7
Data Dictionary :
A data dictionary is a collection of the names, definitions, and attributes
for data elements and models.
The data in a data dictionary is the metadata about the database.{
metadata i.e data about the database}
The data dictionary is very important as it contains information such as
what is in the database,
- who is allowed to access it,
- where is the database physically stored etc.
The users of the database normally don't interact with the data dictionary, it is
only handled by the database administrators.
Data Dictionary contains following :
1. Names of all the database tables and their schemas.
2. Names of all indexes and the columns to which the tables in those
indexes relate.
3. Details about all the tables in the database, such as their owners, their
security constraints, when they were created etc.
4. Physical information about the tables such as where they are stored and
how.
CHAPTER 3 BCA TY
Page 8
Outputs
I. Represent the final result. Outputs can be finished goods, products, data
or new information.
CHAPTER 3 BCA TY
Page 10
Calculate average
- An IPO chart or input process output chart describes the system in terms
of its input data, its output data and the processes that are performed
on the inputs to transform them into outputs.
CHAPTER 3 BCA TY
Page 11
- IPO chart are used to document the inputs into a process, the general
nature of the processes performed on this input, and outputs produced
for each task.
- The IPO chart is in the form of a table with three columns, one for each
Input, Process and Output.
HIPO Charts :
- HIPO stands for Hierarchical Input Process Output.
- HIPO diagram represents the hierarchy of modules in the software
system.
- Analyst uses HIPO diagram in order to obtain high-level view of system
functions.
- It decomposes functions into sub-functions in a hierarchical manner. It
depicts the functions performed by system.
- HIPO diagrams are good for documentation purpose. Their graphical
representation makes it easier for designers and managers to get the
pictorial idea of the system structure.
Advantages of HIPO :
- Offer more detail than other types of documentation.
CHAPTER 3 BCA TY
Page 12
Gantt Chart :
- A Gantt chart is a visual illustration of a project’s progress across a
specified timeline. It helps you keep track of the project’s tasks as well
as their dependencies.
- It is one of the most popular and useful ways of showing activities
(tasks or events) displayed against time.
- On the left of the chart is a list of the activities and along the top is a
suitable time scale.
- Each activity is represented by a bar.
- the position and length of the bar reflects the start date, duration and
end date of the activity.
Gantt chart Allows to see :
1. What the various activities are.
2. When each activity begins and ends.
3. How long each activity is scheduled to last.
4. Where activities overlap with other activities, and by how much.
5. The start and end date of the whole project.
Gantt charts used for :
- Monitor project progress
- Adjust project schedule
- Optimize the complete process structure
- Estimate delays
- Keep all project participants on track
- Monitoring progress to ensure completion on schedule.
CHAPTER 3 BCA TY
Page 13
1 Requirement
Gathering
2 Planning
3 Designing
4 Coding
5 Testing and
Deployment
CHAPTER 3 BCA TY
Page 14
CHAPTER 3 BCA TY
Page 15
CHAPTER 3 BCA TY
Page 16
Flowchart:
- It is a pictorial representation of Algorithm for planning the procedure
to solve a program/problem.
- A flowchart is a picture of the separate steps of a process in sequential
order.
- It is a generic tool that can be adapted for a wide variety of purposes,
- It can be used to describe various processes, such as a manufacturing
process, an administrative or service process, or a project plan.
These are some points to keep in mind while developing a flowchart −
1. Flowchart can have only one start and one stop symbol
2. On-page connectors are referenced using numbers
3. Off-page connectors are referenced using alphabets
4. General flow of processes is top to bottom or left to right
5. Arrows should not cross each other
CHAPTER 3 BCA TY
Page 17
CHAPTER 3 BCA TY
Page 18
Example 2
CHAPTER 3 BCA TY
Page 19
Decision Table :
- A decision table is a brief visual representation for specifying which
actions to perform depending on given conditions.
- The information represented in decision tables can also be represented
as decision trees or in a programming language using if-then-else and
switch-case statements.
Decision tables are a method of describing the complex logical relationship in a
precise manner which is easily understandable.
- It is useful in situations where the resulting actions depend on the
occurrence of one or several combinations of independent conditions.
- It is a matrix containing row or columns for defining a problem and
the actions.
Decision Table components :
1. Action entry :
It indicates the actions to be taken.
2. Condition entry :
It indicates conditions which are being met or answers the questions in
the condition stub.
3. Action stub :
CHAPTER 3 BCA TY
Page 20
Purchase amount = Rs - Y
10,000/-
Regular Customer - Y
ACTIONS
Give 5% discount X X
Give no discount - -
- The entries in decision table are given by Decision Rules which define
the relationships between combinations of conditions and courses of
action. In rules section,
- Y shows the existence of a condition.
- N represents the condition, which is not satisfied.
- A blank - against action states it is to be ignored.
- X (or a check mark will do) against action states it is to be carried out.
Advantage of Decision Table:
1. Any complex business flow can be easily converted into test scenarios
& test cases using this technique.
2. Simple to understand and everyone can use this method to design the
test scenarios & test cases.
3. It provides complete coverage of test cases which helps to reduce the
rework on writing test scenarios & test cases.
4. These tables guarantee that we consider every possible combination of
condition values. This is known as its completeness property.
CHAPTER 3 BCA TY
Page 21
CHAPTER 3 BCA TY
Page 22
Example
Advantages:
- Simple to understand and to interpret. Trees can be visualize
- Requires little data preparation.
- Able to handle both numerical and categorical data.
- Able to handle multi-output problems.
Disadvantages:
- Decision trees can be unstable because small variations in the data
might result in a completely different tree being generated.
- Decision tree learners create biased trees if some classes dominate.
Assignment :3
Q1: what is data flow diagram?
Q2. what is meant by structured analysis?
CHAPTER 3 BCA TY
Page 23
CHAPTER 3 BCA TY