SlideShare a Scribd company logo
1 of 24
Tools of Structured Analysis
Chapter 6
Structured Analysis
• It is a set of techniques and graphical tools
that allow the analyst to develop a new kind
of system that is understandable to the user
Why do we use these tools?
• Use graphics whenever possible to help
communicate better with the user.
• Differentiate between logical and physical
system
• Build a logical system model to familiarize the
user with system characteristics and
interrelationships before implementation
Data Flow Diagram
• It was first developed by Larry Constantine as
a way of expressing system requirements in a
graphical form.
• It is also known as Bubble Chart
DFD Symbols
• Square defines a source or destination of
data.
• Arrow identifies data flow, means the data in
motion. It is a pipeline through which
information flows.
Continued…
• Circle or a bubble represents a process that
transforms incoming data flow into outgoing
data
• Open rectangle is a data store, or data at rest,
or a temporary repository of data
Constructing a DFD
• Processes should be named and numbered for easy reference
• The direction of flow is from top to bottom and from left to
right
• Data flow from the source to destination, although they may
flow back to a source
• When a process is exploded into lower level details, they are
numbered
• The names of data stores, sources, and destinations are
written in capital letters. Process and data flow names have
the first letter of each word capitalized
Data Dictionary
• A structured place to keep details of the
contents of data flows, processes, and data
store.
• It is a structured repository of data about
data.
• It is a set of definitions of all DFD elements
Advantages of Data Dictionary
• Documentation- it is a valuable reference in
any organization.
• It improves analyst/user communication by
establishing consistent definitions of various
elements, terms and procedures
• It is important step in building a database
Items to be defined in Data Dictionary
• Data Elements- smallest unit of data that provides for no
further decomposition.
For example: date consists of day, month and year
• Data Structure- a group of data elements handled as a
unit.
For example: phone is a data structure consisting of four data
elements: area-code-exchange-number-extension.
• Data Flows and Data Stores- data flows are data
structures in motion, whereas data stores are data structures
at rest. A data store is a location where data structures are
temporarily located.
Data Dictionary
Smallest Unit
of Data
Group of Data
Elements
Data
Elements
Data
Structures
Groups of
Data
Structures Data Flow Data Store
• For e.g.
Data Elements
Author Name:
First
Middle
Last
Alias
The Description of Data Element should include:
1. Name
2. Description &
3. An Alias (Synonym)
Data Elements
• Whether or not Data Element has the following:
– A Different Name:
• For e.g. A Purchase Order may exist as Pur. Order, Purchase
Ord., or P.O. We will record all these in Data Dictionary
under Definition of Purchase Order.
– Usage Characteristics
• Range of Values or Frequency of use or both.
• 2 types:
– Value within Range: For e.g. Payroll between 1000 and 10000 =
Continuous Value.
– Specific Value: For e.g. Depts. In a Firm coded 100 (Accounting),
110 (HR), 111 ( Operations) etc.
Data Elements
• Control Information
– Such as Source, Date of Origin, Users, or Access
Authorization.
For e.g. Looking for Properties of Word Doc.
• Physical Location
– In terms of Record of File or Database.
For e.g. Where Storage is done C Drive, D Drive,
CD ROM etc.
Data Structures
• It is the Group of Elements .
For e.g.
Data Structures: Book Details
Data Elements: Author Name (M)
Title of the Book (M)
ISBN (Optional)
Publisher Name (M)
Quantity Ordered (M)
Some Element are Mandatory whereas others are
Optional
Data Flows and Data Stores
• Data Flows = Data Structures in Motion
• Data Stores = Data Structures at Rest
For e.g.
Data Flow/Store Comments
Book Details From ABC Book Store
Edition 4th
Quantity 10 Copies
Customer Details
Decision Tree
• Once the data elements are defined in the
data dictionary, we begin to focus on the
processes.
• For example:
Bookstores get a trade discount of 25%; for
orders from libraries and individuals, 5%
allowed on orders of 6-19 copies per book
title; 10% on orders for 20-49 copies per book
title; 15% on orders for 50 copies or more per
book title
Type of Customer Size of Order DISCOUNT
DISCOUNT
POLICY
BOOKSTORE
LIBRARIES OR
INDIVIDUALS
6 OR MORE
LESS THAN 6
50 OR MORE
20 - 49
6 - 19
LESS THAN 6
25 %
NIL
15 %
10 %
5 %
NIL
Structured English
• Structures English is like structured
programming, it uses logical construction and
sentences designed to carry out instructions
• Designs are made through IF, THEN, ELSE, and
SO statements
An Example
IF order is from Bookstore
and-IF order is for 6 copies or more per book title
THEN: Discount is 25%
ELSE (order is for fewer than 6 copies per book title)
SO: no discount is allowed
ELSE (order is from libraries or individuals)
Continued…
ELSE (order is from libraries or individuals)
SO-IF order is for 50 copies or more per book title
Discount is 15%
ELSE IF order is for 20 to 49 copies per book title
Discount is 10%
ELSE IF order is for 6 to 19 copies per book title
Discount is 5%
ELSE (order is for less than 6 copies per book order)
SO: no discount is allowed
Decision Tables
• It is a table of possibilities foe defining a problem and the
actions to be taken
• It is a single representation of the relationships between
conditions and actions
• It consists of two parts: stub and entry
• The stub part is divided into an upper quadrant called the
condition stub and a lower quadrant called the action stub
• The entry part is also divided into an upper quadrant, called
the condition entry and a lower quadrant called the action
entry
Condition Stub Condition Entry
1 2 3 4 5 6
Customer is Bookstore Y Y N N N N
IF Order size 6 copies or more ? Y N N N N N
(Condition) Customer Librarian or Individual Y Y Y Y
Order-size 50 copies or more ? Y N N N
Order-size 20-49 copies ? Y N N
Order-size 6-19 copies ? Y N
Then Allow 25% Discount X
(action) Allow 15% Discount X
Allow 10% Discount X
Allow 5% Discount X
No Discount allowed X X
Action Stub Action Entry
Pros And Cons Of Each Tool
Which tool is the best depends' on a number of factors: the nature and complexity of the problem, the numher of actions resulting from the deci sions, and the
ease of use. In reviewing the henefits and limitations of each tool, we come to the following conclusions:
1. The primaty strengh of the DFD is its ability to represent data flows. It may he used at high 01" low levels of analysis and provides good system documentation.
However, the tool only weakly shows input and output detail. The user often finds it confusing initially.
2 The data dictionary helps the analyst simplifY the structure for meeting the data requirements of the system. It may be used at high or low levels of analysis, but
it does not provide functional details, and it is not acceptable to many nontechnical users.
3. Structured English is best used when the problem requires sequences of actions with decisions.
4. Decision trees are used to verifY logic and in problems that involve a few complex decisions resulting in' a limited number of actions.
5. Decision trees and decision tables are best suited for dealing with complex branching routines such as calculating discounts or sales commissions or inventory
control procedures.
Given the pros and cons of structured tools, the analyst should be trained in the use of various tools for analysis and design. He/she should use decision tables and
structured English to get to the heart of complex problems. A decision table is perhaps the most useful tool for communicating problem details to the user.
The major contribution of structured analysis to the system develop ment life cycle is producing a definable and measurable document-the structured
specification. Other benefits include increased user involvement, improved communication between user and designer, reduction of total personnel time, and
fewer "kinks" during detailed design and implementa tion. The only drawback is increased analyst and user time in the process. Overall the benefits oUtweigh the
drawbacks, which make structured analy sis tools viable alternatives in system development

More Related Content

Similar to Tools of Structured Analysis.docx

Introduction to Big Data Analytics
Introduction to Big Data AnalyticsIntroduction to Big Data Analytics
Introduction to Big Data AnalyticsUtkarsh Sharma
 
Chapter 2 - Introduction to Data Science.pptx
Chapter 2 - Introduction to Data Science.pptxChapter 2 - Introduction to Data Science.pptx
Chapter 2 - Introduction to Data Science.pptxWollo UNiversity
 
Data warehouse - Nivetha Durganathan
Data warehouse - Nivetha DurganathanData warehouse - Nivetha Durganathan
Data warehouse - Nivetha DurganathanNivetha Durganathan
 
Data Refinement: The missing link between data collection and decisions
Data Refinement: The missing link between data collection and decisionsData Refinement: The missing link between data collection and decisions
Data Refinement: The missing link between data collection and decisionsVivastream
 
dw_concepts_2_day_course.ppt
dw_concepts_2_day_course.pptdw_concepts_2_day_course.ppt
dw_concepts_2_day_course.pptDougSchoemaker
 
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...Srinath Reddy
 
Big Data Warehousing Meetup: Dimensional Modeling Still Matters!!!
Big Data Warehousing Meetup: Dimensional Modeling Still Matters!!!Big Data Warehousing Meetup: Dimensional Modeling Still Matters!!!
Big Data Warehousing Meetup: Dimensional Modeling Still Matters!!!Caserta
 
Various Applications of Data Warehouse.ppt
Various Applications of Data Warehouse.pptVarious Applications of Data Warehouse.ppt
Various Applications of Data Warehouse.pptRafiulHasan19
 

Similar to Tools of Structured Analysis.docx (20)

RowanDay4.pptx
RowanDay4.pptxRowanDay4.pptx
RowanDay4.pptx
 
DW (1).ppt
DW (1).pptDW (1).ppt
DW (1).ppt
 
Data warehouse
Data warehouseData warehouse
Data warehouse
 
Ch~2.pdf
Ch~2.pdfCh~2.pdf
Ch~2.pdf
 
Introduction to Big Data Analytics
Introduction to Big Data AnalyticsIntroduction to Big Data Analytics
Introduction to Big Data Analytics
 
Database an introduction
Database an introductionDatabase an introduction
Database an introduction
 
Chapter 2 - Introduction to Data Science.pptx
Chapter 2 - Introduction to Data Science.pptxChapter 2 - Introduction to Data Science.pptx
Chapter 2 - Introduction to Data Science.pptx
 
Determining Information Needs.
Determining Information Needs.Determining Information Needs.
Determining Information Needs.
 
Data Management
Data ManagementData Management
Data Management
 
Critical Success Factor (CSF analysis) - IT pRoject Management
Critical Success Factor (CSF analysis) - IT pRoject ManagementCritical Success Factor (CSF analysis) - IT pRoject Management
Critical Success Factor (CSF analysis) - IT pRoject Management
 
Data warehouse - Nivetha Durganathan
Data warehouse - Nivetha DurganathanData warehouse - Nivetha Durganathan
Data warehouse - Nivetha Durganathan
 
System design
System designSystem design
System design
 
ch2 DS.pptx
ch2 DS.pptxch2 DS.pptx
ch2 DS.pptx
 
Ch_2.pdf
Ch_2.pdfCh_2.pdf
Ch_2.pdf
 
Data modeling
Data modelingData modeling
Data modeling
 
Data Refinement: The missing link between data collection and decisions
Data Refinement: The missing link between data collection and decisionsData Refinement: The missing link between data collection and decisions
Data Refinement: The missing link between data collection and decisions
 
dw_concepts_2_day_course.ppt
dw_concepts_2_day_course.pptdw_concepts_2_day_course.ppt
dw_concepts_2_day_course.ppt
 
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
 
Big Data Warehousing Meetup: Dimensional Modeling Still Matters!!!
Big Data Warehousing Meetup: Dimensional Modeling Still Matters!!!Big Data Warehousing Meetup: Dimensional Modeling Still Matters!!!
Big Data Warehousing Meetup: Dimensional Modeling Still Matters!!!
 
Various Applications of Data Warehouse.ppt
Various Applications of Data Warehouse.pptVarious Applications of Data Warehouse.ppt
Various Applications of Data Warehouse.ppt
 

Recently uploaded

Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 sciencefloriejanemacaya1
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSérgio Sacani
 
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...jana861314
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Sérgio Sacani
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​kaibalyasahoo82800
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
Analytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptxAnalytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptxSwapnil Therkar
 
Grafana in space: Monitoring Japan's SLIM moon lander in real time
Grafana in space: Monitoring Japan's SLIM moon lander  in real timeGrafana in space: Monitoring Japan's SLIM moon lander  in real time
Grafana in space: Monitoring Japan's SLIM moon lander in real timeSatoshi NAKAHIRA
 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfnehabiju2046
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfmuntazimhurra
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡anilsa9823
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptxanandsmhk
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsAArockiyaNisha
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxkessiyaTpeter
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfSwapnil Therkar
 
Types of different blotting techniques.pptx
Types of different blotting techniques.pptxTypes of different blotting techniques.pptx
Types of different blotting techniques.pptxkhadijarafiq2012
 

Recently uploaded (20)

Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 science
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
Analytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptxAnalytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptx
 
Grafana in space: Monitoring Japan's SLIM moon lander in real time
Grafana in space: Monitoring Japan's SLIM moon lander  in real timeGrafana in space: Monitoring Japan's SLIM moon lander  in real time
Grafana in space: Monitoring Japan's SLIM moon lander in real time
 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdf
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdf
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
 
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
 
Types of different blotting techniques.pptx
Types of different blotting techniques.pptxTypes of different blotting techniques.pptx
Types of different blotting techniques.pptx
 

Tools of Structured Analysis.docx

  • 1. Tools of Structured Analysis Chapter 6
  • 2. Structured Analysis • It is a set of techniques and graphical tools that allow the analyst to develop a new kind of system that is understandable to the user
  • 3. Why do we use these tools? • Use graphics whenever possible to help communicate better with the user. • Differentiate between logical and physical system • Build a logical system model to familiarize the user with system characteristics and interrelationships before implementation
  • 4. Data Flow Diagram • It was first developed by Larry Constantine as a way of expressing system requirements in a graphical form. • It is also known as Bubble Chart
  • 5. DFD Symbols • Square defines a source or destination of data. • Arrow identifies data flow, means the data in motion. It is a pipeline through which information flows.
  • 6. Continued… • Circle or a bubble represents a process that transforms incoming data flow into outgoing data • Open rectangle is a data store, or data at rest, or a temporary repository of data
  • 7. Constructing a DFD • Processes should be named and numbered for easy reference • The direction of flow is from top to bottom and from left to right • Data flow from the source to destination, although they may flow back to a source • When a process is exploded into lower level details, they are numbered • The names of data stores, sources, and destinations are written in capital letters. Process and data flow names have the first letter of each word capitalized
  • 8. Data Dictionary • A structured place to keep details of the contents of data flows, processes, and data store. • It is a structured repository of data about data. • It is a set of definitions of all DFD elements
  • 9. Advantages of Data Dictionary • Documentation- it is a valuable reference in any organization. • It improves analyst/user communication by establishing consistent definitions of various elements, terms and procedures • It is important step in building a database
  • 10. Items to be defined in Data Dictionary • Data Elements- smallest unit of data that provides for no further decomposition. For example: date consists of day, month and year • Data Structure- a group of data elements handled as a unit. For example: phone is a data structure consisting of four data elements: area-code-exchange-number-extension. • Data Flows and Data Stores- data flows are data structures in motion, whereas data stores are data structures at rest. A data store is a location where data structures are temporarily located.
  • 11. Data Dictionary Smallest Unit of Data Group of Data Elements Data Elements Data Structures Groups of Data Structures Data Flow Data Store
  • 12. • For e.g. Data Elements Author Name: First Middle Last Alias The Description of Data Element should include: 1. Name 2. Description & 3. An Alias (Synonym)
  • 13. Data Elements • Whether or not Data Element has the following: – A Different Name: • For e.g. A Purchase Order may exist as Pur. Order, Purchase Ord., or P.O. We will record all these in Data Dictionary under Definition of Purchase Order. – Usage Characteristics • Range of Values or Frequency of use or both. • 2 types: – Value within Range: For e.g. Payroll between 1000 and 10000 = Continuous Value. – Specific Value: For e.g. Depts. In a Firm coded 100 (Accounting), 110 (HR), 111 ( Operations) etc.
  • 14. Data Elements • Control Information – Such as Source, Date of Origin, Users, or Access Authorization. For e.g. Looking for Properties of Word Doc. • Physical Location – In terms of Record of File or Database. For e.g. Where Storage is done C Drive, D Drive, CD ROM etc.
  • 15. Data Structures • It is the Group of Elements . For e.g. Data Structures: Book Details Data Elements: Author Name (M) Title of the Book (M) ISBN (Optional) Publisher Name (M) Quantity Ordered (M) Some Element are Mandatory whereas others are Optional
  • 16. Data Flows and Data Stores • Data Flows = Data Structures in Motion • Data Stores = Data Structures at Rest For e.g. Data Flow/Store Comments Book Details From ABC Book Store Edition 4th Quantity 10 Copies Customer Details
  • 17. Decision Tree • Once the data elements are defined in the data dictionary, we begin to focus on the processes. • For example: Bookstores get a trade discount of 25%; for orders from libraries and individuals, 5% allowed on orders of 6-19 copies per book title; 10% on orders for 20-49 copies per book title; 15% on orders for 50 copies or more per book title
  • 18. Type of Customer Size of Order DISCOUNT DISCOUNT POLICY BOOKSTORE LIBRARIES OR INDIVIDUALS 6 OR MORE LESS THAN 6 50 OR MORE 20 - 49 6 - 19 LESS THAN 6 25 % NIL 15 % 10 % 5 % NIL
  • 19. Structured English • Structures English is like structured programming, it uses logical construction and sentences designed to carry out instructions • Designs are made through IF, THEN, ELSE, and SO statements
  • 20. An Example IF order is from Bookstore and-IF order is for 6 copies or more per book title THEN: Discount is 25% ELSE (order is for fewer than 6 copies per book title) SO: no discount is allowed ELSE (order is from libraries or individuals)
  • 21. Continued… ELSE (order is from libraries or individuals) SO-IF order is for 50 copies or more per book title Discount is 15% ELSE IF order is for 20 to 49 copies per book title Discount is 10% ELSE IF order is for 6 to 19 copies per book title Discount is 5% ELSE (order is for less than 6 copies per book order) SO: no discount is allowed
  • 22. Decision Tables • It is a table of possibilities foe defining a problem and the actions to be taken • It is a single representation of the relationships between conditions and actions • It consists of two parts: stub and entry • The stub part is divided into an upper quadrant called the condition stub and a lower quadrant called the action stub • The entry part is also divided into an upper quadrant, called the condition entry and a lower quadrant called the action entry
  • 23. Condition Stub Condition Entry 1 2 3 4 5 6 Customer is Bookstore Y Y N N N N IF Order size 6 copies or more ? Y N N N N N (Condition) Customer Librarian or Individual Y Y Y Y Order-size 50 copies or more ? Y N N N Order-size 20-49 copies ? Y N N Order-size 6-19 copies ? Y N Then Allow 25% Discount X (action) Allow 15% Discount X Allow 10% Discount X Allow 5% Discount X No Discount allowed X X Action Stub Action Entry
  • 24. Pros And Cons Of Each Tool Which tool is the best depends' on a number of factors: the nature and complexity of the problem, the numher of actions resulting from the deci sions, and the ease of use. In reviewing the henefits and limitations of each tool, we come to the following conclusions: 1. The primaty strengh of the DFD is its ability to represent data flows. It may he used at high 01" low levels of analysis and provides good system documentation. However, the tool only weakly shows input and output detail. The user often finds it confusing initially. 2 The data dictionary helps the analyst simplifY the structure for meeting the data requirements of the system. It may be used at high or low levels of analysis, but it does not provide functional details, and it is not acceptable to many nontechnical users. 3. Structured English is best used when the problem requires sequences of actions with decisions. 4. Decision trees are used to verifY logic and in problems that involve a few complex decisions resulting in' a limited number of actions. 5. Decision trees and decision tables are best suited for dealing with complex branching routines such as calculating discounts or sales commissions or inventory control procedures. Given the pros and cons of structured tools, the analyst should be trained in the use of various tools for analysis and design. He/she should use decision tables and structured English to get to the heart of complex problems. A decision table is perhaps the most useful tool for communicating problem details to the user. The major contribution of structured analysis to the system develop ment life cycle is producing a definable and measurable document-the structured specification. Other benefits include increased user involvement, improved communication between user and designer, reduction of total personnel time, and fewer "kinks" during detailed design and implementa tion. The only drawback is increased analyst and user time in the process. Overall the benefits oUtweigh the drawbacks, which make structured analy sis tools viable alternatives in system development