Section 07 (a)DFD to ERD Link1 HSQ - DATABASES & SQL By MANSHA NAWAZ 07 (a) - DFD to ERD Link And Franchise Colleges.

Slides:



Advertisements
Similar presentations
More Diagramming & Practice with Relationship Modeling
Advertisements

© Copyright 2011 John Wiley & Sons, Inc.
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
Section 08Data Dictionary - Structures & Elements 1 08 THE DATA DICTIONARY Structures & Elements And Franchise Colleges By MANSHA NAWAZ.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 7.1.
ISMT221 Information Systems Analysis and Design Entity-Relationship Diagram Lab 4 Tony Tam.
System Analysis - Data Modeling
Database Design (Data Modeling) DCO11310 Database Systems and Design By Rose Chang.
Systems Analysis Requirements structuring Process Modeling Logic Modeling Data Modeling  Represents the contents and structure of the DFD’s data flows.
ER Modeling An E-R model is a conceptual (or logical) data model that includes –Entity (classes) –Attributes of each entity –Relationship types between.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Data.
Data Modeling Entity - Relationship Models. Models Used to represent unstructured problems A model is a representation of reality Logical models  show.
Section 04DFD - Top Level1 04 Data Flow Diagrams - Top Level DFD And Franchise Colleges By MANSHA NAWAZ.
Data Modeling Introduction. Learning Objectives Define key data modeling terms –Entity type –Attribute –Multivalued attribute –Relationship –Degree –Cardinality.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Data Flow Diagrams (DFD) & Context diagrams Data Flow Diagrams (DFD)
Chapter 7: System models
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
Software Design Description (SDD) Diagram Samples
 An entity-relationship (ER) diagram is a specialized graphic that illustrates the interrelationships between entities in a database.  An Entity Relationship.
Entity Relationship Modeling Objectives: To illustrate how relationships between entities are defined and refined. To know how relationships are incorporated.
staffs.ac.uk Process Model. staffs.ac.uk Contents Provide definitions Explain the components and representations Introduce a step.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Computer System Analysis Chapter 10 Structuring System Requirements: Conceptual Data Modeling Dr. Sana’a Wafa Al-Sayegh 1 st quadmaster University of Palestine.
File and Database Design SYS364. Today’s Agenda WHTSA DBMS, RDBMS, SQL A place for everything and everything in its place. Entity Relationship Diagrams.
PowerPoint Presentation for Dennis, Wixom, & Roth Systems Analysis and Design, 3rd Edition Copyright 2006 © John Wiley & Sons, Inc. All rights reserved..
Database Design Concepts
1 Lecture 3: Introducing Data Flow Diagrams (DFDs) Section 1 - The Concept of Diagrams Why use Diagrams? Diagrams as Working Documents Systems Analysis.
Phase 2: Systems Analysis
Data-Flow Diagrams Week 10 Lecture 1. Data Flow Diagrams (DFDs) One of most important modelling tools used by system analysts In use since late 1970’s.
Section 11 : Normalisation
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter 6 Structuring.
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
SAD - DFD Context Diagrams
Section 05Concepts Of DBMS1 HSQ - DATABASES & SQL And Franchise Colleges 05 Concepts of DBMS By MANSHA NAWAZ.
System Analysis: Case Study. System Analysis Overview It is one of the most important phases of the whole system development. Generally, the whole process.
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
Section 08 (a)ER Modelling In Practice1 HSQ - DATABASES & SQL And Franchise Colleges 08 (a) ER Modelling In Practice QUICKHIRE Car Company.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
Entity Relationship Diagram. Introduction Definition: Entity-relationship diagram is a data-modeling technique that visualises entities, the attributes.
IFS310: Module 6 3/1/2007 Data Modeling and Entity-Relationship Diagrams.
Database Design – Lecture 4 Conceptual Data Modeling.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Section 05DFD - Complete Top-Level1 05 Data Flow Diagrams - Completing the top-level And Franchise Colleges By MANSHA NAWAZ.
Software Analysis 1 PROCESS MODELING: Data Flow Diagrams (DFDs)
Consider that you will be presenting for an internal review in your own consulting firm. We will critique your work and make suggestions for improvements.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
System Analysis and Design Copyright © Genetic Computer School 2007 SAD9-1 CHAPTER OVERVIEW  Entity Relationship Diagram  Data Model And Its Main Components.
ERD :: 19 / 1 / Entity-Relationship (ER) Modeling. ER Modeling is a top-down approach to database design. Entity Relationship (ER) Diagram –A.
DFDs Continued – LEVEL 1 DFD 25 January PharmCo Ltd. is an Irish pharmaceutical company. Management are considering Systems Analysis and Design.
Database Design Chapters 17 and 18.
Entity Relationship Modeling
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
Let try to identify the conectivity of these entity relationship
Business System Development
Systems Analysis and Design
Chapter 6 Structuring System Requirements: Conceptual Data Modeling
Database Design – Lecture 4
Data Modelling Chapter 7
ERD :: 19 / 1 / Entity-Relationship (ER) Modeling. ER Modeling is a top-down approach to database design. Entity Relationship (ER) Diagram –A.
Smart Draw v2010 آزمایشگاه مهندسی نرم افزار
تحلیل سیستم‌ها مدل‌سازی پردازشی.
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
Database Management system
Database Management system
Lecture 10 Structuring System Requirements: Conceptual Data Modeling
Presentation transcript:

Section 07 (a)DFD to ERD Link1 HSQ - DATABASES & SQL By MANSHA NAWAZ 07 (a) - DFD to ERD Link And Franchise Colleges

Section 07 (a)DFD to ERD Link2 DFD - ERD Links Systems modelled using either : Entity Relationship (E-R) Modelling. –Provide us with a Top Down approach to producing TABLES or : Normalisation. –Provide us with a Bottom Up approach to producing TABLES It is worth considering the tie-up between ERDs and DFDs DFD : Entities, Dataflow, Processes & Datastores ER & NF : Provides the optimum tables for each datastore Produce an ERD fragment for each datastore Combine these fragments for a complete ERD

Section 07 (a)DFD to ERD Link3 Read this sub-section in your own time. It is intended as a guide to show the development from Analysis (DFD) to Design (ERD) Firstly, the link between ERDs and DFDs. This is worth considering both as a consistency and completeness check, and to help in developing one type of diagram when the other already exists. Yourdon's rule for the link between the two types of diagram is that there should be a one to one correspondence between the entities on the ERD and the Data Stores on the DFD. This might just work for the Chen notation adopted by Yourdon if you don't count associative object types as entities. But it is certainly too simplistic for ERDs drawn with the crow's feet notation. Consider the DFD for college applications in the DFD fragment (from SAD module) DFD - ERD links in practice

Section 07 (a)DFD to ERD Link4 College Applications (DFD fragment)

Section 07 (a)DFD to ERD Link5 We can start by extracting the stores as entities, but we need to do more than just think about the relationships between these entities if we're to construct a good ERD. Let's think about the External Entities. Well, Graduate could be a valid addition to our entity model. Presumably, graduates could apply for more than one postgraduate course, so we could model this on our ERD..

Section 07 (a)DFD to ERD Link6 Here each graduate sends many applications and each application is sent by one graduate. Similarly, Referee might be added to our model.

Section 07 (a)DFD to ERD Link7 If we now consider some of the flows, Reference could be added to the entity model

Section 07 (a)DFD to ERD Link8 Each Referee may supply a reference for more than one graduate, the relationship is 'each referee supplies many references and each reference is supplied by one referee'. Similarly, Home Applications and Other Applications would be useful additions to our entity model. These could come in as sub-types of Application. We won't worry about the cardinality here, but each home application is checked against exam results and each other application requires a reference.

Section 07 (a)DFD to ERD Link9 Finally, the processes on the DFD won't give us any help with the entities, but they might correspond to some of the relationships. For example, we can see that the processes on the DFD for checking entry requirements, exam results and references could be reflected in the relationships on the ERD

Section 07 (a)DFD to ERD Link10 The link between DFDs and ERDs is not clear cut. However the following guide will assist you. All datastores on a DFD should be taken across to the ERD as entities Also consider the External Entities and Data Flows as candidate entities. The processes might give us some help with the relationships. When we've got an ERD that we're happy with, what should we record in the Data Dictionary? Entities and Relationships could be recorded in a similar way to Data Stores and Data Flows. That is, for entities, the Data Dictionary should automatically capture connected relationships, and allow the attributes to be recorded. For relationships, the Data Dictionary should automatically capture connected entities. In the Chen notation, which has the concept of relationships having data via associative object types, there should also be the facility to record attributes. In the crow's feet notation, this probably isn't necessary. The only addition to the Data Dictionary needed for entities and relationships is a way of identifying a key, that is, a unique identifier for the entity or relationship made up of one or more attributes. Yourdon suggests that key attributes could be prefixed with