Lesson-19 Data Modeling and Analysis

Slides:



Advertisements
Similar presentations
Database development (MIS 533) MBS in Management Information Systems and Managerial Accounting Systems (2007 / 2008) Fergal Carton Business Information.
Advertisements

Developing ER-Diagram
Data Modeling and the Entity-Relationship Model
Data Modeling and the Entity-Relationship Model
Alternative Approach to Systems Analysis Structured analysis
Data & Process Modeling
Data Base Design. D ATA M ODELING  Database modeling is the first step to design a complex database  Entity relationship diagram (ERD) – a data model.
Copyright Irwin/McGraw-Hill Data Modeling Prepared by Kevin C. Dittman for Systems Analysis & Design Methods 4ed by J. L. Whitten & L. D. Bentley.
Systems Development Life Cycle
ISYS114 Data Modeling and Entity Relationship Diagrams
System Analysis - Data Modeling
Entity Relationship Diagrams Basic Elements and Rules.
Agenda for Week 1/31 & 2/2 Learn about database design
Review Questions What is data modeling? What is the actual data model that is created called? Data modeling is a technique for organizing and documenting.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Enterprise Business Processes and Reporting (IS 6214) MBS MIMAS 2009 / 2010 Wednesday 18 th November Fergal Carton Business Information Systems.
Entity Relationship Diagrams
Data Modeling Entity - Relationship Models. Models Used to represent unstructured problems A model is a representation of reality Logical models  show.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Assistant Professor MIS Department UNLV
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Supplemental Material Data Modeling and Analysis.
BIS310: Week 7 BIS310: Structured Analysis and Design Data Modeling and Database Design.
Trisha Cummings.  Most people involved in application development follow some kind of methodology.  A methodology is a prescribed set of processes through.
Introduction to Entity-Relationship Diagrams, Data Flow Diagrams, and UML Todd Bacastow Penn State University Geography 583 Geospatial System Analysis.
Training of master Trainers Workshop e-Services Design and Delivery
Entity Relationship Modeling Objectives: To illustrate how relationships between entities are defined and refined. To know how relationships are incorporated.
Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS6th Edition.
2131 Structured System Analysis and Design
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.
3.1 CSIS 3310 Chapter 3 The Entity-Relationship Model Conceptual Data Modeling.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 7.1.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Sample Entity Relationship Diagram (ERD)
Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS6th Edition.
1 CSE323 การวิเคราะห์และออกแบบระบบ (Systems Analysis and Design) Lecture 05: Data Modeling and Analysis.
Module Title? Data Base Design 30/6/2007 Entity Relationship Diagrams (ERDs)
BIS 360 – Lecture Six (Part 2) Conceptual Data Modeling (Chapter 10 and partial Chapter 12)
DATABASEMODELSDATABASEMODELS  A database model ◦ defines the logical design of data. ◦ Describes the relationships between different parts of data.
Database Design Principles – Lecture 3
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
3 & 4 1 Chapters 3 and 4 Drawing ERDs October 16, 2006 Week 3.
Data modeling using the entity-relationship model Chapter 3 Objectives How entities, tuples, attributes and relationships among entities are represented.
IT 21103/41103 System Analysis & Design. Chapter 04 Data Modeling.
IFS310: Module 6 3/1/2007 Data Modeling and Entity-Relationship Diagrams.
Databases Illuminated Chapter 3 The Entity Relationship Model.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
Final Exam Review Geb Thomas. Information Systems Applications.
Chapter 3: Modeling Data in the Organization. Business Rules Statements that define or constrain some aspect of the business Assert business structure.
Information Modelling Entity Relationship Modeling.
EntityRelationshipDiagrams. Entity Relationship Models The E-R (entity-relationship) data model views the real world as a set of basic objects (entities)
ERD :: 19 / 1 / Entity-Relationship (ER) Modeling. ER Modeling is a top-down approach to database design. Entity Relationship (ER) Diagram –A.
IS 4420 Database Fundamentals Chapter 3: Modeling Data in the Organization Leon Chen.
ENTITY RELATIONSHIP DIAGRAM. Objectives Define terms related to entity relationship modeling, including entity, entity instances, attribute, relationship.
1 Documenting Solutions Todd Bacastow Penn State University Geog 468 GIS Analysis & Design.
C_ITIP211 LECTURER: E.DONDO. Unit 4 : DATA MODELING.
Data Modeling and Analysis
Entity Relationship Modeling
Business System Development
Data Modeling and the Entity-Relationship Model
Lecture on Data Modeling and Analysis
ERD :: 19 / 1 / Entity-Relationship (ER) Modeling. ER Modeling is a top-down approach to database design. Entity Relationship (ER) Diagram –A.
ERD’s REVIEW DBS201.
System Design (Relationship)
Review of Week 1 Database DBMS File systems vs. database systems
Chapter 4 Entity Relationship (ER) Modeling
Entity-Relationship Diagram (ERD)
Entity Relationship Model
Entity-Relationship (E-R) Modeling
Presentation transcript:

Lesson-19 Data Modeling and Analysis Define systems modeling and differentiate between logical and physical system models. Define data modeling and explain its benefits. Recognize and understand the basic concepts and constructs of a data model. Read and interpret an entity relationship data model. Explain when data models are constructed during a project and where the models are stored. No additional notes

Lesson Map Teaching Notes The emphasis of this chapter is upon the DATA. It also reflects the fact that data modeling may be performed during certain analysis phases and involves not only systems analysts…but owners and users.

System Models A model is a representation of reality. Logical models show what a system is or does. They are implementation independent; that is, they depict the system independent of any technical implementation. Physical models show not only what a system is or does, but also how the system is physically and technically implemented. Teaching Tips: While we do provide some subsequent slides that are examples of different types of models, you may obtain additional slides from chapters 7 and 8 to show them examples of logical data models and logical process models, and you may obtain additional slides from chapters 11-15 to show them examples of various physical models. Be sure to emphasis that the models represent or document technical implementations.

Data Modeling Data modeling is a technique for organizing and documenting a system’s data. Data modeling is sometimes called database modeling because a data model is eventually implemented as a database. It is sometimes called information modeling. The actual model is frequently called an entity relationship diagram (ERD) because it depicts data in terms of the entities and relationships described by the data. No additional notes

Sample Entity Relationship Diagram (ERD) Teaching Tips Be sure to explain that this is merely an example –there are numerous data modeling notations. While they may differ in appearance (symbology) the knowledge that data models are intended to convey the same.

Data Modeling Concepts: Entity Name of Entity Data Modeling Concepts: Entity An entity is a class of persons, places, objects, events, or concepts about which we need to capture and store data. Persons: agency, contractor, customer, department, division, employee, instructor, student, supplier. Places: sales region, building, room, branch office, campus. Objects: book, machine, part, product, raw material, software license, software package, tool, vehicle model, vehicle. Events: application, award, cancellation, class, flight, invoice, order, registration, renewal, requisition, reservation, sale, trip. Concepts: account, block of time, bond, course, fund, qualification, stock. Teaching Tips: Prompt the students for additional examples. Have them classify their example(s). Obtain a data model from a source other than the textbook. Ask the students to classify the entities.

Data Modeling Concepts: Entity An entity instance is a single occurrence of an entity. Example: instances of the entity STUDENT may include Betty Arnold John Taylor Lisa Simmons Bill Macy Heather Leath Tim Wrench Teaching Tips Substitute the name(s) of one or more of your students. Be sure to explain that these are “instances” and that instances do NOT appear in the names of entity symbols.

Data Modeling Concepts: Attributes An attribute is a descriptive property or characteristic of an entity. Synonyms include element, property, and field. A compound attribute is one that actually consists of other attributes Teaching Tips: Show the students slide #6. Pick an entity and ask the students to list attributes that they feel describe those entities. Show the students a form. Ask the students to identify the attributes. Be sure that the students recognize what items appearing on the form are truly attributes and those that are simply headings or preprinted items. Also, often times students accidentally identify attribute values as attributes. For example, they may say that an item that appears as a check box is an attribute when in fact it may be the value of an attribute (ie. Male and female are values, whereas GENDER is the real attribute).

Data Modeling Concepts: Domains The data type for an attribute defines what type of data can be stored in that attribute. The domain of an attribute defines what values an attribute can legitimately take on. The default value for an attribute is the value that will be recorded if not specified by the user. No additional notes

Data Modeling Concepts: Identification A key is an attribute, or a group of attributes, that assumes a unique value for each entity instance. A group of attributes that uniquely identifies an instance of an entity is called a concatenated key. A candidate key is a “candidate to become the primary key” of instances of an entity. A primary key is that candidate key that will most commonly be used to uniquely identify a single entity instance. Any candidate key that is not selected to become the primary key is called an alternate key. A subsetting criteria is an attribute (or concatenated attribute) whose finite values divide all entity instances into useful subsets. No additional notes

Data Modeling Concepts: Identification Keys & Subsetting Criteria No additional notes

Data Modeling Concepts: Relationships A relationship is a natural business association that exists between one or more entities. The relationship may represent an event that links the entities or merely a logical affinity that exists between the entities. Teaching Tips Explain that there may be more than one relationship between two entities. You may reinforce this by adding additional relationships to the example (such as “transferred from” (to reflect a relationship where students changed from one curriculum to another).

Data Modeling Concepts: Cardinality Cardinality defines the minimum and maximum number of occurrences of one entity that may be related to a single occurrence of the other entity. Because all relationships are bidirectional, cardinality must be defined in both directions for every relationship. bidirectional Teaching Tips Ask the students to read (or write) declarative sentences to reflect the bidirectional meaning of the relationship between student and curriculum.

Data Modeling Concepts: Degree The degree of a relationship is the number of entities that participate in the relationship. A recursive relationship is a relationship that exists between different instances of the same entity Teaching Tips: Provide the students with an ERD that does not contain relationships. Ask the students to identify possible relationships and indicate a possible degree for that relationship. Emphasize to the students that the degree represents a business rule! Failure to accurately identify and document the degree will result in a system that does not reflect a correct business requirement.

Data Modeling Concepts: Degree Relationships may exist between more than two entities and are called N-array relationships. The example ERD depicts a ternary relationship. Teaching Tips The example also depicts an associative entity for the first time…as explained on the next slide.

Data Modeling Concepts: Foreign Keys A foreign key is a primary key of one entity that is contributed to (duplicated in) another entity to identify instances of a relationship. Teaching Tips Additional examples should be given to test the student’s ability to recognize the parent entity. We suggest you also provide an example of a one-to-one relationship!

Data Modeling Concepts: Foreign Keys Non identifying relationships are those in which each of the participating entities has its own independent primary key, In other words, none of the primary key attributes is shared. Identifying relationships are those in which the parent entity contributes its primary key to become part of the primary key of the child entity. No additional notes