LOGIC-DEFINITION-coursepack2010-2011

LOGIC-DEFINITION-coursepack2010-2011 - SOLUTIONS TO LOGIC...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
SOLUTIONS TO LOGIC DEFINITION EXAMPLES 1. PURCHASING DEPARTMENT R1 R2 R3 R4 R5 R6 R7 C1: AMOUNT .GE. 15 M N N Y Y Y Y Y C2: VENDOR IS ON THE LIST Y N - N Y Y Y C3: 3 OR MORE PROPOSALS FOR BIDS - - N Y Y Y Y C4: VENDOR HAS NO VIOLATIONS - - - - Y Y N C5: PROPOSAL IS COMPLETE - - - - Y N - A1: APPROVE PURCHASE X X A2: DO NOT APPROVE PURCHASE X X X A3: SEND FOR BIDDING X X X X X A4: POSTPONE PURCHASE X X TOPICS TO COVER Correspondence to a DFD Process : decide on purchase Inputs: conditions amount, proposal for bid (from external entity "vendor") vendor ID and vendor violations from data store "list of vendors" outputs: actions approved purchase disapproved purchase postponed purchase bid to external entity "vendor" 1 DESC 481-Dr. M. Buyukkurt
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2. PREMIUM AIRLINES R1 R2 R3 R4 R5 R6 C1: Mileage greater than or equal to 500 Y Y Y Y N N N N C2: Saturday Y N Y N Y N Y N C3: Number of flights 10 or more in a Y Y N N Y Y N N A1: let points equal actual mileage X X
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

LOGIC-DEFINITION-coursepack2010-2011 - SOLUTIONS TO LOGIC...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online