IS 421 Information Systems Analysis James Nowotarski 7 October 2002.

Slides:



Advertisements
Similar presentations
Chapter 3: Requirements Determination
Advertisements

Developing ER-Diagram
© Copyright 2011 John Wiley & Sons, Inc.
IS 421 Information Systems Analysis James Nowotarski 28 October 2002.
Slide 1 Systems Analysis and Design with UML Version 2.0 Alan Dennis, Barbara Wixom, and David Tegarden Chapter 5: Requirements Determination John Wiley.
Copyright Irwin/McGraw-Hill Data Modeling Prepared by Kevin C. Dittman for Systems Analysis & Design Methods 4ed by J. L. Whitten & L. D. Bentley.
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
Systems Development Life Cycle
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 7.1.
ANALYSIS PHASE Systems analysis is the part of the SDLC in which to determine how the current information system functions and asses what users would like.
IS 421 Information Systems Analysis James Nowotarski 14 October 2002.
Entity Relationship Diagrams Basic Elements and Rules.
IS 421 Information Systems Analysis James Nowotarski 30 September 2002.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Data.
IS 421 Information Systems Management James Nowotarski 16 September 2002.
IS 421 Information Systems Analysis James Nowotarski 21 October 2002.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
PowerPoint Presentation for Dennis, Wixom & Tegardem Systems Analysis and Design Copyright 2001 © John Wiley & Sons, Inc. All rights reserved. Slide 1.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Systems.
Data Modeling Advanced Concepts.
Entity Relationship Diagrams
Gathering Information and Use Case Scenarios
Slide 1 Systems Analysis & Design CS183 Spring Semester 2008 Dr. Jonathan Y. Clark Course Website:
Requirements Gathering. Adapted from PowerPoint Presentation for Dennis, Wixom & Tegardem, Systems Analysis and Design, John Wiley & Sons, Inc. For CSU’s.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 7.1.
Chapter 8 Structuring System Data Requirements
Data Modeling Introduction. Learning Objectives Define key data modeling terms –Entity type –Attribute –Multivalued attribute –Relationship –Degree –Cardinality.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
Slide 1 IS6112 – Application Modelling and Design.
Entity Relationship Modeling Objectives: To illustrate how relationships between entities are defined and refined. To know how relationships are incorporated.
Computer System Analysis Chapter 10 Structuring System Requirements: Conceptual Data Modeling Dr. Sana’a Wafa Al-Sayegh 1 st quadmaster University of Palestine.
1. 2 Data Modeling 3 Process of creating a logical representation of the structure of the database The most important task in database development E-R.
PowerPoint Presentation for Dennis, Wixom, & Roth Systems Analysis and Design, 3rd Edition Copyright 2006 © John Wiley & Sons, Inc. All rights reserved..
Business Process Modeling
Week 5: Business Processes and Process Modeling MIS 2101: Management Information Systems.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter 6 Structuring.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Essentials of Systems Analysis and Design Fourth Edition Joseph S. Valacich Joey F.
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Chapter 7 Structuring System Requirements: Conceptual Data Modeling 7.1.
PowerPoint Presentation for Dennis, Wixom & Tegardem Systems Analysis and Design Copyright 2001 © John Wiley & Sons, Inc. All rights reserved. Slide 1.
Requirements Gathering Chapter 5 Alan Dennis, Barbara Wixom, and David Tegarden John Wiley & Sons, Inc. Slides by Fred Niederman Edited by Solomon Negash.
System Analysis and Design Dr. Taysir Hassan Abdel Hamid Lecture 5: Analysis Chapter 3: Requirements Determination November 10, 2013.
Chapter 4 Entity Relationship (ER) Modeling.  ER model forms the basis of an ER diagram  ERD represents conceptual database as viewed by end user 
Slide 1 Requirements Determination Chapter 5. Slide 2 Objectives ■ Understand how to create a requirements definition. ■ Become familiar with requirements.
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.
Carnegie Mellon University © Robert T. Monroe Management Information Systems Data Modeling Management Information Systems Robert.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
Slide 1 Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Wixom, and David Tegarden Chapter 5: Requirements Determination.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Slide 1 Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Wixom, and David Tegarden Chapter 5: Requirements Determination.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
TIM 58 Chapter 3, continued: Requirements Determination Ch
Systems Analysis and Design
TIM 58 Chapter 3: Requirements Determination
Tables and Their Characteristics
Database Design – Lecture 4
Data Modelling Chapter 7
Systems Analysis and Design
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
Review of Week 1 Database DBMS File systems vs. database systems
DCT 2053 DATABASE CONCEPT Chapter 2.2 CONTINUE
Chapter 7 Structuring System Requirements: Conceptual Data Modeling
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
Lecture 10 Structuring System Requirements: Conceptual Data Modeling
Presentation transcript:

IS 421 Information Systems Analysis James Nowotarski 7 October 2002

Understand basics of data modeling: –Defining entities –Defining attributes –Defining relationships –Drawing entity-relationship diagrams (ERDs) Today’s Objectives

Course Map Contents 1. Introduction Planning Phase 2. Project Initiation 3. Project Management Analysis Phase 4. Systems Analysis 5. Gathering Information 6. Process Modeling 7. Data Modeling Assignments Quizzes Final Week Core Exam Review

Topic Duration Recap Last Week20 minutes Recap Assignments minutes Quiz45 minutes *** Break15 minutes Data Modeling: Lecture/Discussion45 minutes Data Modeling: Group Exercises45 minutes Assignment 3 Intro10 minutes Today’s agenda

Topic Duration Recap Last Week20 minutes Recap Assignments minutes Quiz45 minutes *** Break15 minutes Data Modeling: Lecture/Discussion45 minutes *** Bears vs. Packers begins Data Modeling: Group Exercises45 minutes Assignment 3 Intro10 minutes Today’s agenda

Topic Duration Recap Last Week20 minutes Recap Assignments minutes Quiz45 minutes *** Break15 minutes Data Modeling: Lecture/Discussion45 minutes Data Modeling: Group Exercises45 minutes Assignment 3 Intro10 minutes Today’s agenda

SDLC The systems development life cycle (SDLC) is a description of the phases of an information system PlanningAnalysisDesign Implementation

Key Definitions The As-Is system is the current system and may or may not be computerized The To-Be system is the new system that is based on updated requirements

Analysis Phase

From Planning Phase: System request Feasibility analysis Workplan. Dev Analysis Plan Examine- As-is Identify Improve- ments Develop Basic System Concepts Develop Data Model Develop Process Model Prepare Proposal To Design Phase: Deliverables: Analysis PlanFunctional Requirements Quality Requirements System Concept Data Model Process Model System Proposal Develop Concept for To-Be System

Analysis Phase From Planning Phase: System request Feasibility analysis Workplan. Dev Analysis Plan Examine- As-is Identify Improve- ments Develop Basic System Concepts Develop Data Model Develop Process Model Prepare Proposal To Design Phase: Develop Concept for To-Be System GatherAnalyze Specify

Three Fundamental Analysis Strategies Business process Automation (BPA) Business Process Improvement (BPI) Business Process Reengineering (BPR)

High-Level Work Plan for Analysis

Begin with the End in Mind Table of contents Executive summary System request Work plan Analysis strategy Recommended system Feasibility analysis Process model Data model Appendices System Proposal Outline

Information Gathering Techniques Interviewing Joint application design Questionnaires Document Analysis Observation

Interviews -- Five Basic Steps Selecting Interviewees Designing Interview Questions Preparing for the Interview Conducting the Interview Post-Interview Follow-up

Types of Questions Examples Closed-Ended Questions* How many telephone orders are received per day? * How do customers place orders? * What additional information would you like the new system to provide? Open-Ended Questions* What do you think about the current system? * What are some of the problems you face on a daily basis? * How do you decide what types of marketing campaign to run? Probing Questions* Why? * Can you give me an example? * Can you explain that in a bit more detail?

Interview Report INTERVIEW REPORT Interview notes approved by: ____________ Person interviewed ______________ Interviewer _______________ Date _______________ Primary Purpose: Summary of Interview: Open Items: Detailed Notes:

JAD Key Ideas Allows project managers, users, and developers to work together May reduce scope creep by 50% Avoids requirements being too specific or too vague

Joint Application Design (JAD) Important Roles Facilitator Scribe

JAD Meeting Room JPEG Figure 5-5 Goes Here

Questionnaire Steps Selecting participants –Using samples of the population Designing the questionnaire –Careful question selection Administering the questionnaire –Working to get good response rate Questionnaire follow-up –Send results to participants

Document Analysis Provides clues about existing “as-is” system Typical documents –Forms –Reports –Policy manuals Look for user additions to forms Look for unused form elements

Observation Users/managers often don’t remember everything they do Checks validity of information gathered other ways Behaviors change when people are watched Careful not to ignore periodic activities –Weekly … Monthly … Annual

Selecting the Appropriate Techniques Interviews JAD Questionnaires Document Observation Analysis Type of As-Is As-Is As-Is As-Is As-Is Information Improve. Improve. Improve. To-Be To-Be Depth of High High Medium Low Low Information Breadth of Low Medium High High Low Information Integration Low High Low Low Low of Info. User Medium High Low Low Low Involvement Cost Medium Low- Low Low Low- Medium Medium

Summary There are five major information gathering techniques that all systems analysts must be able to use: Interviews, JAD, Questionnaires, Document Analysis, and Observation. Systems analysts must also know how and when to use each as well as how to combine methods.

Topic Duration Recap Last Week20 minutes Recap Assignments minutes Quiz45 minutes *** Break15 minutes Data Modeling: Lecture/Discussion45 minutes Data Modeling: Group Exercises45 minutes Assignment 3 Intro10 minutes Today’s agenda

Topic Duration Recap Last Week20 minutes Recap Assignments minutes Quiz45 minutes *** Break15 minutes Data Modeling: Lecture/Discussion45 minutes Data Modeling: Group Exercises45 minutes Assignment 3 Intro10 minutes Today’s agenda

Topic Duration Recap Last Week20 minutes Recap Assignments minutes Quiz45 minutes *** Break15 minutes Data Modeling: Lecture/Discussion45 minutes Data Modeling: Group Exercises45 minutes Assignment 3 Intro10 minutes Today’s agenda

Data Modeling in the Analysis Phase From Planning Phase: System request Feasibility analysis Workplan. Dev Analysis Plan Examine- As-is Identify Improve- ments Develop Basic System Concepts Develop Data Model Develop Process Model Prepare Proposal To Design Phase: Deliverables: Analysis PlanFunctional Requirements Quality Requirements System Concept Data Model Process Model System Proposal Develop Concept for To-Be System

Key Definitions A data model is a –Formal representation of the data to be used for a business system. A data model should illustrate: –The people, places and things about which data is collected, –And how they are related to each other

Key Definitions A logical data model shows the logical organization of data –Without regard for how data gets stored, created or manipulated A physical data model shows how the data will physically be stored in the database (secondary memory). –E.g. Oracle may store a customer table in several files (cust1.dbf, cust2.dbf…) that span several hard drives.

Key Definitions Logical data model (Wixom and Dennis) Data model Conceptual data model Entity model Entity-relationship model Entity-attribute-relationship model Information model Semantic data model The collective output from logical data modeling is called various names

Data Modeling Entity-relationship diagram (ERD) Entity descriptions Attribute descriptions Relationship descriptions Domain descriptions (not covered here) A logical data model deliverable includes an ERD and descriptions of entities, attributes, and relationships Components of a Logical Data Model

An ERD Example

Entities generally represent people, places, and things of interest to the organization (about which we would like to collect data). Represented as rectangle on the ERD Named with a singular noun (e.g., Patient) What Is an Entity?

Entities and Instances Instances are occurrences of an entity

What is an Attribute? An attribute is a characteristic or property of an entity. Attributes contain information that describes an entity. Attribute names are nouns (e.g, “name”). Sometimes entity name is added at the beginning of the attribute name (e.g., “vendor_name”).

Examples of Attributes Entity: Person –Attributes: first_name last_name eye_color date_of_birth address Entity: Classroom –Attributes: room_no max_capacity

An ERD Example

Identifiers An identifier uniquely identifies each instance of the entity. It may consist of one or more attributes. Identifiers are also known generically as keys –Candidate keys = all identifiers for an entity –Primary key = candidate key designated as “official” identifier

Examples of Identifiers What attribute uniquely identifies every instance of these entities? –Student –Classroom –Vehicle

Depicting Entities, Attributes and Identifiers Entity name Attributes Identifier Or, use cd_id (PK)

An ERD Example

Relationships Relationships represent connections, links, or associations between entities e.g., Patient-Appointment Relationships have some important properties: 1.Names, that should be active verbs –(A patient schedules appointments) 2.Cardinality 3.Modality.

Cardinality Cardinality refers to the number of times instances in one entity can be related to instances in another entity –One instance in an entity refers to one and only one instance in the related entity (1:1) –One instance in an entity refers to one or more instances in the related entity (1:M) –One or more instances in an entity refer to one or more instances in the related entity (M:M)

Modality Modality refers to the minimum number of times that an instance in one entity can be related to an instance in another entity –One means that an instance in the related entity must exist for an instance in another entity to be valid –Zero means that no instance in the related entity is necessary for an instance in another entity to be valid

Some Ways to Depict Relationships PatientAppointment PatientAppointment PatientAppointment PatientAppointment 1M schedules Is scheduled by Same e.g., A patient may have zero to many appointments

Meanings of the Crow’s Feet Min Max Cardinality 011 0M[any] 1M[any]

The Entity-Relationship Diagram (ERD)

An ERD Example

What Is an ERD? A picture of the logical data model, –i.e., an ERD shows the information created, stored, and used by a business system.

An ERD Example A patient must have at least 1 appointment

Topic Duration Recap Last Week20 minutes Recap Assignments minutes Quiz45 minutes *** Break15 minutes Data Modeling: Lecture/Discussion45 minutes Data Modeling: Group Exercises45 minutes Assignment 3 Intro10 minutes Today’s agenda

Exercise SkyHigh Airlines has three major resources: airplanes, pilots, and crew members. Pilots and crew members have home bases, which they return at the end of an assigned flight. A flight must have exactly one pilot and one or more additional crew members along with an airplane. Each airplane has a maintenance base. Draw an ERD showing: Entities Relationships Cardinality Modality 10 minutes

Group Exercise Textbook, p.209, Exercise D-1 Show: Entities Attributes Identifier(s) Relationships Cardinality Modality 15 minutes

Still More Definitions A foreign key is all of these things: a primary key of one entity (sometimes called parent entity), duplicated in another entity (child entity) provides a common linkage between the two entities

Foreign Key Example Customer(cust_id (PK), cust_name) Order (ord_no (PK), cust_id (FK), ord_date) Customers (Parent) cust_id cust_name 100Slick Willy, Inc. 200George_W, Co. 300Gore, Ltd. … ord no cust_idord_date Sep Nov Dec Dec-2000 … Orders (Child) A foreign key is a primary key of one entity that is duplicated in another entity to provide a common linkage between entities. Why use them? PK FKCust_id

Entity Types 1.Independent 2.Dependent 3.Intersection

Independent Entities An independent entity exists without the help of another entity –Common entities such as student, professors, customers, products –The identifier is created by the entity’s own attributes –Usually on the “1” side of a relationship –a.k.a. fundamental entity (in Visual Analyst, e.g.) or strong entity

Dependent Entities Alternatively, a dependent entity cannot exist without the help of another entity –Special entities such as emp_dependent (needs an employee to exist) –The identifier is usually based on another entity’s attributes (emp_ssn & dep_ssn) –Usually on the “M” side of a relationship –a.k.a. attributive entity (in Visual Analyst, e.g.) or weak entity

Intersection entities An intersection entity exists based on the relationship between two entities. –They have attributes that are peculiar to the relationship between those entity instances, not the individual entities themselves –They are created to store information about two entities sharing an M:M relationship –a.k.a. associative entities, gerunds

Intersection Entity Example A student may take many classes. A class may have many students. Where are grades stored? Student Class An instance in the student entity is related to _____ instances in the class entity. An instance in the class entity is related to _____ instances in the student entity. RosterStudentClass

An ERD Example: CD’s Relationships Expanded

An Intersection Entity Example A CD may be a part of many orders. An order may contain many CDs. The CD-order relationship is M:M. Where do you store quantity of CD’s on an order?

Adding Intersection Entities 1.Create an intersection entity (line item). 3. The “1” side goes on the original entities. 2.Move the “M’s” are adjacent to the intersection entity.

M:N to 1:Ms Rule: The M always go to the intersection entity. Why?

Creating An Entity- Relationship Diagram

Steps in Building Data Models 1.Review existing data models 2.Define entities a.Independent b.Dependent, including Intersection entities 3.Define attributes and keys (primary, foreign) 4.Define relationships 5.Finalize ERD 6.Normalize 7.Integrate data models as required 8.Verify completeness of the data model 9.Validate the data model a.With users b.With the enterprise’s data administrator

Design Guidelines Best practices rather than rigid rules Entities should have many instances (don’t include fixed items such as stationery headings) Avoid unnecessary attributes (outside the scope of your system) Apply correct cardinality and modality Labels reflect common business terms Assumptions should be clearly stated

Summary The ERD is the most common technique for drawing data models. The building blocks of the ERD are: –Entities (nouns), describe people, places, or things –Attributes (nouns), capture information about the entity –Relationships (active verb sentences) associate data across entities; they have cardinality and modality

End of Slides - Extra slides follow

Metaphors ER ModelRelational Model DatabaseSpreadsheet EntityRelationTable, FileTable InstanceTupleRecordRow Attribute FieldColumn IdentifierKey

Identifiers An identifier should have the following characteristics: –Its value should not change over the life of each instance –Its value should never be “null” or empty –It should be composed of the minimal number (preferably one) of attributes required to ensure uniqueness

Some Ways to Depict Relationships Entity 1Entity 2 Entity 1Entity 2 Entity 1Entity 2 1:1 1:M 1:0 or M

Data Modeling To identify entity types, look for nouns in the requirements Customers will access the Internet sales system to look for CDs of interest. Some customers will search for specific CDs or CDs by specific artists, whereas other customers want to browse for interesting CDs in certain categories (e.g., rock, jazz, classical). When the customer has found all the CDs he or she wants, the customer will check out by providing personal information regarding the order (e.g., the CDs to purchase and quantity for each item). The system will verify the customer’s credit card information with an on-line credit card clearance center and either accept the order or reject it. - Dennis & Wixom, p.159