System Analysis and Design

Slides:



Advertisements
Similar presentations
More Diagramming & Practice with Relationship Modeling
Advertisements

BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
System Planning (Preliminary Investigation Overview)
Chapters 7 & 9 System Scope
Chapter 4 Enterprise Modeling.
ERD diagram Data Design - Mr. Ahmad Al-Ghoul
Concepts of Database Management Seventh Edition Chapter 6 Database Design : ERD Model.
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
System Analysis and Design
Data Modeling using the Entity-Relationship (ER) Model
ISMT221 Information Systems Analysis and Design Entity-Relationship Diagram Lab 4 Tony Tam.
Entity-Relationship Model and Diagrams (continued)
Extended Learning Module C Designing Databases and Entity-Relationship Diagramming McGraw-Hill/Irwin Copyright © 2010 by the McGraw-Hill Companies, Inc.
Entity-Relationship Modelling Introduced by Chen in 1976 The ER Model is used to construct the conceptual data model – independent of DBMS Most widely.
System Analysis and Design
System Analysis and Design
System Analysis System Analysis - Mr. Ahmad Al-Ghoul System Analysis and Design.
System Analysis and Design
APPENDIX C DESIGNING DATABASES
 An entity-relationship (ER) diagram is a specialized graphic that illustrates the interrelationships between entities in a database.  An Entity Relationship.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
System Analysis & Design
DeSiamorewww.desiamore.com/ifm1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
System Implementation System Implementation - Mr. Ahmad Al-Ghoul System Analysis and Design.
Data Modeling ERM ERD.
1. 2 Data Modeling 3 Process of creating a logical representation of the structure of the database The most important task in database development E-R.
PowerPoint Presentation for Dennis, Wixom, & Roth Systems Analysis and Design, 3rd Edition Copyright 2006 © John Wiley & Sons, Inc. All rights reserved..
Business Process Modeling
System Analysis System Analysis - Mr. Ahmad Al-Ghoul System Analysis and Design.
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
BIS 360 – Lecture Six (Part 2) Conceptual Data Modeling (Chapter 10 and partial Chapter 12)
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
IS 325 Notes for Wednesday September 4, Syllabus Change I eliminated quizzes I increased the points allocated to homework assignments.
Principles of Database Design, Part II AIMS 2710 R. Nakatsu.
Copyright (c) 2014 Pearson Education, Inc. Introduction to Databases.
Normalization - Mr. Ahmad Al-Ghoul Data Design. 2 learning Objectives  Explain the concept of table design  Explain unnormalized design and the first.
System Analysis System Analysis - Mr. Ahmad Al-Ghoul System Analysis and Design.
Database Design Using Entity-Relationship Models Transformation of Entity-Relationship Models into Relational Database Design Trees, Networks, and Bills.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T5: Designing Database Applications Business Driven Technology.
Next Back A-1 Management Information Systems for the Information Age Second Canadian Edition Copyright 2004 The McGraw-Hill Companies, Inc. All rights.
C-1 Management Information Systems for the Information Age Copyright 2004 The McGraw-Hill Companies, Inc. All rights reserved Extended Learning Module.
System Design System Design - Mr. Ahmad Al-Ghoul System Analysis and Design.
Carmen David, Senior BA Business Analysis Carmen David, Senior BA Business Analysis Foundation in Business Analysis Session 7 MODELLING REQUIREMENTS.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
DeSiamorePowered by DeSiaMore1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
Msigwaemhttp//:msigwaem.ueuo.com/1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
IT 21103/41103 System Analysis & Design. Chapter 04 Data Modeling.
Description and exemplification of entity-relationship modelling.
Chapter 13 Designing Databases Systems Analysis and Design Kendall & Kendall Sixth Edition.
Relational Theory and Design
Software Engineering Software Engineering - Mr. Ahmad Al-Ghoul.
Normalization Data Design - Mr. Ahmad Al-Ghoul
System Analysis System Analysis - Mr. Ahmad Al-Ghoul System Analysis and Design.
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Entity-Relationship Diagram Presentation Gianna-lee Williams 6AQ Ms. Anderson.
The Entity-Relationship Model, P. I R. Nakatsu. Data Modeling A data model is the relatively simple representation, usually graphic, of the structure.
Lecture 91 Introduction to Data Analysis and Logic Specification Objectives l Draw an entity-relationship diagram, and explain the types of entity relationships.
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
1 Information System Analysis Topic-3. 2 Entity Relationship Diagram \ Definition An entity-relationship (ER) diagram is a specialized graphic that illustrates.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Chapter Five: Data Modeling with the Entity-Relationship.
1 ASPP(DATABASE DESIGN) Database Design. 2 ASPP(DATABASE DESIGN) Objectives àDefine the terms entity, record, and attribute and discuss the various types.
Teanna Clarke 6aQ What is a Entity-Relationship Diagram?  An Entity-Relationship Diagram (ERD) is a tool that graphically shows the connections among.
Database Design Chapters 17 and 18.
Systems Analysis and Design
System Analysis and Design
Database Design Chapters 17 and 18.
System Analysis and Design
Presentation transcript:

System Analysis and Design System Design - Mr. Ahmad Al-Ghoul In this sequence we will discuss the ERD

System Analysis and Design System Design learning Objectives Describe data relationships Define cardinality, and use cardinality notation Draw an entity-relationship diagram Avicenna System Analysis and Design System Design

Entity-Relationship Diagrams What Is an ERD? A picture showing the information created, stored, and used by a business system. ERD is network model that describes stored data of a system at a high level of abstraction. Entities generally represent similar kinds of information Lines drawn between entities show relationships among the data High level business rules are also shown Avicenna System Analysis and Design System Design

Entity-Relationship Diagrams Representing entities we represent an entity by a named rectangle use a singular noun, or adjective + noun refer to one instance in naming CUSTOMER PART-TIME EMPLOYEE Avicenna System Analysis and Design System Design

Entity-Relationship Diagrams Entity types and instances an entity type is a classification of entity instances Example Ahmad Amal Osama SUPPLIER Avicenna System Analysis and Design System Design

Entity-Relationship Diagrams is an association between two entities we may wish to store information about the association Relationships should have active verb names often recognised by a verb or "entity + verb + entity" eg CUSTOMER places ORDER relationships capture the "business rules" of the system The first entity in the relationship is the parent entity; the second entity in the relationship is the child entity Relationships go in both directions Avicenna System Analysis and Design System Design

Entity-Relationship Diagrams A Relationship Type is a relevant business association between two Entity Types. A Relationship is an occurrence of a relationship type. Marketing employs Yosef Ali Finance employs Osama Mlkawi MIS employs Ahmad Al ghoul DEPT EMPLOYEE employs employs Avicenna System Analysis and Design System Design

Entity-Relationship Diagrams Types of Relationships Three types of relationships can exist between entities One-to-one relationship (1:1): One instance in an entity (parent) refers to one and only one instance in the related entity (child) Avicenna System Analysis and Design System Design

Entity-Relationship Diagrams Types of Relationships One-to-many relationship (1:M): One instance in an entity (parent) refers to one or more instances in the related entity (child) Avicenna System Analysis and Design System Design

Entity-Relationship Diagrams Types of Relationships Many-to-many relationship (M:N): exists when one instance of the first entity (parent) can relate to many instances of the second entity (child), and one instance of the second entity can relate to many instances of the first entity. Avicenna System Analysis and Design System Design

Entity-Relationship Diagrams Types of Relationships Many-to-many relationship (M:N): this relationship can not represent physically so we solve this problem by dividing it to two (1:M) relationships. The relationship between STUDENT and CLASS is many-to-many, one student can take many classes, and one class can have many students. To solve the problem of this relationship note that the event or transaction that links the two entities is actually a third entity, called Associative entity that has its own characteristics. In the next section (normalization) you will see how we will solve this problem. Associative Entity The ENROLLS IN symbol represent a REGISTRATION entity that records each instance of a specific student enrolling in a specific course. Similarly, the RESERVES SEAT ON symbol represents a RESERVATION entity that records each instance of a specific passenger reserving a seat on a specific flight Avicenna System Analysis and Design System Design

Entity-Relationship Diagrams Cardinalities in relationships The cardinality of a relationship is the number of instances of one entity type that may be associated with each instance of the other entity type. An analyst can model this interaction by adding cardinality notation, which uses special symbols to represent the relationship. Avicenna System Analysis and Design System Design

Entity-Relationship Diagrams Cardinality Cardinality notation: Notation that shows relationships between entities. Crow’s foot notation: A type of cardinality notation. It is called crow's foot notation because of the shapes, which include circles, bars, and symbols, that indicate various possibilities. A single bar indicates one, a double bar indicates one and only one, a circle indicates zero, and a crow's foot indicates many. Avicenna System Analysis and Design System Design

Entity-Relationship Diagrams Crow's foot notation is a common method of indicating cardinality. The four examples show how you can use various symbols to describe the relationships between entities. Avicenna System Analysis and Design System Design

Entity-Relationship Diagrams In the first example of cardinality notation, one and only one CUSTOMER can place anywhere from zero to many of the ORDER entity. In the second example, one and only one ORDER can include one ITEM ORDERED or many. In the third example, one and only one EMPLOYEE can have one SPOUSE or none. In the fourth example, one EMPLOYEE, or many employees, or none, can be assigned to one PROJECT, or many projects, or none. Avicenna System Analysis and Design System Design

Entity-Relationship Diagrams The entity-relationship diagram may be used to determine record keys When the relationship is one-to-many, the primary key of the file at the one end of the relationship should be contained as a foreign key on the file at the many end of the relationship A many-to-many relationship should be divided into two one-to-many relationships with an associative entity in the middle Avicenna System Analysis and Design System Design

System Analysis and Design System Design Sequence Summary An entity-relationship diagram (ERD) is a graphic representation of all system entities and the relationships among them The ERD is based on entities and data stores in DFDs prepared during the systems analysis phase The three basic relationships represented in an ERD are one-to-one (1:1), one-to-many (1:M), and many-to-many (M:N) In a M:N relationship, the two entities are linked by an associative entity The relationship between two entities also is referred to as cardinality A common form if cardinality notation is called crow’s foot notation, which uses various symbols to describe the characteristics of the relationship Avicenna System Analysis and Design System Design

System Analysis and Design System Design Sequence Summary In this Sequence we have Defined entity relationship diagram (ERD) Defined and distinguished between entity type and entity instance Defined and distinguished between relationship and relationship type Explained types of relationships Defined cardinality, and used cardinality notation Avicenna System Analysis and Design System Design

System Analysis and Design System Design Reference [1] System Analysis and Design, Sixth Edition Authors: Gary B. Shelly, Thomas J. Cashman and Harry J. Rosenblatt Publisher: SHELLY CASHMAN SEWIES. Avicenna System Analysis and Design System Design