+ All Categories
Home > Education > HSC Context and data flow diagrams ( DFD )

HSC Context and data flow diagrams ( DFD )

Date post: 09-May-2015
Category:
Upload: greg-robertson
View: 16,015 times
Download: 4 times
Share this document with a friend
Description:
Context and data flow diagrams dfd
22
text & Dataflow Diagr
Transcript
Page 1: HSC Context and data flow diagrams ( DFD )

HSC IPT

Context &

Dataflow

Diagrams

Page 2: HSC Context and data flow diagrams ( DFD )

CONTEXT DIAGRAM

Page 3: HSC Context and data flow diagrams ( DFD )

A context diagram is a graphical method of representing using a single process together with inputs and outputs (external entities)

Three symbols only exist•The process;

•The data flow;

•The external entity.

Entity

Process

Page 4: HSC Context and data flow diagrams ( DFD )

Entity Process

EntityData flowData flow

A context diagram

Page 5: HSC Context and data flow diagrams ( DFD )

Student

UseSearch engine

StudentKeywordURL

A context diagram

Student searches the internet

Page 6: HSC Context and data flow diagrams ( DFD )

Create a context diagram for:

1.Searching an online telephone database.

2.Use of an ATM.3.Use self server check out.

Page 7: HSC Context and data flow diagrams ( DFD )

DFD

DFD

DFDDFD

DFD

DFDDFD

DFD

Page 8: HSC Context and data flow diagrams ( DFD )

A DFD is a graphical method of Representing a system using a number of processes together with

• inputs; • outputs; • storage.

Page 9: HSC Context and data flow diagrams ( DFD )

Process

The 4 main symbols used to show : the process;

the data flow;

the data store;

the external entity.

DatabaseDatastore

ExternalEntity

Page 10: HSC Context and data flow diagrams ( DFD )

Customer

SearchCustomer

details

details Call number

Call details

A data flow diagram

Database

Page 11: HSC Context and data flow diagrams ( DFD )

Customer

Order is processed

Customer

order

Invoice & book

Customer & order details

invoice

A data flow diagram

Database invoice is generated

and sent

Page 12: HSC Context and data flow diagrams ( DFD )

student

Use searchengine

Load website

DatabaseOf website

keyword

keywordURL

URL

A data flow diagram search for image

Project

graphic

Page 13: HSC Context and data flow diagrams ( DFD )

A video store is considering installing a ‘self-checkout’ system where customerscan borrow videos by scanning their membership cards and videos and pay byEFTPOS.

A ‘self-checkout’ transaction has three steps:• membership validation;• borrowing limit check;• payment processing.

For membership validation the barcode on the membership card is used toaccess the member database to find a match. The customer proceeds to thescanning of videos if the membership is valid, otherwise a message is displayed.

Using the video barcode data and details from the member database, the system checks that no more than six videos are borrowed. A message is displayed if the limit is exceeded.

Payment processing involves the calculation of borrowing charges, the scanningof the customer’s EFTPOS card, the entry of a personal identification numberand the electronic communication of these details to the financial institution.Video charges are obtained from the video database via the video barcodes.Transaction details are written to the transaction file for each video borrowed.

Page 14: HSC Context and data flow diagrams ( DFD )

(i) Draw a dataflow diagram with the three processes that represents this proposed ‘self-checkout’ system, ensuring that you show external entities and data stores. (Refer standards package section 2 Q.25)

Page 15: HSC Context and data flow diagrams ( DFD )

Create a data flow diagram for the borrowing of a book.

STEPS I TAKE WHEN CREATING SUCH A TOOL.

1. Decide upon the:• processes , • entities, • dataflow • storage.2. Draw rough diagram adding the:• processes , • entities, • dataflow • storage.3. Label as you go.

Page 16: HSC Context and data flow diagrams ( DFD )

Create a data flow diagram for the borrowing of a book:

EntityEntity ProcessesProcesses Data flowData flow

borrowerborrower Search d/b of borrowers Search d/b of borrowers for borrowing eligibilityfor borrowing eligibility

Borrowers details & Borrowers details & book requestbook request

Search d/b for details of Search d/b for details of requested bookrequested book

Information about Information about borrowerborrower

Locate book, scan book Locate book, scan book & user bar code& user bar code

Information about Information about booksbooks

Update borrower & book Update borrower & book recordsrecords

Information about Information about library transactionslibrary transactions

Result of d/b Result of d/b searchsearch

StorageStorage D/b of borrowers, books D/b of borrowers, books & library transactions& library transactions

Page 17: HSC Context and data flow diagrams ( DFD )

Process

Process

Process

Process

borrower

Database1

2

3

4

5

6

7

89

10

6

Page 18: HSC Context and data flow diagrams ( DFD )

Create a data flow diagram for the:

1.Searching of an online telephone database.

2.Use of an ATM.

3.Use self server check out.

Page 19: HSC Context and data flow diagrams ( DFD )

A video store is considering installing a ‘self-checkout’ system where customerscan borrow videos by scanning their membership cards and videos and pay byEFTPOS.

A ‘self-checkout’ transaction has three steps:• membership validation;• borrowing limit check;• payment processing.

For membership validation the barcode on the membership card is used toaccess the member database to find a match. The customer proceeds to thescanning of videos if the membership is valid, otherwise a message is displayed.

Using the video barcode data and details from the member database, the system checks that no more than six videos are borrowed. A message is displayed if the limit is exceeded.

Payment processing involves the calculation of borrowing charges, the scanningof the customer’s EFTPOS card, the entry of a personal identification numberand the electronic communication of these details to the financial institution.Video charges are obtained from the video database via the video barcodes.Transaction details are written to the transaction file for each video borrowed.

Page 20: HSC Context and data flow diagrams ( DFD )

(i) Draw a dataflow diagram with the three processes that represents this proposed ‘self-checkout’ system, ensuring that you show external entities and data stores. (Refer standards package section 2 Q.25)

Page 21: HSC Context and data flow diagrams ( DFD )
Page 22: HSC Context and data flow diagrams ( DFD )

http://www.getahead-direct.com/gwbadfd.htmhttp://www.agilemodeling.com/artifacts/dataFlowDiagram.htmhttp://www.cems.uwe.ac.uk/~tdrewry/dfds.htmhttp://spot.colorado.edu/~kozar/DFDtechnique.htmlhttp://www.infoarchgroup.com/qrdfd.htm

Link to DFD tutorials


Recommended