Information Systems System Analysis 421 Class Eight.

Slides:



Advertisements
Similar presentations
Chapter 9 Structuring System Requirements: Logic Modeling
Advertisements

Chapter 8 Logic Requirements
Systems Analysis Requirements structuring Process Modeling
Chapter 8 Structuring Requirements Logic Modeling.
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
Chapter 7 Structuring System Process Requirements
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall.
Logic Modeling. Learning Objectives Use Structured English as a tool for representing steps in logical processes in data flow diagrams Use Structured.
Chapter 9 Describing Process Specifications and Structured Decisions
Decision Trees. Modeling Logic with Decision Trees A graphical representation of a decision situation Decision situation points are connected together.
Structuring System Requirements: Process Modeling
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
CHAPTER 9: Structuring System Requirements: Logic Modeling
Logic Modeling Data flow diagrams do not show the logic inside the processes Logic modeling involves representing internal structure and functionality.
Jump to first page Chapter 2c System Analysis - Logic Modeling.
Kendall & KendallCopyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 9 Kendall & Kendall Systems Analysis and Design, 9e Process Specifications.
Process Descriptions: Logic Modeling
Modeling the Processes and Logic
© 2005 by Prentice Hall Chapter 9 Structuring System Requirements: Logic Modeling Modern Systems Analysis and Design Fourth Edition.
Kendall & KendallCopyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 9 Kendall & Kendall Systems Analysis and Design, 9e Process Specifications.
Logic Modeling MIS 322. Why do we need Logic Modeling? Lets look at the following DFD.
Chapter 9 Structuring System Requirements: Logic Modeling
© 2005 by Prentice Hall Chapter 8 Structuring System Logical Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 6.1.
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 6.1.
MBI 630: Class 6 Logic Modeling 9/7/2015. Class 6: Logic Modeling Logic Modeling Broadway Entertainment Co. Inc., Case –Group Discussion (Handout) –Logic.
Chapter 8 Structuring System Requirements: Logic Modeling
© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 1 Modelling Logic Requirements (Textbook Chapter 8)
Chapter 9 Describing Process Specifications and Structured Decisions
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Essentials of Systems Analysis and Design Fourth Edition Joseph S. Valacich Joey F.
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 8 Slide 1 Chapter 8 Structuring System Logical Requirements.
8. PROCESS DESCRIPTION System Analysis And Design Program: BSCS II (Advent Semester – 2014) Lecturer: Rebecca Asiimwe
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
Chapter 8 Structuring System Logical Requirements.
Systems Analysis and Design for the Small Enterprise section III Process design.
Business Analysis Information determination Information specification Alternative generation and selection.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter 5 Structuring.
Cis339 Modern Systems Analysis and Design Fifth Edition Chapter 8 Structuring System Logic Requirements: 8.1.
© 2005 by Prentice Hall Chapter 9 Structuring System Requirements: Logic Modeling Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey.
1 Information System Analysis Topic-3. 2 Entity Relationship Diagram \ Definition An entity-relationship (ER) diagram is a specialized graphic that illustrates.
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Copyright © 2011 Pearson Education Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall & Kendall Global Edition 9.
Modern Systems Analysis and Design Fourth Edition Chapter 8 Structuring System Logical Requirements (process description)
McGraw-Hill/Irwin Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 5 Modeling the Processes and Logic.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 9 Structuring.
MIS 360: System Analysis and Design Dr. Qasem Al-Radaideh Department of Computer Information Systems Faculty of Information Technology Yarmouk University.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall.
Chapter 6 Structuring System Requirements: Process Modeling
Chapter 8 Structuring System Logical Requirements
Business System Development
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 2 : Data Flow Diagram
Process & Logic Modeling
Chapter 6 Structuring System Requirements: Process Modeling
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 9 Structuring System Requirements: Logic Modeling
CIS 210 Systems Analysis and Development
Chapter 8 Logic Requirements
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 9 Structuring System Requirements: Logic Modeling
Information Systems Development MIS331
Chapter 7: Data Flow Diagram Structuring System Process Requirements
Chapter 8 Structuring System Logical Requirements
Chapter 11 Describing Process Specifications and Structured Decisions
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 9 Structuring System Requirements: Logic Modeling
Presentation transcript:

Information Systems System Analysis 421 Class Eight

Class Exercise –A.BadMouth Press works with several different authors who write the books it publishes. Some authors have written only one book, while others have written many; also, some books are co-author by multiple authors. BadMouth also works with multiple printers; each book, though, is printed by only one printer. An editor at BadMouth Press works with several authors at a time, editing and producing their book projects; it is the editor's job to turn over the final camera-ready copy to the printer when the manuscript has been copy edited and typeset.

Class Exercise Book Book ID (PK) Book Desc Author Author ID (PK) Author Name Author Addr Editor Editor ID (PK) Editor Name Editor Addr e Printer Printer ID (PK) Printer Name 1. Identify the entities Writes

Class Exercise 1. Review Relationships Books written by many authors Books only have one printer Editors work for multiple authors Author Author ID (PK) Author Name Author Addr Book Book ID (PK) Book Desc Printer ID(FK) Author/Book Auth-book (PK) Author ID(FK) Book ID (FK) Printer Printer ID (PK) Printer Name Writes Written Prints Printed By Editor Editor ID (PK) Editor Name Editor Addr Editor/Author Edit-auth (PK) Editor ID(FK) Author ID (FK) Edits Has editing

Class Exercise A.SkyHigh Airlines has three major resources: airplanes, pilots, and crew members. Pilots and crew members have respective home bases, which they return at the end of an assigned flight. A flight must have at least one pilot and one or more crew members attached to an airplane. Each airplane has a maintenance base.

Class Exercise Main Base Main Base ID (PK) Main Base place Home Base Home Base ID (PK) Home Base Place 1. Identify the entities Pilot Pilot ID (PK) Pilot Name Airplane Airplane ID (PK) Airplane type Crew Crew ID (PK) Crew Name Crew Addr Flight Flight ID (PK) Flight date

Class Exercise Pilot Pilot ID (PK) Pilot Name Home Base (FK) Airplane Airplane ID (PK) Airplane type Main Base(FK) Crew Crew ID (PK) Crew Name Crew Addr Home Base(FK) Flight Flight ID (PK) Flight date 2. When there is a 1-1 relationship no association table is necessary Home Base HmeBaseID (PK) Home Base Place Main Base Main Base ID (PK) Main Base place R esides Flight Flight info(PK) Flight Id (FK) Crew ID (FK) Pilot ID(FK) Airplane ID (FK) Flys Schedule d Planned

Learning Objectives Use Structured English as a tool for representing steps in logical processes in data flow diagrams Use decision tables and decision trees to represent the logic of choice in conditional statements Select among Structured English, decision tables, and decision trees for representing processing logic Logic modeling and Internet applications 9.8

Logic Modeling Data flow diagrams do not show the logic inside the processes Logic modeling involves representing internal structure and functionality of processes depicted on a DFD Logic modeling can also be used to show when processes on a DFD occur 9.9

Logic Modeling Deliverables and Outcomes –Structured English –Decision Tables –Decision Trees –State-transition diagrams –Sequence diagrams –Activity diagrams 9.10

Modeling Logic with Structured English Modified form of English used to specify the logic of information processes Uses a subset of English –Action verbs –Noun phrases –No adjectives or adverbs No specific standards 9.11

Modeling Logic with Structured English Similar to programming language –If conditions –Case statements Figure 9-3 shows Structured English representation for Hoosier Burger 9.12

Modeling Logic with Decision Tables A matrix representation of the logic of a decision Specifies the possible conditions and the resulting actions Best used for complicated decision logic 9.13

Modeling Logic with Decision Tables Consists of three parts –Condition stubs Lists condition relevant to decision –Action stubs Actions that result from a given set of conditions –Rules Specify which actions are to be followed for a given set of conditions 9.14

Modeling Logic with Decision Tables Indifferent Condition –Condition whose value does not affect which action is taken for two or more rules Standard procedure for creating decision tables –Name the condition and values each condition can assume –Name all possible actions that can occur –List all rules –Define the actions for each rule –Simplify the table 9.15

Figure 9-4 Complete decision table for payroll system example 9.16

Modeling Logic with Decision Trees A graphical representation of a decision situation Decision situation points are connected together by arcs and terminate in ovals Two main components –Decision points represented by nodes –Actions represented by ovals 9.17

Modeling Logic with Decision Trees Read from left to right Each node corresponds to a numbered choice on a legend All possible actions are listed on the far right 9.18

Figure 9-9 Decision tree representation of the decision logic in the decision tables in Figures 9-4 and 9-5, with only two choices per decision point 9.19

Deciding Among Structured English, Decision Tables and Decision Trees Best Third BestChecking Consistency and Completeness BestThird BestBestTransforming Conditions and Actions into Sequence BestThird BestSecond BestDetermining Conditions and Actions Decision Trees Decision Tables Structured English Criteria 9.20

Structure English Modified English No formal dictionary Just nouns and verbs (no adjectives or adverbs) Used for describing processing logic Common referred to as psuedocode but is kept simple so end users can follow

Logic Models Structured English –relies on action verbs and nouns Decision tables Decision trees

Structure English Build it from the DFD describing each of the DFD processes Only need to do for your lowest level DFDs Describes how the process changes the inputs to outputs Verify that Structured English uses the same inputs and outputs as your DFD

Structure English We have salaried and hourly employee –Salary employees get paid overtime after 50 hours –Hourly employees are paid straight pay If they work over 40 hours they get time and a half If they work second shift they get a differential If they work third shift they get hazard pay If they work Sunday but did not work 40 hours for the week they get double time If they work Sunday and did work 40 hours they get overtime If they were on vacation that counts as working If they drive a blue car and have green eyes they get no pay

Structure English Payroll info Produce Absent Report 2.4 Determine Employee Salary/Hourly 2.1 Determine Number Hrs work and pay rate 2.2 Calculate Pay Amount 2.3 Salary status Hours worked Salary status Paycheck amount Employee Salary status Hours worked

Process 2.1 –read payroll information –until employee found –get salary status Process 2.2 –read payroll information –until employee found –get hours worked –get pay rate Process 2.3 –if salary status is salaried, then pay at pay rate –else case worked <40 hours –do pay = rate * hours –do absence report routine worked 40 hours –do pay = rate * hours worked >40 hours –do pay = (rate * 40) + ((hours - 40) * rate * 1.5) Process 2.4 –collect absence reasons –produce report –send report Structure English

A matrix representation of the logic of a decision. Three constructs: –Condition Stubs: the part of the table that lists conditions relevant to the decision or policy –Action Stubs: the part of the table that lists the action results for a given set of conditions –Rules: the part of the decision table that summarizes the set of actions to be followed Advantage of decision tables –Easier to understand –Cover all conditions –Easier to translate into computer code –More clearly thought out Decision Tables

A graphical technique that depicts decisions or choices. Steps in decision tables –Identify the condition and values –Determine the maximum number of rules –Identify the possible actions –Enter all possible rules –Define the action for each rule –Verify the policy –Simplify the decision tree Decision Tables

Figure 9-4 Complete decision table for payroll system example 9.29

Summary Several methods of logic modeling –Structured English Primarily communication technique for analysts and users –Decision Tables Conditions are listed in condition stubs Possible actions are listed in action stubs Rules link conditions with actions 9.30

Summary Decision Tables –Lists all possible rules Decision Trees –Conditions are portrayed by decision points –Values are represented by paths between decision points and ovals that contain actions 9.31

Summary Comparison of Structured English, Decision Tables and Decision Trees –Most studies show that decision trees are best for many criteria –There is no best technique –Analyst must be proficient in all three 9.32