SlideShare a Scribd company logo
DFD & CRC
Topic
Presenter
Rao Faizan 26
We will discuss..
• DFD
• Components of DFD
• Levels of DFD
• Class
• How to identify class and responsibility.
• Subclass
• Superclass
• Object
• Responsibility
• Collaboration
Data Flow Diagram
• Data flow diagram is graphical representation of flow of data in an information
system. It is capable of depicting incoming data flow, outgoing data flow and
stored data. The DFD does not mention anything about how data flows through
the system.
• There is a prominent difference between DFD and Flowchart. The flowchart
depicts flow of control in program modules. DFDs depict flow of data in the
system at various levels. DFD does not contain any control.
• Types of DFD
• Data Flow Diagrams are either Logical or Physical.
• Logical DFD - This type of DFD concentrates on the system process, and flow of
data in the system. For example in a Banking software system, how data is moved
between different entities.
• Physical DFD - This type of DFD shows how the data flow is actually implemented
in the system. It is more specific and close to the implementation.
DFD Components
• DFD can represent Source, destination, storage and flow of data using
the following set of components.
DFD Components
• Entities - Entities are source and destination of information data.
Entities are represented by a rectangles with their respective names.
• Process - Activities and action taken on the data are represented by
Circle or Round-edged rectangles.
• Data Storage - There are two variants of data storage - it can either be
represented as a rectangle with absence of both smaller sides or as
an open-sided rectangle with only one side missing.
• Data Flow - Movement of data is shown by pointed arrows. Data
movement is shown from the base of arrow as its source towards
head of the arrow as destination.
Level of DFD
• Level 0 - Highest abstraction level DFD is known as Level 0 DFD, which
depicts the entire information system as one diagram concealing all
the underlying details. Level 0 DFDs are also known as context level
DFDs.
Level 1
• The Level 0 DFD is broken down into more specific, Level 1 DFD. Level
1 DFD depicts basic modules in the system and flow of data among
various modules. Level 1 DFD also mentions basic processes and
sources of information.
Level 2
• At this level, DFD shows how data flows inside the modules
mentioned in Level 1.
• Higher level DFDs can be transformed into more specific lower level
DFDs with deeper level of understanding unless the desired level of
specification is achieved.
Class, Responsibility, and Collaborator(CRC)
• A class represents a collection of similar objects.
• A responsibility is anything that a class knows or does.
• Responsibilities are the attributes and operations that are relevant for
the class.
• A collaborator is another class that is used to get information for, or
performs actions for the class at hand.
• Collaborators are those classes that are required to provide a class
with the information needed to complete a responsibility.
CRC Modelling
• A CRC model is really a collection of standard index cards that
represent classes. The cards are divided into three sections. Along the
top of the card you write the name of the class. In the body of the
card you list the class responsibilities on the left and the collaborators
on the right.
Class Diagram
Classes
• Entity classes, also called model or business classes, are extracted
directly from the statement of the problem.
• Boundary classes are used to create the interface (e.g., interactive
screen or printed reports).
• Controller classes manage a “unit of work” from start to finish.
Identify class
• Use nouns in requirements
• Noun phrases leads to objects
Conti…
Identify responsibility
• Twice a year the company publishes a catalog of products,
which is mailed to customers and other interested people.
• Customers purchase products by submitting a list of products
with payment to the company. The company fills the order and
ships the products to the customer’s address.
• The order processing software will track the order from the
time it is received until the product is shipped.
• The company will provide quick service. They should be able to
ship a customer’s order by the fastest, most efficient means
possible.
Verb phrases lead to responsibilities..
For Example..
Imagine that you are developing order-processing software for a mail-
order company, a reseller of products purchased from various suppliers.
Responsibilities
Publishes a catalog
Is mailed to customers
Purchases products;
submitting
Fills the order
Ships the products; is
shipped
Track the order
Is received
Provides quick service
collaborationsResponsibility
Summary
• DFD
• Components of DFD
• LEVELs of DFD
• Class: The blueprint for an object.
• Subclass: A class that inherits from one or more classes.
• Superclass: The class from which another class inherits.
• Object: Something that can do things. An object has state, behavior, and identity.
The structure and behavior of similar objects are defined in their common class.
• Responsibility: Some behavior for which an object is held accountable. A
responsibility denotes the obligation of an object to provide a certain behavior.
• Collaboration: The process whereby several objects cooperate to provide some
higher-level behavior.
Thank you

More Related Content

What's hot

The DFD
The DFDThe DFD
The DFD
Akshay Modak
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
Upendra Sengar
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
Shreya Chatterjee
 
Data Flow Diagram or DFD
Data Flow Diagram  or DFDData Flow Diagram  or DFD
Data Flow Diagram or DFD
Mubassira Mahmuda Supty
 
208 dataflowdgm
208 dataflowdgm208 dataflowdgm
208 dataflowdgm
TCT
 
Data Flow Diagram (DFD)
Data Flow Diagram (DFD)Data Flow Diagram (DFD)
Data Flow Diagram (DFD)
Anowar Hossain
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
nethisip13
 
Data flow Diagram (DFD)
Data flow Diagram (DFD)Data flow Diagram (DFD)
Data flow Diagram (DFD)
Sarfaraz Ghanta
 
Chapter7
Chapter7Chapter7
Chapter7
Ahmed Magdy
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
Puneet Arora
 
Introduction to Data Flow Diagram (DFD)
Introduction to Data Flow Diagram (DFD)Introduction to Data Flow Diagram (DFD)
Introduction to Data Flow Diagram (DFD)
Gurpreet singh
 
Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow Diagrams
Reetesh Gupta
 
Understanding Data Flow Diagram
Understanding Data Flow DiagramUnderstanding Data Flow Diagram
Understanding Data Flow Diagram
Ankur Biswas
 
Data Flow Diagram_DFD
Data Flow Diagram_DFDData Flow Diagram_DFD
Data Flow Diagram_DFD
CoT
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
Jyaasa Technologies
 
Data flow diagrams (2)
Data flow diagrams (2)Data flow diagrams (2)
Data flow diagrams (2)Ujjwal 'Shanu'
 

What's hot (19)

The DFD
The DFDThe DFD
The DFD
 
DFD ppt
DFD pptDFD ppt
DFD ppt
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Data Flow Diagram or DFD
Data Flow Diagram  or DFDData Flow Diagram  or DFD
Data Flow Diagram or DFD
 
208 dataflowdgm
208 dataflowdgm208 dataflowdgm
208 dataflowdgm
 
Data Flow Diagram (DFD)
Data Flow Diagram (DFD)Data Flow Diagram (DFD)
Data Flow Diagram (DFD)
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
DFD Concept
DFD ConceptDFD Concept
DFD Concept
 
Data flow Diagram (DFD)
Data flow Diagram (DFD)Data flow Diagram (DFD)
Data flow Diagram (DFD)
 
Dfd final
Dfd finalDfd final
Dfd final
 
Chapter7
Chapter7Chapter7
Chapter7
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Introduction to Data Flow Diagram (DFD)
Introduction to Data Flow Diagram (DFD)Introduction to Data Flow Diagram (DFD)
Introduction to Data Flow Diagram (DFD)
 
Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow Diagrams
 
Understanding Data Flow Diagram
Understanding Data Flow DiagramUnderstanding Data Flow Diagram
Understanding Data Flow Diagram
 
Data Flow Diagram_DFD
Data Flow Diagram_DFDData Flow Diagram_DFD
Data Flow Diagram_DFD
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Data flow diagrams (2)
Data flow diagrams (2)Data flow diagrams (2)
Data flow diagrams (2)
 

Viewers also liked

Legal Issues for Marketing Teams - Part 01 - Muck up the overall impression
Legal Issues for Marketing Teams - Part 01 - Muck up the overall impressionLegal Issues for Marketing Teams - Part 01 - Muck up the overall impression
Legal Issues for Marketing Teams - Part 01 - Muck up the overall impression
Verity White
 
Wms для логистических операторов
Wms для логистических операторовWms для логистических операторов
Wms для логистических операторов
Olga Bezotosnaya
 
Business process mapping
Business process mappingBusiness process mapping
Business process mapping
Niyati Mehta
 
How business process mapping saved an IT project.
How business process mapping saved an IT project.How business process mapping saved an IT project.
How business process mapping saved an IT project.
Garrett Hunter
 
Business process analysis and optimization: A pragmatic approach to business ...
Business process analysis and optimization: A pragmatic approach to business ...Business process analysis and optimization: A pragmatic approach to business ...
Business process analysis and optimization: A pragmatic approach to business ...
Mozammel Hoque
 
System flow charts @ doms
System flow charts @  domsSystem flow charts @  doms
System flow charts @ doms
Babasab Patil
 
All process maps 18 blueprints all process-maps
All process maps 18 blueprints all process-mapsAll process maps 18 blueprints all process-maps
All process maps 18 blueprints all process-maps
Lidnaaidnilas
 
Perencanaan Kebutuhan Warehouse (Excelogic Consulting)
Perencanaan Kebutuhan Warehouse (Excelogic Consulting)Perencanaan Kebutuhan Warehouse (Excelogic Consulting)
Perencanaan Kebutuhan Warehouse (Excelogic Consulting)
PT Inti Logika Cipta
 
Process Mapping
Process MappingProcess Mapping
Process Mapping
Anand Subramaniam
 
Simple Process Mapping Techniques
Simple Process Mapping TechniquesSimple Process Mapping Techniques
Simple Process Mapping Techniques
Stephen Deas
 
Dfd examples
Dfd examplesDfd examples
Dfd examplesMohit
 
Data Flow Diagram Example
Data Flow Diagram ExampleData Flow Diagram Example
Data Flow Diagram ExampleKaviarasu D
 

Viewers also liked (13)

Legal Issues for Marketing Teams - Part 01 - Muck up the overall impression
Legal Issues for Marketing Teams - Part 01 - Muck up the overall impressionLegal Issues for Marketing Teams - Part 01 - Muck up the overall impression
Legal Issues for Marketing Teams - Part 01 - Muck up the overall impression
 
Wms для логистических операторов
Wms для логистических операторовWms для логистических операторов
Wms для логистических операторов
 
Business process mapping
Business process mappingBusiness process mapping
Business process mapping
 
How business process mapping saved an IT project.
How business process mapping saved an IT project.How business process mapping saved an IT project.
How business process mapping saved an IT project.
 
Business process analysis and optimization: A pragmatic approach to business ...
Business process analysis and optimization: A pragmatic approach to business ...Business process analysis and optimization: A pragmatic approach to business ...
Business process analysis and optimization: A pragmatic approach to business ...
 
System flow charts @ doms
System flow charts @  domsSystem flow charts @  doms
System flow charts @ doms
 
Warehouselayout
WarehouselayoutWarehouselayout
Warehouselayout
 
All process maps 18 blueprints all process-maps
All process maps 18 blueprints all process-mapsAll process maps 18 blueprints all process-maps
All process maps 18 blueprints all process-maps
 
Perencanaan Kebutuhan Warehouse (Excelogic Consulting)
Perencanaan Kebutuhan Warehouse (Excelogic Consulting)Perencanaan Kebutuhan Warehouse (Excelogic Consulting)
Perencanaan Kebutuhan Warehouse (Excelogic Consulting)
 
Process Mapping
Process MappingProcess Mapping
Process Mapping
 
Simple Process Mapping Techniques
Simple Process Mapping TechniquesSimple Process Mapping Techniques
Simple Process Mapping Techniques
 
Dfd examples
Dfd examplesDfd examples
Dfd examples
 
Data Flow Diagram Example
Data Flow Diagram ExampleData Flow Diagram Example
Data Flow Diagram Example
 

Similar to DFD and Class diagram

DFD.pptx
DFD.pptxDFD.pptx
DFD.pptx
SHAHZAIBABBAS13
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
Jayant Dalvi
 
DFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptxDFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptx
AliyahAli19
 
topic 2 data flow daigram topic-converted.pdf
topic 2 data flow daigram topic-converted.pdftopic 2 data flow daigram topic-converted.pdf
topic 2 data flow daigram topic-converted.pdf
tahir427002
 
6.SE_Requirements Modeling.ppt
6.SE_Requirements Modeling.ppt6.SE_Requirements Modeling.ppt
6.SE_Requirements Modeling.ppt
HaiderAli252366
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
preetikapri1
 
Elements analysis dfd_er_std
Elements analysis dfd_er_stdElements analysis dfd_er_std
Elements analysis dfd_er_std
Ammar Jamali
 
Unit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptxUnit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptx
RaghavGaming2
 
dataflowdiagram2 121005140736-phpapp01
dataflowdiagram2 121005140736-phpapp01dataflowdiagram2 121005140736-phpapp01
dataflowdiagram2 121005140736-phpapp01Shashi soni
 
Data Flow Diagram (DFD)
Data Flow Diagram (DFD)Data Flow Diagram (DFD)
Data Flow Diagram (DFD)
Ansh Kashyap
 
Data flow diagram(19th march)
Data flow diagram(19th march)Data flow diagram(19th march)
Data flow diagram(19th march)
Ravi Shekhar
 
Data Flow Diagram.pptx
Data Flow Diagram.pptxData Flow Diagram.pptx
Data Flow Diagram.pptx
ubaidullah75790
 
Hi600 u05_inst_slides
Hi600 u05_inst_slidesHi600 u05_inst_slides
Hi600 u05_inst_slides
ljmcneill33
 
DBMS ppts unit1.pptx
DBMS ppts  unit1.pptxDBMS ppts  unit1.pptx
DBMS ppts unit1.pptx
VaibhavSaluja1
 
Object oriented analysis_and_design_v2.0
Object oriented analysis_and_design_v2.0Object oriented analysis_and_design_v2.0
Object oriented analysis_and_design_v2.0
Ganapathi M
 
DFD.pptx
DFD.pptxDFD.pptx
DFD.pptx
sumitbppimt9523
 
Lecture#5.pptx
Lecture#5.pptxLecture#5.pptx
Lecture#5.pptx
GulRana13
 
Design Flow Diagram for Information System
Design Flow Diagram for Information SystemDesign Flow Diagram for Information System
Design Flow Diagram for Information System
arifasyrafcp13
 

Similar to DFD and Class diagram (20)

DFD.pptx
DFD.pptxDFD.pptx
DFD.pptx
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
 
DFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptxDFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptx
 
topic 2 data flow daigram topic-converted.pdf
topic 2 data flow daigram topic-converted.pdftopic 2 data flow daigram topic-converted.pdf
topic 2 data flow daigram topic-converted.pdf
 
6.SE_Requirements Modeling.ppt
6.SE_Requirements Modeling.ppt6.SE_Requirements Modeling.ppt
6.SE_Requirements Modeling.ppt
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
 
Elements analysis dfd_er_std
Elements analysis dfd_er_stdElements analysis dfd_er_std
Elements analysis dfd_er_std
 
Unit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptxUnit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptx
 
dataflowdiagram2 121005140736-phpapp01
dataflowdiagram2 121005140736-phpapp01dataflowdiagram2 121005140736-phpapp01
dataflowdiagram2 121005140736-phpapp01
 
Data Flow Diagram (DFD)
Data Flow Diagram (DFD)Data Flow Diagram (DFD)
Data Flow Diagram (DFD)
 
Data flow diagram(19th march)
Data flow diagram(19th march)Data flow diagram(19th march)
Data flow diagram(19th march)
 
Data Flow Diagram.pptx
Data Flow Diagram.pptxData Flow Diagram.pptx
Data Flow Diagram.pptx
 
Hi600 u05_inst_slides
Hi600 u05_inst_slidesHi600 u05_inst_slides
Hi600 u05_inst_slides
 
Ooad ch 2
Ooad ch 2Ooad ch 2
Ooad ch 2
 
DBMS ppts unit1.pptx
DBMS ppts  unit1.pptxDBMS ppts  unit1.pptx
DBMS ppts unit1.pptx
 
Object oriented analysis_and_design_v2.0
Object oriented analysis_and_design_v2.0Object oriented analysis_and_design_v2.0
Object oriented analysis_and_design_v2.0
 
DFD.pptx
DFD.pptxDFD.pptx
DFD.pptx
 
Df dtutorial
Df dtutorialDf dtutorial
Df dtutorial
 
Lecture#5.pptx
Lecture#5.pptxLecture#5.pptx
Lecture#5.pptx
 
Design Flow Diagram for Information System
Design Flow Diagram for Information SystemDesign Flow Diagram for Information System
Design Flow Diagram for Information System
 

Recently uploaded

Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 

Recently uploaded (20)

Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 

DFD and Class diagram

  • 1.
  • 4. We will discuss.. • DFD • Components of DFD • Levels of DFD • Class • How to identify class and responsibility. • Subclass • Superclass • Object • Responsibility • Collaboration
  • 5. Data Flow Diagram • Data flow diagram is graphical representation of flow of data in an information system. It is capable of depicting incoming data flow, outgoing data flow and stored data. The DFD does not mention anything about how data flows through the system. • There is a prominent difference between DFD and Flowchart. The flowchart depicts flow of control in program modules. DFDs depict flow of data in the system at various levels. DFD does not contain any control. • Types of DFD • Data Flow Diagrams are either Logical or Physical. • Logical DFD - This type of DFD concentrates on the system process, and flow of data in the system. For example in a Banking software system, how data is moved between different entities. • Physical DFD - This type of DFD shows how the data flow is actually implemented in the system. It is more specific and close to the implementation.
  • 6. DFD Components • DFD can represent Source, destination, storage and flow of data using the following set of components.
  • 7. DFD Components • Entities - Entities are source and destination of information data. Entities are represented by a rectangles with their respective names. • Process - Activities and action taken on the data are represented by Circle or Round-edged rectangles. • Data Storage - There are two variants of data storage - it can either be represented as a rectangle with absence of both smaller sides or as an open-sided rectangle with only one side missing. • Data Flow - Movement of data is shown by pointed arrows. Data movement is shown from the base of arrow as its source towards head of the arrow as destination.
  • 8. Level of DFD • Level 0 - Highest abstraction level DFD is known as Level 0 DFD, which depicts the entire information system as one diagram concealing all the underlying details. Level 0 DFDs are also known as context level DFDs.
  • 9. Level 1 • The Level 0 DFD is broken down into more specific, Level 1 DFD. Level 1 DFD depicts basic modules in the system and flow of data among various modules. Level 1 DFD also mentions basic processes and sources of information.
  • 10. Level 2 • At this level, DFD shows how data flows inside the modules mentioned in Level 1. • Higher level DFDs can be transformed into more specific lower level DFDs with deeper level of understanding unless the desired level of specification is achieved.
  • 11. Class, Responsibility, and Collaborator(CRC) • A class represents a collection of similar objects. • A responsibility is anything that a class knows or does. • Responsibilities are the attributes and operations that are relevant for the class. • A collaborator is another class that is used to get information for, or performs actions for the class at hand. • Collaborators are those classes that are required to provide a class with the information needed to complete a responsibility.
  • 12. CRC Modelling • A CRC model is really a collection of standard index cards that represent classes. The cards are divided into three sections. Along the top of the card you write the name of the class. In the body of the card you list the class responsibilities on the left and the collaborators on the right.
  • 14. Classes • Entity classes, also called model or business classes, are extracted directly from the statement of the problem. • Boundary classes are used to create the interface (e.g., interactive screen or printed reports). • Controller classes manage a “unit of work” from start to finish.
  • 15. Identify class • Use nouns in requirements • Noun phrases leads to objects
  • 17. Identify responsibility • Twice a year the company publishes a catalog of products, which is mailed to customers and other interested people. • Customers purchase products by submitting a list of products with payment to the company. The company fills the order and ships the products to the customer’s address. • The order processing software will track the order from the time it is received until the product is shipped. • The company will provide quick service. They should be able to ship a customer’s order by the fastest, most efficient means possible. Verb phrases lead to responsibilities.. For Example.. Imagine that you are developing order-processing software for a mail- order company, a reseller of products purchased from various suppliers.
  • 18. Responsibilities Publishes a catalog Is mailed to customers Purchases products; submitting Fills the order Ships the products; is shipped Track the order Is received Provides quick service collaborationsResponsibility
  • 19. Summary • DFD • Components of DFD • LEVELs of DFD • Class: The blueprint for an object. • Subclass: A class that inherits from one or more classes. • Superclass: The class from which another class inherits. • Object: Something that can do things. An object has state, behavior, and identity. The structure and behavior of similar objects are defined in their common class. • Responsibility: Some behavior for which an object is held accountable. A responsibility denotes the obligation of an object to provide a certain behavior. • Collaboration: The process whereby several objects cooperate to provide some higher-level behavior.