Data Dictionaries ER Diagram.

Slides:



Advertisements
Similar presentations
Database Systems: Design, Implementation, and Management Tenth Edition
Advertisements

Alternative Approach to Systems Analysis Structured analysis
SYSTEMS ANALYSIS AND DESIGN TOOLS
Analysis Concepts, Principles, and Modeling
Lecture 8- Analysis Modeling The Elements of Anaylsis Model The Elements of Anaylsis Model Data Modeling, Functional Modeling and Information Flow Data.
Chapter : Analysis Modeling
Analysis Modeling.
Chapter 4 Enterprise Modeling.
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
SYSTEM ANALYSIS & DESIGN (DCT 2013)
1 Lecture 4 Behaviour Modelling Requirement Specification Object-Oriented Paradigm.
Systems Analysis Requirements structuring Process Modeling Logic Modeling Data Modeling  Represents the contents and structure of the DFD’s data flows.
Analysis Modeling Over view of today’s lesson T he analysis model is the first technical representation of a system. Analysis modeling uses a combination.
Analysis Modeling Instructor: Dr. Jerry Gao. Analysis Modeling Jerry Gao, Ph.D. Jan Elements of the analysis model - Data modeling - Functional.
Systems Analysis and Design in a Changing World, 6th Edition
CS /47 Illinois Institute of Technology CS487 Software Engineering Requirements II- part B Instructor David Lash.
Cardinality and Modality (ERD)
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Requirements Modeling
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
© 2003 McGraw-Hill Australia Pty Ltd, PPTs t/a Accounting Information & Reporting Systems by A. Aseervatham and D. Anandarajah. Slides prepared by Kaye.
System Analysis Overview Document functional requirements by creating models Two concepts help identify functional requirements in the traditional approach.
IT 244 Database Management System Data Modeling 1 Ref: A First Course in Database System Jeffrey D Ullman & Jennifer Widom.
Computer System Analysis Chapter 10 Structuring System Requirements: Conceptual Data Modeling Dr. Sana’a Wafa Al-Sayegh 1 st quadmaster University of Palestine.
Analysis Modeling (cont’d) CpSc 372: Introduction to Software Engineering Jason O. Hallstrom Authorship Disclaimer. These slides.
Systems Analysis – Analyzing Requirements.  Analyzing requirement stage identifies user information needs and new systems requirements  IS dev team.
Database Design Using the REA Data Model
Chapter 6 System Engineering - Computer-based system - System engineering process - “Business process” engineering - Product engineering (Source: Pressman,
Business Process Modeling
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
1 Lecture 3: Introducing Data Flow Diagrams (DFDs) Section 1 - The Concept of Diagrams Why use Diagrams? Diagrams as Working Documents Systems Analysis.
Phase 2: Systems Analysis
The Structured Specification. Why a Structured Specification? System analyst communicates the user requirements to the designer with a document called.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter 6 Structuring.
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
Chapter 2 Understanding Organizational Style and Its Impact on Information Systems Systems Analysis and Design Kendall & Kendall Sixth Edition.
Analysis Modeling. Function Modeling & Information Flow  Information is transformed as it flows through a computer-based system. The system accepts input.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
Modeling System Requirements: Events and Things. Objectives Explain the many reasons for creating information system models Describe three types of models.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Chapter 12 Analysis Modeling. Analysis Modeling ä Two primary methods today ä Structured Analysis ä Object-oriented analysis ä Some important considerations.
Lecture 91 Introduction to Data Analysis and Logic Specification Objectives l Draw an entity-relationship diagram, and explain the types of entity relationships.
Systems Analysis and Design 8th Edition
Software Analysis and Design Software Analysis Concepts and Principles Software Analysis Modeling Software Design Concepts and Principles Software Design.
Entity Relationship Diagram (ERD). Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship.
2 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Data Models Why data models are important About the basic data-modeling.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
Course Instructor: Kashif I hsan 1. Chapter # 6 2.
Elements Of Modeling. 1.Data Modeling  Data modeling answers a set of specific questions that are relevant to any data processing application. e.g. ◦
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
Systems Analysis and Design in a Changing World, Fourth Edition
Modern Systems Analysis and Design Third Edition
Software Specification Tools
Problem Solving How do we attack a large problem?
Chapter 8 Building the Analysis Model (2) Analysis Modeling
Modern Systems Analysis and Design Third Edition
Chapter 4 Entity Relationship (ER) Modeling
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
ANALYSIS MODELING.
Modern Systems Analysis and Design Third Edition
Chapter 12 Analysis Modeling
Requirement Analysis using
Chapter 11 Describing Process Specifications and Structured Decisions
Software Modelling and Design
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
Lecture 10 Structuring System Requirements: Conceptual Data Modeling
Presentation transcript:

Data Dictionaries ER Diagram

Analysis Modeling The analysis model, actually a set of models, is the first technical representation of a system. There are mainly two methods of Analysis Modeling: Structured Analysis Object Oriented Analysis Structured analysis is a model building activity. Applying the operational analysis principles. we create and partition data, functional, and behavioural models that depict the essence of what must built. Structured analysis is not a single method applied consistently by all who use it. Rather, it is an amalgam that evolved over more than 30 years. Object Oriented Analysis is that emphasizes on the different components individually and the analysis is done by considering all the aspects of the case.

Elements of Analysis Modeling Contd.. The analysis model must achieve three primary objectives: (1) to describe what the customer requires. (2) to establish a basis for the creation of a software design. (3) to define a set of requirements that can be validated once the software is built. As Shown in the diagram: At Core there is Data Dictionary (DD):a repository that contains descriptions of all data objects consumed or produced by the software. The entity relation diagram (ERD) depicts relationships between data objects. The attributes of each data object noted in the ERD can be described using a data object description. The data flow diagram (DFD) serves two purposes: (1) to provide an indication of how data are transformed as they move through the system. (2) to depict the functions (and subfunctions) that transform the data flow. A description of each function presented in the DFD is contained in a process specification (PSPEC).

Elements of Analysis Modeling The state transition diagram (STD) indicates how the system behaves as a consequence of external events, It passes through various states. It is the basis for the Behavioural Modelling. Additional information about the control aspects of the software is contained in the control specification (CSPEC).

Data Modeling Data modelling answers a set of specific questions that are relevant to any data processing application. What are the primary data objects to be processed by the system? 2. What is the composition of each data object and what attributes of the object? 3. Where do the objects currently reside? 4. What are the relationships between each object and other objects? 5. What are the relationships between the objects and the processes that transform them? The Answer to all the questions above is ER Diagram; This Diagram Focuses on the Data and the “Data Network”.

Data Objects, Attributes, and Relationships: Data Modelling Data Objects, Attributes, and Relationships: Object: A data object can be an external entity (e.g., anything that produces or consumes information), a thing (e.g., a report or a display), an occurrence (e.g., a telephone call) or event (e.g., an alarm), a role (e.g., salesperson), an organizational unit (e.g., accounting department), a place (e.g., a warehouse), or a structure (e.g., a file)e.g. table, Human, Chair, Car etc. It represents Composite Information. Hence in the Table we can represent an object and the records in the table are the instances of the data object. Attributes: Attributes define the properties of a data object. The set of attributes that is appropriate for a given data object is determined through an understanding of the problem context Relationship: that connect one data object to the other data object. E.g.

Data Modelling Cardinality and Modality: Cardinality: One-to-one , One-to-many , Many-to-many Modality: of a relationship is 0 if there is no explicit need for the relationship to occur or the relationship is optional. The modality is 1 if an occurrence of the relationship is mandatory

ER Diagrams The object/relationship pair is the cornerstone of the data model. These pairs can be represented graphically using the entity/relationship diagram. The primary purpose of the ERD is to represent data objects and their relationships Data objects are represented by a labelled rectangle. Relationships are indicated with a labelled line connecting objects. In some variations of the ERD, the connecting line contains a diamond that is labeled with the relationship Cardinality is One to Many. By examining the symbols at the End of the connection line between Objects, it can be seen that the modality of both occurrences is mandatory (the vertical lines).

ER Diagrams Another Example: In addition, new relationships —transports, Contracts,licenses, and stocks —indicate how the data objects shown in the figure associate with one another.

Data Dictionary The data dictionary is an organized listing of all data elements that are related to the system, with precise, rigorous definitions so that both user and system analyst will have a common understanding of inputs, outputs, components of stores and [even] intermediate calculations. Although the format of dictionaries varies from tool to tool, most contain the following information: • Name—the primary name of the data or control item, the data store or an external entity. • Alias—other names used for the first entry. • Where-used/how-used—a listing of the processes that use the data or control item and how it is used (e.g., input to the process, output from the process, as a store, as an external entity. Content description—a notation for representing content. • Supplementary information—other information about data types, preset values (if known), restrictions or limitations, and so forth. Note; There must be a check that does not allow to enter the same object name in the data dictionary , if it already exists.

Data Dictionary “Where-used/how-used” information is recorded automatically from the flow models. When a dictionary entry is created, the CASE tool scans DFDs(Data Flow Diagrams) and CFD (Control Flow Diagrams) to determine which processes use the data or control information and how it is used. During analysis there is an almost continuous stream of changes. For large projects, it is often quite difficult to determine the impact of a change. Many a software engineer has asked, 1) "Where is this data object used? 2) What else will have to change if we modify it? 3) What will the overall impact of the change be? “Because the data dictionary can be treated as a database, the analyst can ask "where used/how used" questions, and get answers to these queries.

Data Dictionary The notation used to develop a content description is noted in the following table: Data Construct Notation Meaning = is composed of Sequence + and Selection [ | ] either-or Repetition { }n n repetitions of ( ) optional data * ... * delimits comments Example; the telephone number is represented as data item;

Data Dictionary The content description is expanded until all composite data items have been represented as elementary items (items that require no further expansion) or until all composite items are represented in terms that would be well-known and unambiguous to all readers. The data dictionary defines information items unambiguously For large computer-based systems, the data dictionary grows rapidly in size and complexity. In fact, it is extremely difficult to maintain a dictionary manually. For this reason, CASE tools should be used.