Data fundamentals file processing fundamentals entity-relationship diagrams the cornucopia case portfolio project Systems Analysis and Design for the Small.

Slides:



Advertisements
Similar presentations
BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
Advertisements

McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module C Designing Databases and Entity-Relationship.
Extended Learning Module C
© McGraw-Hill Companies, Inc., McGraw-Hill/Irwin Extended Learning Module C Designing Databases and Entity-Relationship Diagramming.
Lecture-7/ T. Nouf Almujally
Chapter 4 Enterprise Modeling.
ERD diagram Data Design - Mr. Ahmad Al-Ghoul
Accounting System Design
L ECTURE 11 – D ATA M ODELLING Data Dictionaries Entity Relationship Diagram for Data Modelling Steps to Construct Entity Relationship Diagrams Validation.
Appendix A Data Modeling MANAGEMENT INFORMATION SYSTEMS 8/E Raymond McLeod, Jr. and George Schell Copyright 2001 Prentice-Hall, Inc. A-1.
Modeling the Data: Conceptual and Logical Data Modeling
Extended Learning Module C Designing Databases and Entity-Relationship Diagramming McGraw-Hill/Irwin Copyright © 2010 by the McGraw-Hill Companies, Inc.
Data fundamentals file processing fundamentals entity-relationship diagrams the cornucopia case portfolio project chapter4 Systems Analysis and Design.
Chapter 3: Data Modeling
APPENDIX C DESIGNING DATABASES
Chapter 6 Data Flow Diagramming Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Chapter 5 UNDERSTANDING AND DESIGNING ACCOUNTING DATA.
 An entity-relationship (ER) diagram is a specialized graphic that illustrates the interrelationships between entities in a database.  An Entity Relationship.
Copyright © 2016 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Modeling the system the data flow diagram the context diagram level decomposition the cornucopia case portfolio project Systems Analysis and Design for.
Object-oriented methodology object models use case modeling unified modeling language the data dictionary the cornucopia case portfolio project Systems.
Database Design Concepts
Chapter 1: The Database Environment and Development Process
A Guide to SQL, Eighth Edition Chapter Two Database Design Fundamentals.
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module C Designing Databases and Entity-Relationship.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
1 A Guide to MySQL 2 Database Design Fundamentals.
PLUG IT IN 3 Fundamentals of Relational Database Operations.
MS Access: Creating Relational Databases Instructor: Vicki Weidler Assistant: Joaquin Obieta.
Lecturer: Gareth Jones. How does a relational database organise data? What are the principles of a database management system? What are the principal.
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T5 DESIGNING DATABASE APPLICATIONS.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T5: Designing Database Applications Business Driven Technology.
1 A Guide to MySQL 2 Database Design Fundamentals.
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 5 Data Resource Management.
1 Entity-Relationship Diagram. 2 Components of ERD: –Entity –Relationship –Cardinality –Attributes.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
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.
Fanny Widadie, S.P, M.Agr 1 Database Management Systems.
Creating new system models file design fundamentals relational databases revisited file design for sunrise systems form design revisited the cornucopia.
Description and exemplification of entity-relationship modelling.
Chapter 13 Designing Databases Systems Analysis and Design Kendall & Kendall Sixth Edition.
Relational Theory and Design
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
Lesson 2: Designing a Database and Creating Tables.
Lection №4 Development of the Relational Databases.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
section II Analysis Systems Analysis and Design
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
Review 1 Chapters Systems definition example System: An interrelated set of components, with an identifiable boundary, working together for some.
1 Information System Analysis Topic-3. 2 Entity Relationship Diagram \ Definition An entity-relationship (ER) diagram is a specialized graphic that illustrates.
Microsoft Access 2010 Chapter 11 Database Design.
McGraw-Hill/Irwin Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 6 Modeling the Data: Conceptual and Logical Data Modeling.
Teanna Clarke 6aQ What is a Entity-Relationship Diagram?  An Entity-Relationship Diagram (ERD) is a tool that graphically shows the connections among.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Lecture 5 Data Model Design Jeffery S. Horsburgh Hydroinformatics Fall 2012 This work was funded by National Science Foundation Grant EPS
DATA SCIENCE MIS0855 | Spring 2016 Designing Data
Rationale Databases are an integral part of an organization. Aspiring Database Developers should be able to efficiently design and implement databases.
Year 12 > 13 Applied GCE ICT Unit 7 Using Database Software.
© The McGraw-Hill Companies, All Rights Reserved APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
Chapter 6 Data flow diagramming ACCOUNTING INFORMATION SYSTEMS
Appendix A Data Modeling MANAGEMENT INFORMATION SYSTEMS 8/E
Presentation transcript:

data fundamentals file processing fundamentals entity-relationship diagrams the cornucopia case portfolio project Systems Analysis and Design for the Small Enterprise section II Analysis

Chapter Objectives When you complete this chapter you will be able to: Identify data types and structures within a file Distinguish between master and transaction files Define the relationship between two files Construct and normalize an entity- relationship diagram

Data Fundamentals The Data Model: Data is organized into data files, which appear as data stores on the DFD On a DFD, a data store may actually represent –an independent data file –a data file that is part of a database –a database consisting of several related data files The data model provides detailed information on the data stores identified in the DFD

Data Models and the Six CIS Components

Data Fundamentals Data Definition and Structure: Data is defined by three attributes: name, size, and type –Data names provide unique and descriptive labels –Data size determines the amount of space required to store the data –Data type specifies how the computer stores the data and restricts how the data can be used Data elements are organized into structures –a record is a collection of related data elements or fields –a data file is a collection of related records

File Processing Fundamentals Data File Types: One way to classify files is to consider how file content correlates to events or activities within the enterprise –A master files is a collection of data that represents an identifiable person or thing –A transaction file is a collection of data that represents a particular event or activity of the enterprise

Silhouette Sea Charter Files – Part 1 The Charter Contract contains details of individual charters. The Customer master file contains one record for each customer. The Charter transaction file contains one record for each charter.

File Processing Fundamentals Database Structure: A relational database is a collection of data files that are tied together by common fields The records in each data file are distinguished from one another by key fields A key field may contain a unique value, known as a primary key value.

Figure 4-2: Silhouette Sea Charter Files – Part 2 The Boat master file contains one record for each boat. The Customer master file contains one record for each customer. The Charter transaction file contains one record for each charter. The Captain master file contains one record for each captain.

Figure 4-2: Silhouette Sea Charter Files – Part 3 Registration # is added as a primary key to the Boat master file. CustID is added as a primary key to the Customer master file record. CharterID is added as a primary key to the Charter transaction file. SSN is added as a primary key to the Captain master file.

Entity Relationship Diagrams The entity-relationship diagram (ERD) presents the data model The data stores of the DFD become the entities of the ERD Entities are related to one another when they share a common field Cardinality is the term used to describe the nature of the entity relationship, which may be: –one-to-one –one-to-many –many-to-many

Silhouette Sea Charter’s Initial ERD This many-to-many cardinality reflects the possibility that … A single charter may have many customers … Over time, a customer may take many charters This one-to-many cardinality reflects the possibility that, over time, a captain may be assigned to many charters This one-to-many cardinality reflects the possibility that, over time, a boat may be used for many charters Reference Figure 4-5: Illustrated ERD Symbols and Silhouette Sea Charter

Entity Relationship Diagrams Many-to-Many Cardinalities: Relational database software, such as Microsoft Access, cannot implement many- to-many cardinalities Silhouette considers two solutions to the many-to-many problem … both of which create new problems

Silhouette Sea Charter Inefficient File Diagrams Solving the many-to-many problem this way increases data redundancy Solving the many-to-many problem this way creates a repeating group

Entity Relationship Diagrams Normalization: Many-to-many cardinalities should be eliminated through a process called normalization Silhouette’s ERD can be normalized by adding a new file between Charter and Customer

Figure 4-7: Silhouette Sea Charter Normalized ERD To maintain the relationship between Charter and Customer, this new intersection file contains two fields: CharterID CustID

Three Normal Forms Formal database design theory outlines a process that ensures file efficiency, referred to as normalcy. First normal (1NF) eliminates repeating groups Second normal form (2NF) requires every field to be dependent on or determined by the key field Third normal form (3NF) requires that all of the dependencies be contained within the file TECHNOTE 4-1

Database Accuracy ThinkingCritically To what extent is the analyst responsible to clean up the errors that may appear in the enterprise’s existing data files before the new database can be implemented?

The Cornucopia Case The analysis of the current system continues with the development of the data model. The analysts start the process with the existing system file descriptions and ERD and then introduce some early modifications and improvements.

Cornucopia Existing Entity Attributes CustomerSupplierOrderInventory Attribute 1 name order numberUPC Attribute 2 addresssupp. phoneorder datetitle Attribute 3 cust. phoneSupplier phoneartist Attribute 4 UPC(1)label Attribute 5 quantity ordered (1)price Attribute 6 UPC(1) Attribute 7 quantity ordered (1) Attribute 8 UPC (1) Attribute 9 quantity ordered (1)

Cornucopia Existing System ERD

Cornucopia Improved Entity Attributes CustomerSupplierOrderOrder/ Customer Inventory Attribute 1*cust ID*supp ID*order num *UPC Attribute 2first namenameorder date*UPCtitle Attribute 3last namestreetsupp IDquan ordartist Attribute 4streetcityquan reclabel Attribute 5citystateprice Attribute 6statezip codequan in stk Attribute 7zip codephonesupp ID Attribute 8phone Attribute 9 fax Attribute 10status

Cornucopia Normalized ERD This intersection file is required to normalize the many-to-many relationship between Order and Inventory Customer is not related to any other file in the existing system ERD