Modern Systems Analysis and Design

Similar documents
Modern Systems Analysis and Design

Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model

DATABASE DESIGN. - Developing database and information systems is performed using a development lifecycle, which consists of a series of steps.

LECTURE 11: PROCESS MODELING

s от Systems Analysis and Design

Concepts of Database Management Seventh Edition. Chapter 6 Database Design 2: Design Method

7.1 The Information system

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

Unit 2.1. Data Analysis 1 - V Data Analysis 1. Dr Gordon Russell, Napier University

Database Design Process

Data Analysis 1. SET08104 Database Systems. Napier University

IT2304: Database Systems 1 (DBS 1)

Chapter 2: Entity-Relationship Model. Entity Sets. " Example: specific person, company, event, plant

CSC 742 Database Management Systems

Database Design Process

Chapter 2: Entity-Relationship Model. E-R R Diagrams

1. Process Modeling. Process Modeling (Cont.) Content. Chapter 7 Structuring System Process Requirements

2. Conceptual Modeling using the Entity-Relationship Model

IT2305 Database Systems I (Compulsory)

Chapter 2: Entity-Relationship Model

Database Design Methodology

Lesson 8: Introduction to Databases E-R Data Modeling

three Entity-Relationship Modeling chapter OVERVIEW CHAPTER

We know how to query a database using SQL. A set of tables and their schemas are given Data are properly loaded

The Entity-Relationship Model

A brief overview of developing a conceptual data model as the first step in creating a relational database.

Database Design Overview. Conceptual Design ER Model. Entities and Entity Sets. Entity Set Representation. Keys

How To Write A Diagram

COMP 378 Database Systems Notes for Chapter 7 of Database System Concepts Database Design and the Entity-Relationship Model

DATABASE MANAGEMENT SYSTEMS. Question Bank:

Data Modeling: Part 1. Entity Relationship (ER) Model

6-1. Process Modeling

Chapter 10 Practical Database Design Methodology and Use of UML Diagrams

not necessarily strictly sequential feedback loops exist, i.e. may need to revisit earlier stages during a later stage

Foundations of Information Management

An Automatic Tool for Checking Consistency between Data Flow Diagrams (DFDs)


Collated Food Requirements. Received orders. Resolved orders. 4 Check for discrepancies * Unmatched orders

BCA. Database Management System

Data Flow Diagrams. Outline. Some Rules for External Entities 1/25/2010. Mechanics

Databases What the Specification Says

Lecture 12: Entity Relationship Modelling

æ A collection of interrelated and persistent data èusually referred to as the database èdbèè.

Data Modeling Basics

Fundamentals of Information Systems, Fifth Edition. Chapter 8 Systems Development

Databases and BigData

Chapter 5: Logical Database Design and the Relational Model Part 2: Normalization. Introduction to Normalization. Normal Forms.

Business Definitions for Data Management Professionals

Why & How: Business Data Modelling. It should be a requirement of the job that business analysts document process AND data requirements

Database Design. Database Design I: The Entity-Relationship Model. Entity Type (con t) Chapter 4. Entity: an object that is involved in the enterprise

14 Databases. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to:

Lecture Notes INFORMATION RESOURCES

Business Systems Analysis - Course Outline -

ER modelling, Weak Entities, Class Hierarchies, Aggregation

Conceptual Design: Entity Relationship Models. Objectives. Overview

Bridge from Entity Relationship modeling to creating SQL databases, tables, & relations

Database IST400/600. Jian Qin. A collection of data? A computer system? Everything you collected for your group project?

LAB 3: Introduction to Domain Modeling and Class Diagram

1 Class Diagrams and Entity Relationship Diagrams (ERD)

IV. The (Extended) Entity-Relationship Model

Entity-Relationship Model

Database Design Methodologies

MAHATMA GANDHI UNIVERSITY SCHOOL OF DISTANCE EDUCATION (MGU CBCSS UG SDE 2012)

Foundations of Information Management

XV. The Entity-Relationship Model

Introduction to Systems Analysis and Design

IT2404 Systems Analysis and Design (Compulsory)

Fundamentals of Database System

Chapter 3. Data Flow Diagrams

DATABASE REVERSE ENGINEERING

Systems Analysis and Design

Outline. Data Modeling. Conceptual Design. ER Model Basics: Entities. ER Model Basics: Relationships. Ternary Relationships. Yanlei Diao UMass Amherst

SOFTWARE ENGINEERING INTERVIEW QUESTIONS

D6 INFORMATION SYSTEMS DEVELOPMENT. SOLUTIONS & MARKING SCHEME. June 2013

Fundamentals of Database Design

Database Management Systems

Response to MDC/Microsoft Business Rules Metamodel

Phase 2 Systems Analysis. Dr. Feng-Jen Yang

Writing Reports BJECTIVES ONTENTS. By the end of this section you should be able to :

Chapter 8 The Enhanced Entity- Relationship (EER) Model

Objectives After completion of study of this unit you should be able to:

Fourth generation techniques (4GT)

Announcements. SE 1: Software Requirements Specification and Analysis. Review: Use Case Descriptions

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

Chapter 10 Practical Database Design Methodology and Use of UML Diagrams

Systems Investigation and Analysis. Systems Development. What is it? Why Plan?

Chapter 6. Data-Flow Diagrams

Overview. Physical Database Design. Modern Database Management McFadden/Hoffer Chapter 7. Database Management Systems Ramakrishnan Chapter 16

CASE TOOLS. Contents

Data Modeling. Database Systems: The Complete Book Ch ,

Why Data Flow Diagrams?

Database Design. Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB

USING UML FOR OBJECT-RELATIONAL DATABASE SYSTEMS DEVELOPMENT: A FRAMEWORK

Efficient Data Structures for Decision Diagrams

Answers to Review Questions

MODULE 8 LOGICAL DATABASE DESIGN. Contents. 2. LEARNING UNIT 1 Entity-relationship(E-R) modelling of data elements of an application.

Designing a Database Schema

Select the Crow s Foot entity relationship diagram (ERD) option. Create the entities and define their components.

Transcription:

Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring System Requirements: Conceptual Data Modeling 10.1 Copyright 2002 Prentice-Hall, Inc.

Learning Objectives 10.2 Define key data modeling terms Entity type Attribute Multivalued attribute Relationship Degree Cardinality Business Rule Associative entity Trigger Supertype Subtype

Learning Objectives Learn to draw Entity-Relationship (E-R) Diagrams Review the role of conceptual data modeling in overall design and analysis of an information system Distinguish between unary, binary, and ternary relationships, and give an example of each Define four basic types of business rules in an E-R diagram 10.3

Learning Objectives Explain the role of CASE technology in the analysis and documentation of data required in an information system Relate data modeling to process and logic modeling as different views describing an information system 10.4

Conceptual Data Modeling Representation of organizational data Purpose is to show rules about the meaning and interrelationships among data Entity-Relationship (E-R) diagrams are commonly used to show how data are organized Main goal of conceptual data modeling is to create accurate E-R diagrams Methods such as interviewing, questionnaires and JAD are used to collect information Consistency must be maintained between process flow, decision logic and data modeling descriptions 10.5

Process of Conceptual Data Modeling First step is to develop a data model for the system being replaced Next, a new conceptual data model is built that includes all the requirements of the new system In the design stage, the conceptual data model is translated into a physical design Project repository links all design and data modeling steps performed during SDLC 10.6

Deliverables and Outcome 10.7 Primary deliverable is the entity-relationship diagram There may be as many as 4 E-R diagrams produced and analyzed during conceptual data modeling Covers just data needed in the project s application E-R diagram for system being replaced An E-R diagram for the whole database from which the new application s data are extracted An E-R diagram for the whole database from which data for the application system being replaced is drawn

10.8 Figure 10-3 Sample conceptual data model diagram

Deliverables and Outcome Second deliverable is a set of entries about data objects to be stored in repository or project dictionary Repository links data, process and logic models of an information system Data elements that are included in the DFD must appear in the data model and visa versa Each data store in a process model must relate to business objects represented in the data model 10.9

Gathering Information for Conceptual Data Modeling Two perspectives ❶ Top-down ❿ Data model is derived from an intimate understanding of the business ❶ Bottom-up ❿ Data model is derived by reviewing specifications and business documents 10.10

Introduction to Entity- Relationship (E-R) Modeling Notation uses three main constructs ❶ Data entities ❶ Relationships ❶ Attributes Entity-Relationship (E-R) Diagram ❶ A detailed, logical representation of the entities, associations and data elements for an organization or business 10.11

Entity-Relationship (E-R) Modeling Key Terms 10.12 Entity A person, place, object, event or concept in the user environment about which the organization wishes to maintain data Represented by a rectangle in E-R diagrams Entity Type A collection of entities that share common properties or characteristics Attribute A named property or characteristic of an entity that is of interest to an organization

Entity-Relationship (E-R) Modeling Key Terms Candidate keys and identifiers ❶ Each entity type must have an attribute or set of attributes that distinguishes one instance from other instances of the same type ❶ Candidate key ❿ Attribute (or combination of attributes) that uniquely identifies each instance of an entity type 10.13

Entity-Relationship (E-R) Identifier Modeling Key Terms A candidate key that has been selected as the unique identifying characteristic for an entity type Selection rules for an identifier 1. Choose a candidate key that will not change its value 2. Choose a candidate key that will never be null 3. Avoid using intelligent keys 4. Consider substituting single value surrogate keys for large composite keys 10.14

Entity-Relationship (E-R) Modeling Key Terms Multivalued Attribute ❶ An attribute that may take on more than one value for each entity instance ❶ Represented on E-R Diagram in two ways: ❿ double-lined ellipse ❿ weak entity 10.15

Entity-Relationship (E-R) Relationship Modeling Key Terms ❶ An association between the instances of one or more entity types that is of interest to the organization ❶ Association indicates that an event has occurred or that there is a natural link between entity types ❶ Relationships are always labeled with verb phrases 10.16

Conceptual Data Modeling and the E-R Diagram Goal Capture as much of the meaning of the data as possible Result A better design that is easier to maintain 10.17

Degree of Relationship Degree Number of entity types that participate in a relationship Three cases Unary ❿ A relationship between two instances of one entity type Binary ❿ A relationship between the instances of two entity types Ternary ❿ A simultaneous relationship among the instances of three entity types ❿ Not the same as three binary relationships 10.18

10.19 Figure 10-6 Example relationships of different degrees

Cardinality The number of instances of entity B that can be associated with each instance of entity A Minimum Cardinality The minimum number of instances of entity B that may be associated with each instance of entity A Maximum Cardinality The maximum number of instances of entity B that may be associated with each instance of entity A 10.20

Naming and Defining Relationships Relationship name is a verb phrase Avoid vague names Guidelines for defining relationships Definition explains what action is being taken and why it is important Give examples to clarify the action Optional participation should be explained Explain reasons for any explicit maximum cardinality 10.21

Naming and Defining Relationships Guidelines for defining relationships ❶ Explain any restrictions on participation in the relationship ❶ Explain extent of the history that is kept in the relationship ❶ Explain whether an entity instance involved in a relationship instance can transfer participation to another relationship instance 10.22

Associative Entity An entity type that associates the instances of one or more entity types and contains attributes that are peculiar to the relationship between those entity instances 10.23

Domains The set of all data types and ranges of values that an attribute can assume Several advantages 1. Verify that the values for an attribute are valid 2. Ensure that various data manipulation operations are logical 3. Help conserve effort in describing attribute characteristics 10.24

Triggering Operations 10.25 An assertion or rule that governs the validity of data manipulation operations such as insert, update and delete Includes the following components: ❶ User rule ❿ Statement of the business rule to be enforced by the trigger ❶ Event ❿ Data manipulation operation that initiates the operation ❶ Entity Name ❿ Name of entity being accessed or modified ❶ Condition ❿ Condition that causes the operation to be triggered ❶ Action ❿ Action taken when the operation is triggered

Triggering Operations Responsibility for data integrity lies within scope of database management system, not individual applications 10.26

The Role of CASE in Conceptual Data CASE tools provide two important functions: ❶ Maintain E-R diagrams as a visual depiction of structured data requirements ❶ Link objects on E-R diagrams to corresponding descriptions in a repository 10.27

Summary Process of conceptual data modeling Deliverables Gathering information Entity-Relationship Modeling Entities Attributes Candidate keys and identifiers Multivalued attributes Degree of relationship 10.28

Summary Cardinality Naming and defining relationships Associative entities Domains Triggering Operations Role of CASE 10.29