Description and exemplification of entity/event modelling. Index and Key – –The Index/Key column of the data dictionary is used to indicate whether or.

Slides:



Advertisements
Similar presentations
Chapter # 4 BIS Database Systems
Advertisements

Entity Life Histories Model the system from the viewpoint of how information is changed. Diagrammatic representation of the life of an entity from creation.
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
Using Data Flow Diagrams
Using Dataflow Diagrams
Documenting Information Systems
Chapter 4 Enterprise Modeling.
Logical Data Modeling Review Lecture for University of Agder, Grimstad DAT202 Databaser (5.5.11) Judith Molka-Danielsen
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall.
Chapter 7 Using Data Flow Diagrams
Using Dataflow Diagrams
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
Chapter 7 Using Data Flow Diagrams
Structuring System Requirements: Process Modeling
Physical Database Monitoring and Tuning the Operational System.
Aims and Objectives In this session you will be able to: Define ELHs and describe why they are used in systems analysis. Recognise the structure of an.
Entity Event Modelling
Further Data Modelling …and the effect of time. Plan Introduction Structured Methods –Data Flow Modelling –Data Modelling –Relational Data Analysis –Further.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
Basic of DFD. Developing a DFD There are no FIXED rules about how a DFD should be developed… There is no such a DFD call “CORRECT DFD”… Expert SAs may.
Chapter 9 Using Data Flow Diagrams
Systems Analysis and Design in a Changing World, 6th Edition
Systems Analysis I Data Flow Diagrams
Chapter 4 Relational Databases and Enterprise Systems
Chapter 5: Modeling Systems Requirements: Events and Things
Modeling Systems Requirements: Events and Things.
Systems Analysis and Design in a Changing World, Fifth Edition
Chapter 6 The Traditional Approach to Requirements
Systems Analysis and Design in a Changing World, Fifth Edition
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
Systems Analysis and Design in a Changing World, Fifth Edition
1 Chapter 2 Revision: Documentation DFD System FC.
Modelling Techniques - Normalisation Description and exemplification of normalisation.Description and exemplification of normalisation. Creation of un-normalised.
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.
Chapter 7 Using Data Flow Diagrams
Driving School Database
Concepts and Terminology Introduction to Database.
Databases & Consistency. Database Relational databases : dominant information storage/retrieval system.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
Information Systems & Databases 2.2) Organisation methods.
Overview of the Systems Analysis and Design cycle Description of the stages of the systems analysis and design life cycle as applied to the development.
Views Lesson 7.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
5 Systems Analysis and Design in a Changing World, Fifth Edition.
Systems Analysis and Design in a Changing World, 6th Edition
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 3 Use Cases.
Databases.
Access Review. Access Access is a database application A database is a collection of records and files organized for a particular purpose Access supports.
Description and exemplification of entity-relationship modelling.
1 Version /05/2004 © 2004 Robert Oshana Requirements Engineering Use cases.
Chapter 13 Designing Databases Systems Analysis and Design Kendall & Kendall Sixth Edition.
Session 1 Module 1: Introduction to Data Integrity
Topic 3 – Data Modeling Techniques Unit 1 – Database Analysis and Design Advanced Higher Information Systems St Kentigern’s Academy.
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 4-1 Relational Databases.
Description and exemplification use of a Data Dictionary. A data dictionary is a catalogue of all data items in a system. The data dictionary stores details.
6 Systems Analysis and Design in a Changing World, Fourth Edition.
Chapter 3: Relational Databases
Copyright © 2011 Pearson Education Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall & Kendall Global Edition 9.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. A database is a collection of information organized to provide efficient retrieval. The collected information.
SYSTEMS ANALYSIS AND DESIGN ITDB 2101 HAND OUT # 3 1.
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
IS 334 information systems analysis and design
Introduction To Database Systems
تحلیل سیستم‌ها مدل‌سازی پردازشی.
Business Analysis Entity Life History Chris Russell O2.41d
Chapter 7: Data Flow Diagram Structuring System Process Requirements
Presentation transcript:

Description and exemplification of entity/event modelling. Index and Key – –The Index/Key column of the data dictionary is used to indicate whether or not the data item is to be indexed and if it is to be indexed, whether or not the data item is a primary key or a foreign key. – –Indexing Database systems take advantage of indexing to increase their speed. A database index can speed up a query by hundreds or thousands of times. Indexing is the notion of storing data on a hard disk in a particular way in order to locate and retrieve the data as efficiently as possible. – –Keys When a data item is marked as indexed, the analyst must indicate if indexing is due to the fact that the data item is a primary key (PK) or if it is because the data item is a foreign key (FK). Where a foreign key is part of a primary key, both of these facts should be indicated in the data dictionary.

Description and exemplification of entity/event modelling. There are two types of entity/event modelling: –Entity Event Matrix & –Entity Life History.

Description and exemplification of entity/event modelling. Purpose of an Entity Event Matrix – –An Entity Event Matrix is used to record a list of all permissible events that can occur and shows the effect that these events have on the entities within the system. – –In this context, an event is something that triggers a process into updating data within the system. An effect is the change caused by the event such as the creation, deletion or modification of an entity occurrence.

Description and exemplification of entity/event modelling. One single Entity Event Matrix is created for the entire system. This matrix lists all entities in the system across the top of the matrix. The events that occur are listed on separate rows of the matrix. Within the matrix, the effect caused by an event is recorded as follows: – –C This is used to indicate that the described event causes a new entity occurrence (or new row of the table) to be created within the entity indicated. – –D This is used to indicate that the described event causes an existing entity occurrence (or existing row of the table) to be deleted from the entity indicated. – –M This is used to indicate that the described event causes existing data values within the entity indicated to be modified. – –R This is used to indicate that the described event causes data values held within the entity indicated to be read by the process that is triggered by the event. Note that read activity is only possible because of the use of foreign keys to link one entity to another. When a data value in an entity is updated, it is possible any entity that has a foreign key link to that entity to see the update - in other words, the linked entity can read the updating that takes place in the main entity. Read activity is also needed to carry out calculations and to produce invoices, statements and reports.

Description and exemplification of entity/event modelling. Creating an Entity Event Matrix – –To create an Entity Event Matrix for a particular system, the following steps should be followed: Create the headings for the matrix remembering that one column is needed to list the events that can occur and a separate column is needed for each entity. Write down a list of events that can occur in the real world and will trigger a process to be carried out within the system. In carrying out the process, entities within are affected in some way. Work through the events in the list one at a time and consider how each entity will be affected by the event described. Use the symbols C, D, M and R to record the effect of each event on individual entities. Remember that one single event can cause several entities to be altered in some way.

Description and exemplification of entity-relationship modelling. Entity Life Histories:Entity Life Histories: –sequence, –iteration, –selection. Description and exemplification of dataflow modelling using level 0 and level 1 data flow diagrams:Description and exemplification of dataflow modelling using level 0 and level 1 data flow diagrams: –system boundary, –environment, –data flow, –physical flow, –data store, –external entity, –process.

Entity Life Histories Entity Life Histories:Entity Life Histories: – –An Entity Life History Diagram is used to record the permissible sequence of events that can occur within any one entity. It also indicates which events are repeated and those events that are alternatives. – –Each entity must have a separate Entity Life History Diagram. This means that there may be several Entity Life History Diagrams for any one information system. – –The events shown on an Entity Life History Diagram must match those recorded in the Entity Event Matrix for the system.

Entity Life Histories Entity Life Histories:Entity Life Histories: – –Events shown in an Entity Life History (ELH) Diagram are read from left to right. Events on the left of the diagram must occur before those on the right. – –Each branch of an ELH diagram shows a separate category of events. Three different categories of event can be shown in an ELH: creation events modification events deletion events – –Events that cause read activity are not shown in an Entity Life History Diagram. Each level of the diagram shows additional detail of an event or an event category.

Entity Life Histories Entity Life Histories:Entity Life Histories: – –To create an Entity Life History Diagrams for a particular system, the following steps should be followed: Create the Entity Event Matrix for the system. Consider each entity within the matrix separately. Draw a box to represent the entity at the top level of the diagram. Look down the column of the Entity Event Matrix that represents the entity and decide which category of events are to be shown on the second level of the ELH. Remember that only 3 categories of events can be shown: Creation, Modification and Deletion. Draw a box for each category present. Complete each branch of the ELH separately. Remember to pay attention to the use made of * to indicate repetition and the use of o to indicate alternative events. Repeat steps for each entity in the system.