1 / 17

MBI 630: Class 6 Logic Modeling

MBI 630: Class 6 Logic Modeling. 1/3/2020. Class 6: Logic Modeling. Logic Modeling Broadway Entertainment Co. Inc., Case Group Discussion (Handout) Logic Modeling. Logic Modeling. Data flow diagrams do not show the logic inside the processes

jacksonsean
Download Presentation

MBI 630: Class 6 Logic Modeling

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MBI 630: Class 6Logic Modeling 1/3/2020

  2. Class 6: Logic Modeling • Logic Modeling • Broadway Entertainment Co. Inc., Case • Group Discussion (Handout) • Logic Modeling

  3. 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 6.3

  4. Logic Modeling • Structured English • If conditions • Case statements • Loop • Decision Tables • Decision Trees

  5. 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 6.5

  6. Modeling Logic with Structured English • Similar to programming language • If conditions • Case statements 6.6

  7. 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 6.7

  8. Modeling Logic withDecision 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 6.8

  9. 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 (combination of rules) • Define the actions for each rule • Simplify the table 6.9

  10. Figure 7-18Complete decision table for payroll system example 6.10

  11. 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 6.11

  12. 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 6.12

  13. Figure 2Decision tree representation of the decision logic in the decision tables in Figures 8-4 and 8-5, with only two choices per decision point 6.13

  14. Example: “Favorite Picks”BEC Case (see p. 263) • Outline the logic • Normal Procedure • Selection/Decision • If something is wrong, what the system should do? • Select IF/WHILE/CASE statements • Create Structured English • Translate into Decision Tree (or table)

  15. Outline of Logic • Employee logs in the system (enter username and password) • If failed, go back to start • Search the product (enter text search) • If no match, go back to select product • If multiple match, show the list of products • Select Product • Input comments about the favorite pick • Saves the input to a database • Employee logs out

  16. Structured English Process 8.0: Enter/Update Favorite Picks (Structured English) DO ENTER Employee number and password BEGIN IF IF No Employee exists OR Employee number and password does not match THEN DISPLAY Message and enter new Employee number and password ELSE DISPLAY Search Text Box END IF DO ENTER text to search for BEGIN IF IF No product exists THEN DISPLAY Message and select new product ELSE DO DISPLAY Product List END IF UNTIL Select product from the List ENTER COMMENT on the pick Change pick status to active (can be viewed by all customers now) SAVE pick record UNTIL no more picks need to be entered

  17. Decision Tree (Partial) • Employee Exists • Password matches the data for the Employee Number Yes Yes Display Search box 1 2 No No Display “Employee number was not found”; Exit Option or Start Again Display “Password does not match with the data”; Exit Option or Start Again

More Related