Structured Design and Modeling CS 123/CS 231. Design Models Revisited zUML: Modeling Language for OO Systems zFor the Procedural (Structured) Paradigm.

Slides:



Advertisements
Similar presentations
Data Flow Diagramming Rules Processes –a process must have at least one input –a process must have at least one output –a process name (except for the.
Advertisements

ATG Chapter 3 ATG CHAP 3 Data Flow Diagrams and Flow Charts Spring 2002.
Use Cases and Object Interaction CS 123/CS 231. Depicting System Behavior zFirst, identify the use cases ÕUse case: typical interaction between a user.
Data & Process Modeling
INFO 425 Week 31 INFO 425 Design Problem I Week 3 – SDS Improvements Glenn Booker.
Concepts of Database Management Seventh Edition Chapter 6 Database Design : ERD Model.
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
PowerPoint Presentation by Charlie Cook Copyright © 2004 South-Western. All rights reserved. Chapter 2 Documenting Business Processes and Information Systems.
L ECTURE 11 – D ATA M ODELLING Data Dictionaries Entity Relationship Diagram for Data Modelling Steps to Construct Entity Relationship Diagrams Validation.
Concepts of Database Management Sixth Edition
Agenda for Week 1/31 & 2/2 Learn about database design
Data Modeling with ERD ISYS 363. Entity-Relationship Diagram An entity is a “thing” in the real world, such as a person, place, event for which we intend.
--The Entity Relationship Model(2)--1 Reflexive Rela1tionships  An entity may be related to another entity of the same type.  Example: A Customer could.
Entity-Relationship Model and Diagrams (continued)
Data Modeling ISYS 464. Database Design Process Conceptual database design: –The process of creating a data model independent of implementation details.
Data fundamentals file processing fundamentals entity-relationship diagrams the cornucopia case portfolio project chapter4 Systems Analysis and Design.
1004INT Information Systems Week 10 Databases as Business Tools.
Relational Databases What is a relational database? What would we use one for? What do they look like? How can we describe them? How can you create one?
Entity/Relationship Modelling
APPENDIX C DESIGNING DATABASES
Structured Design and Modeling CS 123/CS 231. Design Models Revisited zUML: Modeling Language for OO Systems zFor the Procedural (Structured) Paradigm.
Data fundamentals file processing fundamentals entity-relationship diagrams the cornucopia case portfolio project Systems Analysis and Design for the Small.
6 Systems Analysis and Design in a Changing World, Fourth Edition.
© 2003 McGraw-Hill Australia Pty Ltd, PPTs t/a Accounting Information & Reporting Systems by A. Aseervatham and D. Anandarajah. Slides prepared by Kaye.
 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.
Process Modeling zGraphically represent the processes that capture, manipulate, store, and distribute data between a system and its environment zModels.
Systems Analysis and Design in a Changing World, Fifth Edition
Entity Relationship Modeling
Logical Models zDescribe what a system is or does. zAre independent of technical implementation. zDepict business requirements. zAre good for communicating.
Chapter 6 The Traditional Approach to Requirements
Systems Analysis and Design in a Changing World, Tuesday, Feb 27
Entity Relationship Diagrams
Database Design Concepts
Systems Analysis and Design in a Changing World, Fifth Edition
Systems Analysis and Design in a Changing World, Fifth Edition
Business Process Modeling
Database. Basic Definitions Database: A collection of related data. Database Management System (DBMS): A software package/ system to facilitate the creation.
Data Modelling – ERD Entity Relationship Diagram’s Entity Relationship Diagrams and how to create them. 1.
Principles of Database Design, Part II AIMS 2710 R. Nakatsu.
OHT 11.1 © Marketing Insights Limited 2004 Chapter 9 Analysis and Design EC Security.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
PLUG IT IN 3 Fundamentals of Relational Database Operations.
Information Systems Today (©2006 Prentice Hall) 3-1 CS3754 Class Note 12 Summery of Relational Database.
1 Entity-Relationship Diagram. 2 Components of ERD: –Entity –Relationship –Cardinality –Attributes.
Object-Oriented Design Notation CS 123/CS 231. References zMain Reference: UML Distilled, by Martin Fowler ÕChapters 3, 4, 6, and 8 zSupplementary References:
5 Systems Analysis and Design in a Changing World, Fifth Edition.
An Entity Relationship (ER) Diagram is a graphic that shows the interrelationship between entities in a database.
Data Flow Diagrams (DFDs) 1Information Systems Engineering.
Data Modeling with ERD BUS 782. Entities An entity is a person, place, object, event, or concept in the user environment about which the organization.
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
ER & Relational: Digging Deeper R &G - Chapters 2 & 3.
Class Diagrams Software Design and Development. Classes in a Class Diagram zClass name onlyExample zWith DetailsExample Class Name attributes methods.
6 Systems Analysis and Design in a Changing World, Fourth Edition.
Howard Paul. Sequential Access Index Files and Data File Random Access.
Concepts of Database Management Seventh Edition Chapter 4 Keys and Relationship.
1 Information System Analysis Topic-3. 2 Entity Relationship Diagram \ Definition An entity-relationship (ER) diagram is a specialized graphic that illustrates.
Consider that you will be presenting for an internal review in your own consulting firm. We will critique your work and make suggestions for improvements.
Data Modeling with ERD ISYS 363.
Teanna Clarke 6aQ What is a Entity-Relationship Diagram?  An Entity-Relationship Diagram (ERD) is a tool that graphically shows the connections among.
Data Modeling AND ER MODELS.
Microsoft Access CS 110 Fall Entity Relationship Model Entities Entities Principal data object about which information is to be collectedPrincipal.
Rationale Databases are an integral part of an organization. Aspiring Database Developers should be able to efficiently design and implement databases.
Course Instructor: Kashif I hsan 1. Chapter # 6 2.
Year 12 > 13 Applied GCE ICT Unit 7 Using Database Software.
PowerPoint Presentation by Charlie Cook Copyright © 2004 South-Western. All rights reserved. Lecture 3 Documenting Business Processes and Information Systems.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
Systems Analysis – ITEC 3155 Modeling System Requirements – Part 2
Presentation transcript:

Structured Design and Modeling CS 123/CS 231

Design Models Revisited zUML: Modeling Language for OO Systems zFor the Procedural (Structured) Paradigm ÕData and processes are separately considered ÕData Model: Entity-Relationship Diagram ÕProcess Model: Data-Flow Diagram zSome modeling techniques apply to both paradigms Õe.g., use case diagram and state diagrams

ERDs zEntity-Relationship Diagrams zUsed to produce a data model for an enterprise zDatabase Design

Entities and Attributes zEntity Õthing, person, place Õexamples: Book, Sales Invoice, Student, Customer, Employee, Department, Airport zAttribute Õfeature of an entity Õexamples: Name, Address, Age, QCA, Title, Author, Amount, City

Relationships zRelationship Õan association between (at least) two entities Õexamples: student borrows a book zCardinality ÕOne-to-one, one-to-many, many-to-many zIntersection Data Õattribute resulting from relationship Õexample: date-borrowed

The Notation zRectangles - Entities zEllipses - Attributes zDiamonds - Relationships zLinks zLabels

Example: The University Setting zDescription ÕStudents enroll in classes. Each class is a section of a particular course. zEntities ÕStudent, Section, Course

Student id number name address year qca

StudentenrollsSection Coursehas MM M 1 grade index room sched cat num title desc

Example 2: Library zStudent borrows book Õmany to many relationship between students and books Õsee first diagram zFurther analysis reveals there could be several copies of a book Õstudent borrows copy, book has copy Õsee second diagram

StudentborrowsBook MM

StudentborrowsCopy Bookhas MM M 1 Exercise: Complete Diagram by filling in attributes

ERDs and the Software Life Cycle zUsed at the design phase of the software life cycle for database systems, although it is often used as early as the analysis phase zIn design, it precedes table definition

From ERD to Tables zCreate a table for each entity Õattributes associated to entity are columns of the table (a primary key should exist per table) zFor each 1:M relationship Õadd the primary key of the “1” participant as an attribute of the “M” participant (foreign key); intersection data is also added to the “M” participant

ERD to Tables, continued zFor each 1:1 relationship Õadd primary key of one table plus intersection data to the other table zFor each M:M relationship Õcreate a new table Õattributes are the primary keys of the participants plus intersection data

University Setting Example zStudent Õid number, name, address, year, qca zSection Õindex, room, sched, cat num zCourse Õcat num, title, desc zEnroll Õid number, index, grade

DFDs zData Flow Diagrams zModels Operations (Processes) zAlso used in analysis and design

Processes zAn operation or function in a system Õexample: Borrow Book zInvolves Õdata flow (input and results) Õdata sources and sinks Example: student and book-copy info are data that flow into the process; results stored in borrow table

Notation zCircle (Bubble) - Process zArrows - Data Flows zRectangles - Sources and Sinks zLabels

1 Borrow Book Student Copy Borrow id num, copy numborrow confirmation

DFD Levels zA process may involve sub-processes Õprovides detail about the process zDFD levels emerge zProcess hierarchy also depicted using a structure chart

1.1 Check Student Status id numborrower status copy numcopy status 1.2 Check Book Copy Status Student Copy

1.3 Record Borrow id num, copy num Borrow borrower status, copy status borrow confirmation Copy

About DFDs zData flows should “balance” between levels zNumber label format X.X.X provides level information zContext Diagram ÕLevel 0 (or system-level) DFD zNotational Variations

Summary zModeling techniques and notation Õneeded in analysis and design Õmodels data and processes of a system zOther techniques and notation Õstate diagrams, structure charts, flowcharts, document flow diagrams, more... zStructured vs OO Paradigm Õsome techniques specific to the paradigm