IMS1002/CSE1205 Lectures 1

Size: px
Start display at page:

Download "IMS1002/CSE1205 Lectures 1"

Transcription

1 IMS1002/CSE1205 Systems Analysis and Design Lecture 2 & 3 Introduction to Data Modelling Entity Relationship Modelling Data Modelling Focus on the information aspects of the organisation In a database environment many applications share the same data The database is a common asset and corporate resource Corporate and application level data modelling 2 Conceptual Data Modelling A conceptual data model is a representation of organisational data Captures the structure, meaning and interrelationships amongst the data Independent of any data storage and access method, DBMS, platform issues Occurs in parallel with other systems analysis activities Conceptual Data Modelling Identification of information requirements Allows integration of data across the organisation and across applications Allows sharing of data across organisation Helps eliminate problems of data inconsistency and duplication across the organisation 3 4 Conceptual Data Modelling Techniques Entity Relationship (ER) modelling Data Gathering - attributes Normalisation Data Structure Diagrams (DSD) Good modelling techniques are supported by rigorous standards and conventions to remove ambiguity and aid understanding 5 Entity Relationship (ER) Modelling Used for conceptual data modelling has become a de facto industry standard especially for relational databases Diagrammatic technique used to represent things of importance in an organisation entities the properties of those things attributes how they are related to each other relationships 6 IMS1002/CSE1205 Lectures 1

2 Entity Relationship (ER) Modelling Entity relationship (ER) models can be readily transformed into a variety of technical architectures All information about the system s data identified during conceptual data modelling must be entered into the data dictionary or repository This assists in checking the consistency of data and process models 7 Entity Relationship (ER) Modelling Data objects or entities are things about which we wish to store information things of interest to the organisation ER models show the major data objects and the associations between them business rules, constraints ER models are useful in the initiation, analysis and design phases 8 Entity Something of interest about which we store information SALES SUPPLIER Often identified from nouns used within the business application Should be LOGICAL (not physical) capture the essential nature of the data 9 Identifying Entities Entities are subjective (i.e. they reflect the needs and viewpoint of the system) and can be Real VEHICLE Abstract QUOTA Event remembered LOAN Role played Organisation DEPARTMENT Geographical LOCATION 10 Representing Entities We represent an entity by a named rectangle Use a singular noun, or adjective + noun Refer to one instance in naming convention PART-TIME 11 Entity Types and Instances An entity type is a classification of entity instances BN Holdings ABC Engineering Acme Corp. Ltd. are all instances of a Supplier they share common characteristics SUPPLIER 12 IMS1002/CSE1205 Lectures 2

3 Entity Types are Logical For example, in a sales and inventory system there might be 3 physical forms of data a stock file product brochures sent to customers enquiring about products a product range book used by salespeople when calling on customers to take orders These could all be represented by one logical entity - 13 Entity Types are Logical In a Student Records System there might be an entity type STUDENT which represents some of the data used in several physical forms of data student re-enrolment forms subject class lists student results file The ER model identifies the minimum set of data objects necessary to construct the data used within the system in its various physical forms 14 Relationships Is an association between two entities We may also wish to store information about the association Often recognised by a verb "entity + verb + entity eg places Relationships capture the structural associations between the data entities "business rules" of the system 15 Representing Relationships We represent a relationship as a line between two entities The relationship is named by a meaningful verb or verb phrase which should indicate the meaning of the association Relationships are bi-directional so naming each end of the relationship conveys more meaning SUPPLIER supplies supplied by ITEM 16 Relationship Types and Instances A relationship type is a classification of relationship instances Marketing Finance MIS DEPT Sue Black Bill Brown John Smith 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 a may place many s an is placed by one an ITEM can appear on many s IMS1002/CSE1205 Lectures 3

4 One to One One to Many Many to Many led by SUPPLIER placed supplied by by leads places supplies PROJECT Types of Cardinalities SALES ITEM 19 Nature of Relationships Cardinality constraints enable us to precisely identify the nature of the relationship We can indicate whether relationships are optional or mandatory a customer MAY place many sales orders each sales order MUST be placed by one customer placed by places SALES 20 ER Notations ER Notations attends is attended by or Exactly one One and only one Zero or one attends One or more COURSE COURSE Zero, one or more Notation used in Hoffer et al Notation used in Whitten et al 21 More than one 22 Degree of a Relationship The degree of a relationship is the number of entity types that participate in the relationship The most common relationships in ER modelling in practice are unary (degree one) binary (degree two) ternary (degree three) n-ary or higher degree 23 A unary relationship is a relationship between instances of one entity type an instance of one entity has a relationship with one or more different instances of the same entity type also called a recursive relationship has component ITEM Unary Relationships is a component of manages reports to 24 IMS1002/CSE1205 Lectures 4

5 Binary Relationships A binary relationship is a relationship between instances of two entity types and is the most common type of relationship encountered in practice each instance of one entity has a relationship with one or more instances of a second entity MOVIE is a copy of has copy VIDEO TAPE 25 Ternary Relationships A ternary relationship is a simultaneous relationship between instances of three entity types A ternary relationship is NOT the same as three binary relationships between the same three entity types 26 Ternary Relationships Example ER Model PROJECT PROJECT DEPARTMENT employed made by PROGRAMMER LANGUAGE PROGRAMMER LANGUAGE placed by places SALES makes is on Triplets e.g. Mary uses COBOL on HR Project 3 independent sets of pairs e.g. Mary uses COBOL Mary works on HR Project COBOL is used in the HR Project 27 ITEM is for 28 Associative Entities - Gerunds A relationship of interest that a data modeller decides to model as an entity type in its own right As both entities and relationships can have attributes, the associative entity may have attributes in its own right orders Is ordered by Is made by makes SALES Multiple Relationships It is common to have two or more relationships between instances of the same entities They represent different business rules different structural associations of interest has working is working on PROJECT has Is on 29 has eligible is eligible for 30 IMS1002/CSE1205 Lectures 5

6 Modelling Time-dependent Data Some data values vary over time and it may be important to store a history of data values to understand trends and for forecasting for accounting purposes we are likely to need a history of costs of material and labour costs and the time period over which each cost was in effect reflect changes in price of retail items Modelling time-dependent data can result in changes to entities, attributes and relationships 31 Modelling Time-dependent Data One technique is to store a series of time stamped data values These values can either be represented as repeating data or as an additional entity called PRICE HISTORY Price Effective date belongs to has PRICE HISTORY 32 Modelling Time-dependent Data Entity Types and Sub-types Relationship cardinality can change DEPT works for DEPT has worked for has working had working 33 Some entities can be generalised (or specialised) to form other entities An entity subtype is made up from some of the instances of the entity This is useful when one sub-type participates in a specific relationship not shared by other sub-types of the same entity 34 Entity Types and Sub-types Entity Sub-types and Super-types The entity types Motor Car Truck Train can be grouped together to form the generalised entity supertype Transport Vehicle Example entity sub-type and super-type the entity super-type includes the subtype SALESPERSON SALESPERSON IMS1002/CSE1205 Lectures 6

7 Entity subtypes are included in the ER model only when they are of use - they may participate in relationships and have additional attributes in their own right DEPARTMENT employed by Entity Sub-types SALESPERSON services served by 37 Multiple Entity Sub-types Entity types may have multiple subtypes Entity subtypes may be nested PART-TIME FULL-TIME PROPERTY COMMERCIAL RESIDENTIAL METROPOLITAN COUNTRY 38 Multiple Entity Sub-types Multiple entity subtypes should be non-overlapping (disjoint) collectively exhaustive This enables easier translation to a relational design PART-TIME SALARIED PROPERTY METROPOLITAN RESIDENTIAL?? COMMERCIAL 39 Building a Basic ER Model Identify and list the major entities in the system Represent the entities by named rectangles Identify, draw, name, and quantify relationships Indicate mandatory/optional nature of relationships Revise for entity subtypes where appropriate 40 Airline ticketing model COUPON Building a Basic ER Model made up of for FLIGHT TICKET shown on PASSENGER scheduled as AIRLINE ROUTE operated by AIRLINE arrival departure AIRPORT See Barker (1989), chap Eliciting Information for ER Models Fact-finding and information gathering techniques are used to determine the entities and relationships Identify both existing and new information Existing documents are particularly useful forms, paper-based and computer files, reports, listings, data manuals, data dictionary Existing and new business rules for information are often difficult to elicit from documents it is essential to speak directly to the client 42 IMS1002/CSE1205 Lectures 7

8 ER Modelling Difficulties Quality Dimensions Is a given object an entity or relationship? Are two similar objects one entity or two? Is a given object an entity or an attribute of (data item about) an entity? vs SPOUSE Do we need to store data about the object? What is the 'best' data model? Correctness Completeness Understandability Simplicity Flexibility ER Models and DFDs Do not to confuse entities with sources/sinks or relationships with data flows EXPENSE TREASURER ACCOUNT EXPENSE REPORT TREASURER is the person entering data; there is only one person and hence it is not an entity type ACCOUNT has many account balance instances EXPENSE has many expense transactions EXPENSE REPORT contents are already in ACCOUNT and EXPENSE - it is not an entity type 45 Integrating ER Models and DFDs All data elements represented in a DFD (data flows and data stores) MUST correspond to entities and their attributes in the ER model 2 Check sales order Sales orders 3 Produce weekly sales totals made up of LINE placed by for 46 References Hoffer, J.A., George, J.F. and Valacich, J.S., (2002), Modern Systems Analysis and Design, (3 rd edn.), Pearson Education Inc., Upper Saddle River, NJ, USA. Chs.1, 2, 3. Barker, R. (1989) CASE*METHOD Entity Relationship Modelling, Addison-Wesley, Wokingham UK. Chs. 4,5. Whitten, J.L., Bentley, L.D. and Dittman, K.C., (2004), Systems Analysis and Design Methods, (6 th edn.), McGraw-Hill, Boston, MA., USA. Chs. 1, 3, IMS1002/CSE1205 Lectures 8

Detailed Data Modelling. Detailed Data Modelling. Detailed Data Modelling. Identifying Attributes. Attributes

Detailed Data Modelling. Detailed Data Modelling. Detailed Data Modelling. Identifying Attributes. Attributes IMS1002 /CSE1205 Systems Analysis and Design Detailed Data Modelling The objective of detailed data modelling is to develop a detailed data structure that: Detailed Data Modelling: Attribute Collection

More information

Detailed Data Modelling: Attribute Collection and Normalisation of Data

Detailed Data Modelling: Attribute Collection and Normalisation of Data Detailed Data Modelling IMS1002 /CSE1205 Systems Analysis and Design Detailed Data Modelling: Attribute Collection and Normalisation of Data The objective of detailed data modelling is to develop a detailed

More information

Modern Systems Analysis and Design Seventh Edition

Modern Systems Analysis and Design Seventh Edition Modern Systems Analysis and Design Seventh Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Structuring System Data Requirements Learning Objectives ü Concisely define each of the following

More information

Information Technology Audit & Cyber Security

Information Technology Audit & Cyber Security Information Technology Audit & Cyber Security Structured Data Requirements Systems & Infrastructure Lifecycle Management with E-R LEARNING OBJECTIVES Explain the role of conceptual data modeling in the

More information

Process Modelling. Data flow Diagrams. Process Modelling Data Flow Diagrams. CSE Information Systems 1

Process Modelling. Data flow Diagrams. Process Modelling Data Flow Diagrams. CSE Information Systems 1 CSE104 - Information s 1 Process Modelling Data Flow Diagrams Process Modelling Process modelling aims to graphically represent the processes which capture, manipulate, store and distribute data. data

More information

Multiple Choice Questions

Multiple Choice Questions Chapter 9 Structuring System Data Requirements 193 Chapter 9 Structuring System Data Requirements Multiple Choice Questions 1. Some systems developers believe that a data model is the most important part

More information

Database Systems. Overview - important points. Lecture 5. Some introductory information ERD diagrams Normalization Other stuff 08/03/2015

Database Systems. Overview - important points. Lecture 5. Some introductory information ERD diagrams Normalization Other stuff 08/03/2015 Lecture 5 Database Systems Instructor: M.Imran Khalil Imrankhalil3@gmail.com Resource:Imrankhalil3.wordpress.com University of Sargodha Canal Campus Lahore Overview - important points Some introductory

More information

Modelling: Review. Modelling Information Systems. Models in analysis and design. Process Modelling. Modelling perspectives

Modelling: Review. Modelling Information Systems. Models in analysis and design. Process Modelling. Modelling perspectives Modelling: Review IMS100 Systems Analysis and Design Topic Review of Process Modelling Why do we do it? Communication and understanding Simplification all models are simplifications of the real world:

More information

Represent entities and relations with diagrams

Represent entities and relations with diagrams LEARNING OBJECTIVES Define data modeling terms Describe E-R Model Identify entities and relations Represent entities and relations with diagrams WHAT IS DATA MODELING? A data model is a collection of concepts

More information

Modelling as a Communication Tool: Introduction to Process Modelling. Modelling. Simplification in modelling. Representation in modelling

Modelling as a Communication Tool: Introduction to Process Modelling. Modelling. Simplification in modelling. Representation in modelling CSE104 - Information Systems 1 Modelling as a Communication Tool: Introduction to Process Modelling The requirements specification document Must be communicated to key stakeholders Should contain: Functions

More information

Introduction to Database. Dr Simon Jones Thanks to Mariam Mohaideen

Introduction to Database. Dr Simon Jones Thanks to Mariam Mohaideen Introduction to Database Dr Simon Jones simon.jones@nyumc.org Thanks to Mariam Mohaideen Today database theory Key learning outcome - is to understand data normalization Thursday, 19 November Introduction

More information

information process modelling DFDs Process description

information process modelling DFDs Process description Process modelling IMS9300 IS/IM FUNDAMENTALS information process modelling DFDs Process description processes are the action part of businesses process modelling graphically represents the processes which

More information

Data Analysis 1. Chapter 2.1 V3.1. Napier University Dr Gordon Russell

Data Analysis 1. Chapter 2.1 V3.1. Napier University Dr Gordon Russell Data Analysis 1 Chapter 2.1 V3.1 Copyright @ Napier University Dr Gordon Russell Entity Relationship Modelling Overview Database Analysis Life Cycle Components of an Entity Relationship Diagram What is

More information

Entity Relationship Modelling

Entity Relationship Modelling Entity Relationship Modelling Overview Database Analysis Life Cycle Components of an Entity Relationship Diagram What is a relationship? Entities, attributes, and relationships in a system The degree of

More information

E-R Model. Hi! Here in this lecture we are going to discuss about the E-R Model.

E-R Model. Hi! Here in this lecture we are going to discuss about the E-R Model. E-R Model Hi! Here in this lecture we are going to discuss about the E-R Model. What is Entity-Relationship Model? The entity-relationship model is useful because, as we will soon see, it facilitates communication

More information

Unit 2 - Data Modeling. Pratian Technologies (India) Pvt. Ltd.

Unit 2 - Data Modeling. Pratian Technologies (India) Pvt. Ltd. Unit 2 - Data Modeling Pratian Technologies (India) Pvt. Ltd. Topics Information Engineering Approaches to IS Developments SDLC Prototyping ER Modeling Why Data Modeling? Definition Information Engineering

More information

Non-overlappingoverlapping. Final outcome of the worked example On pages R&C pages R&C page 157 Fig 3.52

Non-overlappingoverlapping. Final outcome of the worked example On pages R&C pages R&C page 157 Fig 3.52 Objectives Computer Science 202 Database Systems: Entity Relation Modelling To learn what a conceptual model is and what its purpose is. To learn the difference between internal models and external models.

More information

Conceptual Database Design. COSC 304 Introduction to Database Systems. Entity-Relationship Modeling. Entity-Relationship Modeling

Conceptual Database Design. COSC 304 Introduction to Database Systems. Entity-Relationship Modeling. Entity-Relationship Modeling COSC 304 Introduction to Database Systems Entity-Relationship Modeling Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Conceptual Database Design Conceptual database design

More information

The Entity-Relationship Model. The Entity-Relationship model. The ER model. The Entity-Relationship model. E-R Model Constructs. E-R Model Constructs

The Entity-Relationship Model. The Entity-Relationship model. The ER model. The Entity-Relationship model. E-R Model Constructs. E-R Model Constructs The Entity-Relationship Model Conceptual Data Modeling The Entity-Relationship model The E-R model is a detailed, logical representation of the data for an organisation or business area It should be understandable

More information

Related download: Instructor Manual for Modern Database Management 12th Edition by Hoffer Venkataraman Topi (Case studies included)

Related download: Instructor Manual for Modern Database Management 12th Edition by Hoffer Venkataraman Topi (Case studies included) Modern Database Management Test Bank, 12e (Hoffer) Completed download: https://testbankarea.com/download/modern-database-management-12thedition-test-bank-hoffer-venkataraman-topi/ Related download: Instructor

More information

THE ENTITY- RELATIONSHIP (ER) MODEL CHAPTER 7 (6/E) CHAPTER 3 (5/E)

THE ENTITY- RELATIONSHIP (ER) MODEL CHAPTER 7 (6/E) CHAPTER 3 (5/E) THE ENTITY- RELATIONSHIP (ER) MODEL CHAPTER 7 (6/E) CHAPTER 3 (5/E) 2 CHAPTER 7 OUTLINE Using High-Level, Conceptual Data Models for Database Design Entity-Relationship (ER) model Popular high-level conceptual

More information

Agenda: Understanding Relationship Types Degree and Cardinality with Examples

Agenda: Understanding Relationship Types Degree and Cardinality with Examples Data Processing AAOC C311 I Semester 2012 2013 CLASS 4 Agenda: Understanding Relationship Types Degree and Cardinality with Examples Prentice Hall, 2002 1 More on Relationships (A set of meaningful associations

More information

Entity Relationship modeling from an ORM perspective: Part 2

Entity Relationship modeling from an ORM perspective: Part 2 Entity Relationship modeling from an ORM perspective: Part 2 Terry Halpin Microsoft Corporation Introduction This article is the second in a series of articles dealing with Entity Relationship (ER) modeling

More information

Objectives Definition iti of terms Importance of data modeling Write good names and definitions for entities, relationships, and attributes Distinguis

Objectives Definition iti of terms Importance of data modeling Write good names and definitions for entities, relationships, and attributes Distinguis Chapter 3: Modeling Data in the Organization Modern Database Management 9 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Heikki Topi 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Objectives

More information

IS 263 Database Concepts

IS 263 Database Concepts IS 263 Database Concepts Lecture 1: Database Design Instructor: Henry Kalisti 1 Department of Computer Science and Engineering The Entity-Relationship Model? 2 Introduction to Data Modeling Semantic data

More information

Database Design Process

Database Design Process Database Design Process Real World Functional Requirements Requirements Analysis Database Requirements Functional Analysis Access Specifications Application Pgm Design E-R Modeling Choice of a DBMS Data

More information

MIS2502: Data Analytics Relational Data Modeling - 1. JaeHwuen Jung

MIS2502: Data Analytics Relational Data Modeling - 1. JaeHwuen Jung MIS2502: Data Analytics Relational Data Modeling - 1 JaeHwuen Jung jaejung@temple.edu http://community.mis.temple.edu/jaejung Where we are Now we re here Data entry Transactional Database Data extraction

More information

Introduction to modeling. ER modelling

Introduction to modeling. ER modelling Introduction to modeling ER modelling Slides for this part are based on Chapters 8 from Halpin, T. & Morgan, T. 2008, Information Modeling and Relational Databases, Second Edition (ISBN: 978-0-12-373568-3),

More information

ER DIAGRAM ER) diagram, a graphical representation of entities and their relationships to each other, typically used in computing in regard to the

ER DIAGRAM ER) diagram, a graphical representation of entities and their relationships to each other, typically used in computing in regard to the ER DIAGRAM ER) diagram, a graphical representation of entities and their relationships to each other, typically used in computing in regard to the organization of data within databases or information systems.

More information

0. Database Systems 1.1 Introduction to DBMS Information is one of the most valuable resources in this information age! How do we effectively and efficiently manage this information? - How does Wal-Mart

More information

Chapter 2 Conceptual Modeling. Objectives

Chapter 2 Conceptual Modeling. Objectives Chapter 2 Conceptual Modeling Basic Entity Relationship Diagrams 1 Objectives Definition of terms Importance of data modeling Write good names and definitions for entities, relationships, and attributes

More information

CMP-3440 Database Systems

CMP-3440 Database Systems CMP-3440 Database Systems Database Architecture Lecture 02 zain 1 Database Design Process Application 1 Conceptual requirements Application 1 External Model Application 2 Application 3 Application 4 External

More information

Lecture 5 STRUCTURED ANALYSIS. PB007 So(ware Engineering I Faculty of Informa:cs, Masaryk University Fall Bühnová, Sochor, Ráček

Lecture 5 STRUCTURED ANALYSIS. PB007 So(ware Engineering I Faculty of Informa:cs, Masaryk University Fall Bühnová, Sochor, Ráček Lecture 5 STRUCTURED ANALYSIS PB007 So(ware Engineering I Faculty of Informa:cs, Masaryk University Fall 2015 1 Outline ² Yourdon Modern Structured Analysis (YMSA) Context diagram (CD) Data flow diagram

More information

MTAT Introduction to Databases

MTAT Introduction to Databases MTAT.03.105 Introduction to Databases Lecture #4 Entity-Relationship Modelling Ljubov Jaanuska (ljubov.jaanuska@ut.ee) Lecture 3. Summary So far we have been dealing with a relational database (PCA.db)

More information

COSC 304 Introduction to Database Systems. Entity-Relationship Modeling

COSC 304 Introduction to Database Systems. Entity-Relationship Modeling COSC 304 Introduction to Database Systems Entity-Relationship Modeling Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Conceptual Database Design Conceptual database design

More information

Conceptual Data Models for Database Design

Conceptual Data Models for Database Design Conceptual Data Models for Database Design Entity Relationship (ER) Model The most popular high-level conceptual data model is the ER model. It is frequently used for the conceptual design of database

More information

Course Design Document: IS202 Data Management. Version 4.5

Course Design Document: IS202 Data Management. Version 4.5 Course Design Document: IS202 Data Management Version 4.5 Friday, October 1, 2010 Table of Content 1. Versions History... 4 2. Overview of the Data Management... 5 3. Output and Assessment Summary... 6

More information

Full file at

Full file at Modern Database Management, 10e (Hoffer/Ramesh/Topi) Chapter 2 Modeling Data in the Organization 1) Data modeling may be the most important part of the systems development process because: A) data characteristics

More information

Chapter 1: The Database Environment

Chapter 1: The Database Environment Chapter 1: The Database Environment Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden Prentice Hall, 2002 1 Definitions Data: Meaningful facts, text, graphics,

More information

Conceptual Data Modeling and the Entity- Relationship Model. Department of Computer Science Northern Illinois University September 2014

Conceptual Data Modeling and the Entity- Relationship Model. Department of Computer Science Northern Illinois University September 2014 Conceptual Data Modeling and the Entity- Relationship Model Department of Computer Science Northern Illinois University September 2014 Data Models A means of describing the structure of the data A set

More information

COMP Instructor: Dimitris Papadias WWW page:

COMP Instructor: Dimitris Papadias WWW page: COMP 5311 Instructor: Dimitris Papadias WWW page: http://www.cse.ust.hk/~dimitris/5311/5311.html Textbook Database System Concepts, A. Silberschatz, H. Korth, and S. Sudarshan. Reference Database Management

More information

Conceptual and Logical Design

Conceptual and Logical Design Conceptual and Logical Design Lecture 3 (Part 1) Akhtar Ali Building Conceptual Data Model To build a conceptual data model of the data requirements of the enterprise. Model comprises entity types, relationship

More information

Chapter 2 ENTITY RELATIONSHIP MODEL

Chapter 2 ENTITY RELATIONSHIP MODEL INTRODUCTION Chapter 2 ENTITY RELATIONSHIP MODEL Data model is used to describe data, data relationship and constraints on data. A number of different data models have proposed. They can broadly be classified

More information

LECTURE 3: ENTITY-RELATIONSHIP MODELING

LECTURE 3: ENTITY-RELATIONSHIP MODELING LECTURE 3: ENTITY-RELATIONSHIP MODELING Ref. Chapter11 + Appendix F from Database Systems: A Practical Approach to Design, Implementation and Management. Thomas Connolly, Carolyn Begg. 1 IS220 : D a t

More information

Essentials of Database Management (Hoffer et al.) Chapter 2 Modeling Data in the Organization

Essentials of Database Management (Hoffer et al.) Chapter 2 Modeling Data in the Organization Essentials of Database Management (Hoffer et al.) Chapter 2 Modeling Data in the Organization 1) The logical representation of an organization's data is called a(n): A) database model. B) entity-relationship

More information

2004 John Mylopoulos. The Entity-Relationship Model John Mylopoulos. The Entity-Relationship Model John Mylopoulos

2004 John Mylopoulos. The Entity-Relationship Model John Mylopoulos. The Entity-Relationship Model John Mylopoulos XVI. The Entity-Relationship Model The Entity Relationship Model The Entity-Relationship Model Entities, Relationships and Attributes Cardinalities, Identifiers and Generalization Documentation of E-R

More information

Database Management System CS403 Lecture No 1 Database definitions: 1 A shared collection of logically related data, designed to meet the information

Database Management System CS403 Lecture No 1 Database definitions: 1 A shared collection of logically related data, designed to meet the information Database Management System CS403 Lecture No 1 Database definitions: 1 A shared collection of logically related data, designed to meet the information needs of multiple users in an organization. 2 A Computerized

More information

Entity Relationship Modelling

Entity Relationship Modelling Entity Relationship Modelling P.J. M c.brien Imperial College London P.J. M c.brien (Imperial College London) Entity Relationship Modelling 1 / 49 Introduction Designing a Relational Database Schema How

More information

Data Modeling During System Analysis. Logical Data Model Stages. What is Conceptual Database Design? Gathering Information for Conceptual

Data Modeling During System Analysis. Logical Data Model Stages. What is Conceptual Database Design? Gathering Information for Conceptual Data Modeling Entity Relationship Diagram Lecture 16 CSC(291) [Software Engineering 1] Instructor: Saif-ur-Rehman Khan COMSATS Institute of Information Technology, Islamabad Data Modeling During System

More information

Chapter 3 Database Modeling and Design II. Database Modeling

Chapter 3 Database Modeling and Design II. Database Modeling Chapter 3 Database Modeling and Design II. Database Modeling Dr. Eng. Shady Aly 1 Data modeling تمثيل مجرد A data model is abstract representation of the data on which the IS application is to be based

More information

ER modeling. Lecture 4

ER modeling. Lecture 4 ER modeling Lecture 4 1 Copyright 2007 STI - INNSBRUCK Today s lecture ER modeling Slides based on Introduction to Entity-relationship modeling at http://www.inf.unibz.it/~franconi/teaching/2000/ct481/er-modelling/

More information

Online Data Modeling to Improve Students Learning of Conceptual Data Modeling

Online Data Modeling to Improve Students Learning of Conceptual Data Modeling Association for Information Systems AIS Electronic Library (AISeL) SAIS 2005 Proceedings Southern (SAIS) 3-1-2005 Online Data Modeling to Improve Students Learning of Conceptual Data Modeling Hsiang-Jui

More information

Using High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys

Using High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys Chapter 7: Data Modeling Using the Entity- Relationship (ER) Model Using High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys

More information

XV. The Entity-Relationship Model

XV. The Entity-Relationship Model XV. The Entity-Relationship Model The Entity-Relationship Model Entities, Relationships and Attributes Cardinalities, Identifiers and Generalization Documentation of E-R Diagrams and Business Rules Acknowledgment:

More information

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management Tenth Edition Chapter 4 Entity Relationship (ER) Modeling Objectives In this chapter, students will learn: The main characteristics of entity relationship

More information

Data Modelling. Static Data in the organisation Fundamental building block of the system Two perspectives (Process and Data) Of Data.

Data Modelling. Static Data in the organisation Fundamental building block of the system Two perspectives (Process and Data) Of Data. Content IMS 5024 Second assignment Nature of data modelling Tools/Techniques used in data modelling Place in ISD Evaluation of data modelling Reading list Data Modelling 2 Assignment 2 OO modelling Assignment

More information

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data. Managing Data Data storage tool must provide the following features: Data definition (data structuring) Data entry (to add new data) Data editing (to change existing data) Querying (a means of extracting

More information

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Data Modeling with Entity Relationship Diagrams Objectives In this chapter, students will learn: The

More information

Database Design Process. Requirements Collection & Analysis

Database Design Process. Requirements Collection & Analysis Database Design Process Real World Functional Requirements Requirements Analysis Database Requirements Functional Analysis Access Specifications Application Pgm Design E-R Modeling Choice of a DBMS Data

More information

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Exam Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. 1) A process has a: 1) A) pronoun label B) noun phrase label C) verb phrase label D) adjective

More information

DATABASE SYSTEMS. Chapter 5 Entity Relationship (ER) Modelling DESIGN IMPLEMENTATION AND MANAGEMENT INTERNATIONAL EDITION ROB CORONEL CROCKETT

DATABASE SYSTEMS. Chapter 5 Entity Relationship (ER) Modelling DESIGN IMPLEMENTATION AND MANAGEMENT INTERNATIONAL EDITION ROB CORONEL CROCKETT DATABASE SYSTEMS DESIGN IMPLEMENTATION AND MANAGEMENT INTERNATIONAL EDITION ROB CORONEL CROCKETT Chapter 5 Entity Relationship (ER) Modelling 1 Coronel & Crockett 978184480731) In this chapter, you will

More information

Chapter 4. In this chapter, you will learn:

Chapter 4. In this chapter, you will learn: Chapter Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel 1 In this chapter, you will learn: The main characteristics of entity

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe CHAPTER 4 Enhanced Entity-Relationship (EER) Modeling Slide 1-2 Chapter Outline EER stands for Enhanced ER or Extended ER EER Model Concepts Includes all modeling concepts of basic ER Additional concepts:

More information

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management Tenth Edition Chapter 4 Entity Relationship (ER) Modeling 4.1 The Entity Relationship Model (ERM) ER model forms the basis of an ER diagram ERD

More information

1. Data flow diagrams (DFDs) are used to depict the flow and transformation of data

1. Data flow diagrams (DFDs) are used to depict the flow and transformation of data SUMMARY OF MODULE 5 1. Data flow diagrams (DFDs) are used to depict the flow and transformation of data in an information processing system. 2. DFDs give an overview to an analyst specifying where data

More information

Conceptual Database Design (ER modeling) Chapter Three

Conceptual Database Design (ER modeling) Chapter Three Conceptual Database Design (ER modeling) Chapter Three 1 Agenda (Chapter Three) Overview-database design Conceptual Design (E-R Modeling) Structural Constraints EER- Generalization and Specialization Reducing

More information

Unit 2. Unit 3. Unit 4

Unit 2. Unit 3. Unit 4 Course Objectives At the end of the course the student will be able to: 1. Differentiate database systems from traditional file systems by enumerating the features provided by database systems.. 2. Design

More information

Objectives of logical design... Transforming the ERD diagram into relations. Relational database components. Mapping a composite attribute

Objectives of logical design... Transforming the ERD diagram into relations. Relational database components. Mapping a composite attribute Logical database design and the relational model Objectives of logical design... Translate the conceptual design into a logical database design that can be implemented on a chosen DBMS Input: conceptual

More information

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 4-1

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 4-1 Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 4-1 Chapter 4 Enhanced Entity-Relationship (EER) Modeling Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Chapter Outline EER stands for

More information

Chapter 4 Entity Relationship Modeling In this chapter, you will learn:

Chapter 4 Entity Relationship Modeling In this chapter, you will learn: Chapter Entity Relationship Modeling In this chapter, you will learn: What a conceptual model is and what its purpose is The difference between internal and external models How internal and external models

More information

Entity Relationship Data Model. Slides by: Shree Jaswal

Entity Relationship Data Model. Slides by: Shree Jaswal Entity Relationship Data Model Slides by: Shree Jaswal Topics: Conceptual Modeling of a database, The Entity-Relationship (ER) Model, Entity Types, Entity Sets, Attributes, and Keys, Relationship Types,

More information

Lecture3: Data Modeling Using the Entity-Relationship Model.

Lecture3: Data Modeling Using the Entity-Relationship Model. College of Computer and Information Sciences - Information Systems Dept. Lecture3: Data Modeling Using the Entity-Relationship Model. Ref. Chapter12 Prepared by L. Nouf Almujally & Aisha AlArfaj Rev. by

More information

CS 4604: Introduction to Database Management Systems. B. Aditya Prakash Lecture #5: Entity/Relational Models---Part 1

CS 4604: Introduction to Database Management Systems. B. Aditya Prakash Lecture #5: Entity/Relational Models---Part 1 CS 4604: Introduction to Database Management Systems B. Aditya Prakash Lecture #5: Entity/Relational Models---Part 1 E/R: NOT IN BOOK! IMPORTANT: Follow only lecture slides for this topic! Differences

More information

Domain Model and Domain Modeling

Domain Model and Domain Modeling Dr. Michael Eichberg Software Engineering Department of Computer Science Technische Universität Darmstadt Software Engineering Domain Model and Domain Modeling Resources: Craig Larman; Applying UML and

More information

Module 2 : Entity-Relationship Model 15

Module 2 : Entity-Relationship Model 15 Module 2 : Entity-Relationship Model 15 Module-02 Entity Relationship Data Model 2.1 Motivation Data modeling is an essential step in the process of creating any Database Application. It helps Database

More information

CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam

CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam Question No: 1 ( Marks: 1 ) - Please choose one Which of the following is NOT a feature of Context DFD?

More information

Objectives Definition iti of terms List five properties of relations State two properties of candidate keys Define first, second, and third normal for

Objectives Definition iti of terms List five properties of relations State two properties of candidate keys Define first, second, and third normal for Chapter 5: Logical Database Design and the Relational Model Modern Database Management 9 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Heikki Topi 2009 Pearson Education, Inc. Publishing as Prentice

More information

Entity Relationship Diagram (ERD): Basics

Entity Relationship Diagram (ERD): Basics Entity Relationship Diagram (ERD): Basics CIS 3730 Designing and Managing Data J.G. Zheng Fall 2010 Overview: 3 Level Database Design Creating an Entity Relationship Diagram (ERD) and associated data dictionary

More information

Entity-Relationship Model

Entity-Relationship Model Entity-Relationship Model Data Models High-level or conceptual data models provide concepts that are close to the way many users perceive data, whereas low-level or physical data models provide concepts

More information

Enhanced Entity-Relationship (EER) Modeling

Enhanced Entity-Relationship (EER) Modeling CHAPTER 4 Enhanced Entity-Relationship (EER) Modeling Copyright 2017 Ramez Elmasri and Shamkant B. Navathe Slide 1-2 Chapter Outline EER stands for Enhanced ER or Extended ER EER Model Concepts Includes

More information

Intro to DB CHAPTER 6

Intro to DB CHAPTER 6 Intro to DB CHAPTER 6 DATABASE DESIGN &THEER E-R MODEL Chapter 6. Entity Relationship Model Design Process Modeling Constraints E-R Diagram Design Issues Weak Entity Sets Extended E-R Features Design of

More information

Entity-Relationship Modelling. Entities Attributes Relationships Mapping Cardinality Keys Reduction of an E-R Diagram to Tables

Entity-Relationship Modelling. Entities Attributes Relationships Mapping Cardinality Keys Reduction of an E-R Diagram to Tables Entity-Relationship Modelling Entities Attributes Relationships Mapping Cardinality Keys Reduction of an E-R Diagram to Tables 1 Entity Sets A enterprise can be modeled as a collection of: entities, and

More information

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Data Modeling with Entity Relationship Diagrams Objectives In this chapter, students will learn: The

More information

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010 CS403- Database Management Systems Solved MCQS From Midterm Papers April 29,2012 MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01 CS403- Database Management Systems MIDTERM EXAMINATION - Spring

More information

Institute of Southern Punjab, Multan

Institute of Southern Punjab, Multan Institute of Southern Punjab, Multan Mr. Muhammad Nouman Farooq BSC-H (Computer Science) MS (Telecomm. and Networks) Honors: Magna Cumm Laude Honors Degree Gold Medalist! Blog Url: noumanfarooqatisp.wordpress.com

More information

Entity-Relationship Model. From Chapter 5, Kroenke book

Entity-Relationship Model. From Chapter 5, Kroenke book Entity-Relationship Model From Chapter 5, Kroenke book Database Design Process Requirements analysis Conceptual design data model Logical design Schema refinement: Normalization Physical tuning Problem:

More information

Overview of Database Design Process Example Database Application (COMPANY) ER Model Concepts

Overview of Database Design Process Example Database Application (COMPANY) ER Model Concepts Chapter Outline Overview of Database Design Process Example Database Application (COMPANY) ER Model Concepts Entities and Attributes Entity Types, Value Sets, and Key Attributes Relationships and Relationship

More information

Data Modeling Using the Entity-Relationship (ER) Model

Data Modeling Using the Entity-Relationship (ER) Model CHAPTER 3 Data Modeling Using the Entity-Relationship (ER) Model Copyright 2017 Ramez Elmasri and Shamkant B. Navathe Slide 1-1 Chapter Outline Overview of Database Design Process Example Database Application

More information

CSE Information Systems 1

CSE Information Systems 1 CSE1204 - Information Systems 1 Detailed Process Definitions; The Data Dictionary Data Dictionary the data dictionary is a database or repository of information about objects identified during systems

More information

Lecture 09. Spring 2018 Borough of Manhattan Community College

Lecture 09. Spring 2018 Borough of Manhattan Community College Lecture 09 Spring 2018 Borough of Manhattan Community College 1 Entity Relationship Modeling The Entity Relationship (ER) is a nontechnical communication model that describes the nature of the data and

More information

Data Modeling Online Training

Data Modeling Online Training Data Modeling Online Training IQ Online training facility offers Data Modeling online training by trainers who have expert knowledge in the Data Modeling and proven record of training hundreds of students.

More information

Chapter 8 The Enhanced Entity- Relationship (EER) Model

Chapter 8 The Enhanced Entity- Relationship (EER) Model Chapter 8 The Enhanced Entity- Relationship (EER) Model Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 8 Outline Subclasses, Superclasses, and Inheritance Specialization

More information

Advance Database Management System

Advance Database Management System Advance Database Management System Conceptual Design Lecture- A simplified database design process Database Requirements UoD Requirements Collection and Analysis Functional Requirements A simplified database

More information

System Analysis & design

System Analysis & design Assiut University Faculty of Computers and Information System Analysis & design Year 2 Academic Year 2014/ 2015 Term (2) Copyright 2014 Dr. Hossam Ragab 6 data model describes the data that flow through

More information

Lab # 1. Structuring System Requirements: Diagrams

Lab # 1. Structuring System Requirements: Diagrams Lab # 1 Structuring System Requirements: Diagrams Objectives 1. Use Case diagrams 2. Class Objects (CO) diagrams 3. Context Data Flow Diagrams (Context DFDs) 4. Level-0 Data Flow Diagrams (Level-0 DFDs)

More information

QM Chapter 1 Database Fundamentals Version 10 th Ed. Prepared by Dr Kamel Rouibah / Dept QM & IS

QM Chapter 1 Database Fundamentals Version 10 th Ed. Prepared by Dr Kamel Rouibah / Dept QM & IS QM 433 - Chapter 1 Database Fundamentals Version 10 th Ed Prepared by Dr Kamel Rouibah / Dept QM & IS www.cba.edu.kw/krouibah Dr K. Rouibah / dept QM & IS Chapter 1 (433) Database fundamentals 1 Objectives

More information

COIS Databases

COIS Databases Faculty of Computing and Information Technology in Rabigh COIS 342 - Databases Chapter 4 Enhanced Entity-Relationship and UML Modeling Adapted from Elmasri & Navathe by Dr Samir BOUCETTA First Semester

More information

Unit 2 Research Project. Eddie S. Jackson. Kaplan University. IT525: Database Design and Data Modeling

Unit 2 Research Project. Eddie S. Jackson. Kaplan University. IT525: Database Design and Data Modeling Running head: UNIT 2 RESEARCH PROJECT 1 Unit 2 Research Project Eddie S. Jackson Kaplan University IT525: Database Design and Data Modeling 05/18/2014 UNIT 2 RESEARCH PROJECT 2 Unit 2 Research Project

More information

COIT20248: Information Systems Analysis and Design Term 2, 2015 Assignment 2. Lecturer: Dr. Meena Jha Tutor: Aries Tao

COIT20248: Information Systems Analysis and Design Term 2, 2015 Assignment 2. Lecturer: Dr. Meena Jha Tutor: Aries Tao COIT20248: Information Systems Analysis and Design Term 2, 2015 Assignment 2 Lecturer: Dr. Meena Jha Tutor: Aries Tao Prepared by: AXXXX XXXX: S0XXXXXX AXXXX MXXXXX: BisXXXXX BaXXXX: S0XXXXX S02XXXX SXXXXX

More information

Elements of the E-R Model

Elements of the E-R Model Chapter 3: The Entity Relationship Model Agenda Basic Concepts of the E-R model (Entities, Attributes, Relationships) Basic Notations of the E-R model ER Model 1 Elements of the E-R Model E-R model was

More information